Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: xhostd web Notifications API
version: 0.1.0
tags:
- name: Notifications
paths:
/notifications:
get:
summary: Notifications Page
description: 'The account notification panel.
The page lists what the platform did to the account, and it holds the
one form that marks the rows read.'
operationId: notifications_page_notifications_get
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
tags:
- Notifications
/notifications/seen:
post:
summary: Notifications Seen
description: 'Mark every unseen notification of the caller read.
A plain form and a redirect, the shape of the invite accept and
decline routes. The form carries NO cross-site request forgery (CSRF)
token: ``src/xhost_web/middleware.py::origin_admitted`` refuses a
POST from any other origin before it reaches this route.'
operationId: notifications_seen_notifications_seen_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Notifications
/notifications/seen.json:
post:
summary: Notifications Seen Json
description: 'Mark every unseen notification of the caller read, for the bell.
The XHR sibling of the form route, the `.json` suffix precedent of
`/notifications.json`. It answers 204 with no body, no redirect and
NO flash cookie: the bell must not navigate, and a stray "Marked as
read." message must not appear on the next page the user loads.
It carries NO cross-site request forgery (CSRF) token, like the form
route: ``src/xhost_web/middleware.py::origin_admitted`` refuses a
POST from any other origin before it reaches this route.
A failed upstream call answers 502, and the bell then leaves the
badge as it is.'
operationId: notifications_seen_json_notifications_seen_json_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Notifications