Announcements

Create an announcement

Create a new announcement. Requires bearer token authentication.

post/v5/announcements

Request body

authorstring
titlestring required
contentstring
tagsstring[] required
created_atstring date-time nullable

UTC timestamp. Defaults to current time if omitted.

archived_atstring date-time nullable

UTC timestamp.

levelinteger

Example request

{
  "author": "ReVanced",
  "title": "Welcome",
  "content": "Some content",
  "tags": [
    "Important"
  ],
  "created_at": "1970-01-01T00:00:00.000Z"
}

Response

The created announcement.

idinteger required
authorstring nullable required
titlestring required
contentstring nullable required
tagsstring[] required
created_atstring date-time required
archived_atstring date-time nullable required
levelinteger required

Example response

{
  "id": 1,
  "author": "ReVanced",
  "title": "Welcome",
  "content": "Some content",
  "tags": [
    "Important"
  ],
  "created_at": "1970-01-01T00:00:00.000Z"
}

Changes

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