Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P Portal-api
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • doc
  • Portal-api
  • Wiki
  • Home

Home · Changes

Page history
Update home authored Apr 11, 2022 by Jurjen Brouwer's avatar Jurjen Brouwer
Show whitespace changes
Inline Side-by-side
Showing with 7 additions and 1 deletion
+7 -1
  • home.md home.md +7 -1
  • No files found.
home.md
View page @ 62c2fb0e
......@@ -23,14 +23,17 @@ https://portal.robotsindeklas.nl/API/v1
Please note that you should use the POST method for your request unless indicated otherwise.
### 2.3 Parameters
The parameters for the requests should be defined in the body of the request in JSON format.
To send the required parameters for your request, please put them in the body of the request in JSON format.
### 2.4 Requesting token
To access the public API, we first have to authorize ourselves by getting a valid token to perform the desired actions. A token can be requested by making a POST request to:
```
https://portal.robotsindeklas.nl/API/v1/auth/getToken
```
In the body of the request, enter the following details:
```
{
"username": "USERNAME",
......@@ -40,6 +43,7 @@ https://portal.robotsindeklas.nl/API/v1/auth/getToken
```
Example:
```
{
"username": "Pietje",
......@@ -48,8 +52,10 @@ Example:
}
```
If a valid combination of username, password, and the domain is given, a **bearer token** is returned which can be used to authorize the public API requests.
### 2.5 Items
The logic of the API is divided into a number of items.
- app
- folder
......
Clone repository
  • App API
  • Folder API
  • Group API
  • Robot API
  • User API
  • Home