# Status page endpoints

> The public URLs of a status page, its JSON, Atom feed, badge, and logo.

Every public status page has a few URLs anyone can open without signing in. To create a page, add monitors, and post incidents, see [Status pages](/docs/teams/status-pages).

## Endpoints [#endpoints]

| Path | Format | Use it for |
|---|---|---|
| `/s/{slug}` | HTML | The page your customers visit |
| `/s/{slug}/status.json` | JSON | Your own website, app, or dashboard |
| `/s/{slug}/feed.atom` | Atom | Feed readers, Slack feed apps, and Opush itself |
| `/s/{slug}/badge.svg` | SVG | A status badge in a README or docs |
| `/s/{slug}/logo` | PNG, JPEG, or WebP | The page's logo, if it has one |

`{slug}` is the page address you chose, so a page at `https://opu.sh/s/acme` has its JSON at `https://opu.sh/s/acme/status.json`.

With a [custom domain](/docs/teams/status-pages), the same files are at the root of that domain, like `https://status.example.com/status.json`. Once the domain is active, every URL the page produces uses it.

Only `GET` and `HEAD` are supported. An unknown slug returns `404`.

## Language [#language]

The HTML page, Atom feed, and badge come in English, Traditional Chinese, Simplified Chinese, Japanese, Korean, German, French, Spanish, and Arabic.

- Add `?lang=` with `en`, `zh-Hant`, `zh-Hans`, `ja`, `ko`, `de`, `fr`, `es`, or `ar` to pick one.
- Without `lang`, Opush uses the `Accept-Language` header.
- With neither (feed readers often send none), Opush uses the page owner's language.

Your incident text is shown as you wrote it. Only labels like "Operational" are translated.

## status.json [#statusjson]

```bash
curl https://opu.sh/s/acme/status.json
```

```json
{
  "page": {
    "slug": "acme",
    "title": "Acme",
    "description": null,
    "noindex": false,
    "url": "https://opu.sh/s/acme",
    "accent_color": null,
    "website_url": "https://acme.example",
    "logo_url": null,
    "hide_branding": false
  },
  "status": "partial_outage",
  "components": [
    {
      "id": "sub_…",
      "name": "API",
      "kind": "uptime",
      "status": "major_outage",
      "uptime_90d": 99.95,
      "days": [{ "day": "2026-08-07", "uptime": 100 }]
    },
    { "id": "sub_…", "name": "Nightly export", "kind": "heartbeat", "status": "operational", "uptime_90d": null, "days": null }
  ],
  "incidents": { "active": [], "upcoming": [], "recent": [] },
  "outages": [
    { "component": "sub_…", "name": "API", "started_at": "2026-11-04T09:12:00Z", "ended_at": null, "duration_s": 1080 }
  ],
  "updated_at": "2026-11-04T09:30:00Z"
}
```

| Field | Description |
|---|---|
| `page` | Title, description, public `url`, accent color, website link, `logo_url`, and whether the page hides "Status page by Opush" |
| `status` | The overall status |
| `components` | Each monitor on the page, in display order. `kind` is `uptime` or `heartbeat`. `uptime_90d` and `days` (90 days, oldest first, UTC dates) are only filled for website monitors |
| `incidents.active` | Open incidents and maintenance in progress |
| `incidents.upcoming` | Scheduled maintenance that hasn't started |
| `incidents.recent` | Incidents that ended in the last 14 days |
| `outages` | Downtime the monitors recorded in the last 14 days, newest first. `ended_at` is `null` while it's still down |
| `updated_at` | When this response was built |

Status values, for both the page and each component:

| Value | Badge text | Meaning |
|---|---|---|
| `operational` | Operational | Everything works |
| `maintenance` | Maintenance | Scheduled maintenance in progress |
| `degraded` | Degraded | A minor incident is open |
| `partial_outage` | Partial outage | Some components are down (overall only) |
| `major_outage` | Down | The monitor is down, or a major incident is open |

Each incident has `id`, `title`, `impact` (`minor`, `major`, or `maintenance`), `status`, the affected `components`, a list of `updates` (oldest first, each with `at`, `status`, and `message`), `scheduled_start` and `scheduled_end` for maintenance, `created_at`, `resolved_at`, and `origin` (`manual`, or `monitor` when it was posted from a monitor alert or automatically).

Incident statuses are `investigating`, `identified`, `monitoring`, and `resolved`. Maintenance uses `scheduled`, `in_progress`, and `completed`.

The JSON allows requests from any origin, so you can fetch it from browser code:

```js
const res = await fetch("https://opu.sh/s/acme/status.json");
const { status } = await res.json();
document.querySelector("#status").dataset.status = status;
```

The page never shows monitor URLs, error messages, or monitor settings. Outages only show when they started, when they ended, and how long they lasted.

## feed.atom [#feedatom]

An Atom feed with one entry per incident and one per recorded outage, newest first. Each incident update is a line like `<strong>Resolved</strong> - The fix is live.`, the same style Statuspage uses, so most status feed readers understand it.

You can follow any Opush status page in Opush itself: add it as an RSS or status page follow, or tap **Get notified in Opush** on the page.

## badge.svg [#badgesvg]

A small badge with the overall status: green when operational, yellow when degraded or partly down, red when down, and blue during maintenance.

```markdown
[![Status](https://opu.sh/s/acme/badge.svg)](https://opu.sh/s/acme)
```

Add `?lang=zh-Hant` for a Chinese label, or any other language code above for that language.

## Caching [#caching]

| URL | Cache |
|---|---|
| Page, `status.json`, `feed.atom` | 30 seconds |
| `badge.svg` | 60 seconds |
| `logo?v=…` | 1 year. The `v` value changes when the logo changes, so `logo_url` always points to the current image |

The HTML of pages set to `noindex` also sends `X-Robots-Tag: noindex`.
