announcements

Mark announcement as viewed

Record that a user has viewed or dismissed an announcement. This operation is idempotent.

post/announcements/{id}/view

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:ann_2025_11_release_ios_2_0_0

Announcement ID following the format: ann_YYYY_MM_<title>

Request body

action'viewed' | 'dismissed'

Action type for the announcement view

sourcestring

Source or context where the announcement was viewed

viewed_atstring date-time

Timestamp when the announcement was viewed

Example request

{
  "action": "viewed",
  "source": "mobile_app",
  "viewed_at": "2025-12-03T10:30:00Z"
}

Response

Announcement successfully marked as viewed

Changes

No recorded changes to this operation across all 1 revision of this API.