Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DescriptionMethodURLURL Path ParamsURL Query ParamsRequest PayloadReturn
Downlink creationPOST/api/devices/{devId}/downlik
  • devId: Database ID of the device

The Body contains the downlink content.

See also: Downlinks

  • 200 ok
    • Body: Empty
  • error status code
    • Body: information about the error
Device creationPOST/api/



User creationPOST/api/organisation/user--

userInput as JSON :
{
"name": "Eample Test",
"email": "e.test@test.com",
"password": "s0meSecur3Pw",
"roles": ["org-admin","device-admin"]
}

created user JSON:

{

"login":  "e.test@test.com"
  • 200 ok
    • Body: User Json
    • {"data":{"id":17,"createdAt":"2022-07-04T10:59:41.975812+02:00","updatedAt":"2022-07-04T10:59:41.975812+02:00","login

"email
    • ,"name":"Eample Test
"
    • ","email":"e.test@test.com","organisationId":1

 
    • ,"roles":[
"org-admin",
    • "device-admin"]

    • }}
  • error status code
    • Body: information about the error
}