Get Link announcements
Returns the list of announcements (polls and info messages) received from Link.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
list_items object[]
Announcement list
author stringAnnouncement title
body stringAnnouncement content
type stringPossible values: [
poll,info]Announcement type
subject stringAnnouncement subject
payload stringJSON encoded announcement payload containing question and answers options
token uuidUnique identifier
is_read booleanDescribes whether the announcement was viewed by the user
date int64Announcement creation timestamp
{
"list_items": [
{
"author": "Administrator",
"body": "Body of the announcement",
"type": "poll",
"subject": "Subject information",
"payload": "{\"questions\":[{\"id\":11231,\"text\":\"Question\"}],\"poll_multi_answers_allowed\":true,\"poll_user_answer_allowed\":true}",
"token": "91c615e3-1040-4815-8ecb-039a18b756b5",
"is_read": false,
"date": 1630576243560
}
]
}
{
"list_items": [
{
"author": "Administrator",
"body": "Detailed information of the announcement",
"type": "poll",
"subject": "Subject information",
"payload": "{\"questions\":[{\"id\":11231,\"text\":\"Question\"}],\"poll_multi_answers_allowed\":true,\"poll_user_answer_allowed\":true}",
"token": "e6169a4a-cdea-44ba-8adb-01331ba8467c",
"is_read": true,
"date": 1630576243560
},
{
"author": "Administrator",
"body": "Detailed information of the announcement",
"type": "info",
"subject": "Subject information",
"payload": "{}",
"token": "e6169a4a-cdea-44ba-8adb-01331ba8467d",
"is_read": false,
"date": 1630576243560
}
]
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...