Information
- OpenAPI version:
3.1.1
The public ContentSurface API: content (search, browse, node details, relations, retrieval, content
links) and administration (identity, access, structure, sources, catalogue, change log, statistics,
settings, agents). Tokens come from the tenant-addressed OAuth endpoints on {slug}.contentsurface.io
(locally {slug}.localhost:5097): authorization code + PKCE through a login client (portal), or
token exchange (RFC 8693) by an impersonating client.
Administrative objects carry an ETag; every update and delete must send If-Match (412 when stale,
428 when missing). Destructive calls with an access impact answer 409 confirmation-required with an
impact and an impactToken; repeat the call with ?confirm={impactToken}. Errors are RFC 9457
problem details whose code is stable. IDs are type-prefixed (usr_…, nod_…); a wrong prefix is 400.
Lists are keyset-paged with limit and cursor.
A CS access token: authorization code + PKCE through a login client, or token exchange by an impersonating client.
Security scheme type: http
Bearer format: JWT
Authorization code + PKCE as the portal client. The URLs are relative to the tenant address, where Swagger UI is opened (locally http://{slug}.localhost:5097/swagger).
Security scheme type: oauth2
Flow type: authorizationCode
Authorization URL: /oauth/authorize
Token URL: /oauth/token
Refresh URL: /oauth/token
Scopes: