GET
/
uptime
/
status-pages
curl --request GET \
  --url https://api.phare.io/uptime/status-pages \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 1,
      "project_id": 1,
      "name": "Phare status",
      "slug": "phare",
      "title": "Phare status",
      "description": "Status page of phare.io",
      "search_engine_indexed": true,
      "website_url": "https://phare.io",
      "colors": {
        "operational": "#16a34a",
        "degradedPerformance": "#fbbf24",
        "partialOutage": "#f59e0b",
        "majorOutage": "#ef4444",
        "maintenance": "#6366f1"
      },
      "components": [
        {
          "componentable_type": "App\\Models\\Uptime\\Monitor",
          "componentable_id": 123
        }
      ],
      "logo_url": "https://cdn.phare.io/media/b1955080-c015-43c4-ba73-c907c49e839e/conversions/DBP2AUPCsK1p5ZSY8G40uVfKP6oIdwEPTF6Qq1N7-fitted.webp",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "current_page": 2,
    "from": 11,
    "to": 20,
    "per_page": 100,
    "path": "{domain}/api/v1/{resource}?page=2"
  },
  "links": {
    "first": "{domain}/api/v1/{resource}?page=2",
    "last": "{domain}/api/v1/{resource}?page=10",
    "prev": "{domain}/api/v1/{resource}?page=1",
    "next": "{domain}/api/v1/{resource}?page=1"
  }
}
Please be aware that the Phare API is currently in beta and is subject to change.

Authorizations

Authorization
string
headerrequired

Use a user token to access authenticated routes. The token must be specified in the Authorization HTTP header with the following format 'Authorization: Bearer <token>'.

Query Parameters

page
integer
default: 1

Page number to show

per_page
integer
default: 20

Number of ressources to return per page

Response

200 - application/json
data
object[]
meta
object

Meta data for pagination

links
object

Links for pagination