Announcements
Responses
200
Successful response
application/json
500
Internal server error
application/json
get
/announcements/activeGET /api/v2/announcements/active HTTP/1.1
Host: api.ethos.network
Accept: */*
[
{
"id": 1,
"title": "text",
"description": "text",
"imageUrl": "text",
"actionButtonLabel": "text",
"actionButtonUrl": "text",
"startDateTime": "text",
"endDateTime": "text",
"status": "ACTIVE",
"createdAt": "text",
"updatedAt": "text",
"authorAvatarUrl": "text"
}
]Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idnumberRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
/announcements/{id}/viewedPOST /api/v2/announcements/{id}/viewed HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"ok": true
}Last updated