Announcements
Get Announcement
GET
/api/content/announcements/{announcement_id}Overview
Endpoint for get announcement.
Requirements
- Header:
API-Version: 1 - Authentication:
Authorization: Bearer <token>(if protected)
Parameter
Path
announcement_idstringwajibUnique identifier of the platform announcement notice.
Respons
200 Successful Response
idstringwajibtitlestringwajibcontentstringwajibseverityenumwajibinfowarningcriticalstatusenumwajibdraftpublishedstarts_atstring (date-time) | nullwajibends_atstring (date-time) | nullwajibpublished_atstring (date-time) | nullwajibcreated_bystringwajibcreated_by_namestring | nullwajibupdated_bystring | nullwajibupdated_by_namestring | nullwajibcreated_atstring (date-time)wajibupdated_atstring (date-time) | nullwajib{
"id": "string",
"title": "string",
"content": "string",
"severity": "info",
"status": "draft",
"starts_at": "2026-01-01T00:00:00Z",
"ends_at": "2026-01-01T00:00:00Z",
"published_at": "2026-01-01T00:00:00Z",
"created_by": "string",
"created_by_name": "string",
"updated_by": "string",
"updated_by_name": "string",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
} 400 Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).
401 Unauthorized - Missing, invalid, or expired JWT Bearer token.
403 Forbidden - Insufficient role permissions or resource access denied by RBAC policy.
404 Not Found - The requested resource ID was not found.
422 Validation Error
detailobject[]detail[].locstring | integer[]wajibdetail[].msgstringwajibdetail[].typestringwajibdetail[].inputobjectdetail[].ctxobject{
"detail": [
{
"loc": [
null
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Contoh
curl -X GET "$PINTER_URL/api/content/announcements/ann_maint_2026_vector_db" \
-H "Authorization: Bearer $ACCESS_TOKEN"