Skip to content

Get announcement

GET
/api/announcements/{id}

Get a specific announcement by id. This is used in announcement page.

Parameters

Path Parameters

id*

Id of the announcement to get.

Type
integer
Required
Example1

Responses

The announcement with identifier id.

application/json
JSON
{
  
"id": 1,
  
"createdAt": "2020-01-29T18:10:16.630Z",
  
"updatedAt": "2020-01-30T22:42:14.789Z",
  
"title": "Announcement title",
  
"announcement": "Announcement text",
  
"visible": true
}

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI