Start Now

Pages


Edit Page

Request

PATCH /pages/uuid

Parameter

NameTypeDescription
uuidstringRequired -- Page Uuid
namestringPage Name
titlestringTitle of Pages for Status Page (Optional)
slugstringPage Slug
customDomainstringCustom Domain
useGroupsboolIf the uuids of the items belong to groups, this field is true
itemsstring[]Uuids of Monitors or Groups
descriptionstringPage Description
logoFileBase64stringCustom Logo in base64 format
faviconFileBase64stringCustom Favicon in base64 format
googleAnalitycsIdstringGoogle Analitycs ID

Request Payload Example

{
  "name": "Example Site",
  "title": "Title for Example Site",
  "slug": "example",
  "customDomain": "status.example.com",
  "useGroups":false,
  "items": [ "4e0b948c-d558-466f-96f9-6758a2a7b23b", "3a46479a-7b6e-4c60-83b8-3769a22fa81f" ],
  "description": "Page Description",
  "logoFileBase64": "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV...",
  "faviconFileBase64": "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV...",
  "googleAnalitycsId": "GoogleAnalyticsId"
}

Request Curl Example

curl -X PATCH \
-H "Content-Type: application/json" \
-H "Authorization: Bearer d3d6763224e8f54ee5aeb08202b7eb101d97081876819cb48833d9f892185917" \
-d \
  '{
    "name":"Example Site",
    "title":"Title for Example Site",
    "slug":"example",
    "customDomain":"status.example.com",
    "useGroups":false,
    "items":["4e0b948c-d558-466f-96f9-6758a2a7b23b", "3a46479a-7b6e-4c60-83b8-3769a22fa81f"],
    "description":"Page Description",
    "logoFileBase64":
      "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV...",
    "faviconFileBase64":
      "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV...",
    "googleAnalitycsId":"GoogleAnalyticsId"
  }' \
  "https://api.statsignal.dev/v1/pages/6cd3f796-eec0-4891-9892-9dcf19421443"

Response Example

Status: 200 updated

{
  "pages": [
    {
      "uuid": "8965de03-3ebe-463a-9a3f-18db0486ed64",
      "name": "Example Site",
      "title": "Title for Example Site",
      "slug": "example",
      "customDomain": "status.example.com",
      "useGroups":false,
      "items": [
        "4e0b948c-d558-466f-96f9-6758a2a7b23b",
        "3a46479a-7b6e-4c60-83b8-3769a22fa81f"
      ],
      "description": "Page Description",
      "logoFileBase64": "https://statsignal-public-production.s3-us-west-1.amazonaws.com/pages/logos/d8f88bd1-b0ab-475d-a92b-258c5ed2b0d7.png",
      "faviconFileBase64": "https://statsignal-public-production.s3-us-west-1.amazonaws.com/pages/favicons/d8f88bd1-b0ab-475d-a92b-258c5ed2b0d7.png",
      "googleAnalitycsId": "GoogleAnalyticsId",
      "createdAt":"2021-05-13T17:40:04.615602Z",
      "updatedAt":"2021-05-13T18:14:30.411158186Z"
    }
  ]
}
Statsignal - Uptime monitoring and status page | Product Hunt
Statsignal is designed and built by 19 Signals LLC. Copyright ©2021 19 Signals LLC. All rights reserved.