Get Link announcements
Returns a list of announces (poll / info)
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- list_items object[]
{
"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
},
"announce_token": "e6169a4a-cdea-44ba-8adb-01331ba8467c",
"is_read": false
}
]
}
{
"list_items": [
{
"author": "Administrator",
"body": "Detailed information of the announcement",
"type": "poll",
"subject": "Subject information",
"payload": {
"questions": [
{
"id": 1,
"text": "Case 1"
},
{
"id": 2,
"text": "Case 2"
}
],
"poll_multi_answers_allowed": true,
"poll_user_answer_allowed": true
},
"announce_token": "e6169a4a-cdea-44ba-8adb-01331ba8467c",
"is_read": true
},
{
"author": "Administrator",
"body": "Detailed information of the announcement",
"type": "info",
"subject": "Subject information",
"announce_token": "e6169a4a-cdea-44ba-8adb-01331ba8467d",
"is_read": false
}
]
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...