Pinter
ENID
Announcements
Lihat sebagai Markdown

List Active Announcements for User Chat Banners

GET/api/content/announcements/active

Overview

Retrieves published notices currently active within their scheduled timeframe, sorted by severity (critical, warning, info).

Authentication & Headers

  • Auth: Bearer Token
  • Required Header: API-Version: 1

Respons

200 Currently active notices

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 Unprocessable Entity - Schema validation failed for request payload or parameters.

Contoh

curl -X GET "$PINTER_URL/api/content/announcements/active" \
  -H "Authorization: Bearer $ACCESS_TOKEN"