Status Page

Replace a status page's public URL; the old URL returns 404 immediately

Changed on
post/status-pages/{status_page_id}/rotate-url

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

status_page_idinteger required

Status page ID

Response

Public URL replaced

created_atstring date-time required
descriptionstring nullable
has_passwordboolean required

Visitors need a password to read the page (ADR 108 D2). The password itself is never returned.

idinteger required
is_publishedboolean required
public_feed_urlstring nullable

Atom feed of the page's public updates. None when public_url is, or while the page is password-protected (it has no feed then).

public_json_pathstring required

Path of the machine-readable form (/api/status/{slug}/summary.json); always present, like public_path.

public_json_urlstring nullable

Machine-readable form of the public page. None exactly when public_url is.

public_pathstring required

Path of the public HTML page (/api/status/{slug}), on any address this install's public listener is reachable at. Always present, so a client can build the link itself when public_url is None because no public URL is configured.

public_urlstring nullable

Public HTML page. Serves 404 while the page is unpublished. None when this install has no public address to build it from; see public_url_status for why and where to fix it. Temps never invents a host for it.

published_atstring date-time nullable
slugstring required

Unguessable token in the public URL.

titlestring required
updated_atstring date-time required

Example response

{
  "public_json_path": "/api/status/3f9c1a7e2b/summary.json",
  "public_path": "/api/status/3f9c1a7e2b",
  "public_url_status": {
    "reason": "Public URL is not configured.",
    "setup_path": "/settings#public-ingress"
  }
}

Changes

    • info

      added the required property public_json_path to the response with the status

    • info

      added the required property public_path to the response with the status

    • info

      added the optional property public_feed_url to the response with the status

    1 more change in this revision