Send announcement to device from Link
Send announcement to device from Link or other server. Announcement will be displayed in the messaging app. When user open the message - device must send confirmation to Link.
Please check Link API reference for expected responces https://app.swaggerhub.com/apis-docs/basip/link-server-api/1.0.0#/Secured/post_devices_announce_response
- application/json
Request Body required
- author string
Possible values:
<= 191 characters
Author of the message on the server
- body string
Body of the mesage
- type string
Possible values: [
info
]Type of the message, currently only info available
- subject string
Possible values:
<= 191 characters
Subject of the message
- announce_token uuid
Possible values:
<= 50 characters
Message token, used as a unique identifier for the message on the server
Responses
- 200
- 400
- 401
OK
Wrong JSON body
- application/json
- Schema
- Example (from schema)
Schema
- error string
{
"error": "Wrong JSON body"
}
Please log in
- application/json
- Schema
- Example (from schema)
Schema
- error string
{
"error": "Log In"
}
Loading...