Skip to content
Docs
Esc
↑↓navigate↵open⌘Jpreview

Current updates and banners.

Answers the release notes and banners that apply now.

GET/v1/announcements
Responses
200

Success.

versionstringrequired
min length 1 · max length 64
updatesobject[]required
max items 12
Show properties
Array of object
idstringrequired
min length 1 · max length 64
titlestringrequired
min length 1 · max length 80
bodystringrequired
min length 1 · max length 600
mediaobject | nullrequired
Show properties
Any of:
object
One of:
object
kindstringrequired
urlstring<uri-reference>required

An https URL, or a path on the web app's own origin.

max length 500 · matches ^(https:\/\/|\/(?!\/))
altstringrequired
max length 160
object
kindstringrequired
urlstring<uri-reference>required

An https URL, or a path on the web app's own origin.

max length 500 · matches ^(https:\/\/|\/(?!\/))
posterstring<uri-reference>required

An https URL, or a path on the web app's own origin.

max length 500 · matches ^(https:\/\/|\/(?!\/))
altstringrequired
max length 160
null
null
linkobject | nullrequired
Show properties
Any of:
object
labelstringrequired
min length 1 · max length 40
urlstring<uri-reference>required

An https URL, or a path on the web app's own origin.

max length 500 · matches ^(https:\/\/|\/(?!\/))
null
null
bannersobject[]required
max items 3
Show properties
Array of object
idstringrequired

A new id is a new bar: one a user closed stays closed only while its id is the same.

min length 1 · max length 64
levelstringrequired
Allowed:infowarningcritical
messagestringrequired
min length 1 · max length 200
linkobject | nullrequired
Show properties
Any of:
object
labelstringrequired
min length 1 · max length 40
urlstring<uri-reference>required

An https URL, or a path on the web app's own origin.

max length 500 · matches ^(https:\/\/|\/(?!\/))
null
null
asOfintegerrequired

A point in time: Unix time in whole seconds, UTC.

min 0 · max 9007199254740991
429

Too many requests; retryAfterSeconds says when to ask again.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
500

Server error.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
Try it
Server
Request
curl -X GET 'https://api.lpinvictus.com/v1/announcements' \
  -H 'Accept: application/json'
Response
{
  "version": "string",
  "updates": [
    {
      "id": "string",
      "title": "string",
      "body": "string",
      "media": {
        "kind": "image",
        "url": "../dictionary",
        "alt": "string"
      },
      "link": {
        "label": "string",
        "url": "../dictionary"
      }
    }
  ],
  "banners": [
    {
      "id": "string",
      "level": "info",
      "message": "string",
      "link": {
        "label": "string",
        "url": "../dictionary"
      }
    }
  ],
  "asOf": 1793145600
}

Was this page helpful?