OUTLINE (03e P2; detailed by 6.CT.1 with 02h). Base https://freedome.nativemind.us/api/v1; /health, /ready, /metrics unversioned.
Conventions as the media server (docs/conventions.md): RFC 9457 application/problem+json errors (lowercase-kebab code), cursor pages (limit ≤ 100), Idempotency-Key on creating POSTs, ES256 access JWTs (15 min) + rotating refresh tokens, API keys fdk_ (user / org), fdi_ (installation), fds_ (service).
Operations with x-status: planned are not implemented yet (P6) and are excluded from conformance.
Support: support@freedome.nativemind.net. Commercial use → https://freedome.nativemind.us/commercial.
Servers: https://freedome.nativemind.us/api/v1 · source openapi/cloud.yaml
discovery · auth · account · api-keys · orgs · registry · enrollment · catalogue · apps
GET /info — getInfoServer self-description (product freedome-cloud) · scope anon
Server self-description (product freedome-cloud)
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/api/1.0/info.schema.json","$comment":"NativeMindNONC — f |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /meta — getMetaServer / contract / schema versions, channel states · scope anon
Server / contract / schema versions, channel states.
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["serverVersion"],"properties":{"serverVersion":{"type":"string"},"contractVersion":{"type":"string"},"schemaVersions":{"type":"obje |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /.well-known/jwks.json — getJwksJWKS for access and licence tokens (media servers verify offline) · scope anon
JWKS for access and licence tokens (media servers verify offline)
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"object","required":["kty","kid"],"properties":{"kty":{"type":"string" |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/sign-up — signUpCreate an account (e-mail + password) · scope anon
Create an account (e-mail + password)
Request application/json: {"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","minLength":10,"maxLength"
{
"email": "anna@example.org",
"password": "correct-horse-battery",
"client": "native"
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"description":"Session tokens (same shape as the media server, api/1.0/auth tokens) + created / linked for OAuth.","type":"object","allOf":[{"type":"object","r |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/sign-in — signInSign in (e-mail + password) · scope anon
Sign in (e-mail + password)
Request application/json: {"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","minLength":1,"maxLength":
{
"email": "anna@example.org",
"password": "correct-horse-battery",
"client": "native"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"description":"Session tokens (same shape as the media server, api/1.0/auth tokens) + created / linked for OAuth.","type":"object","allOf":[{"type":"object","r |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/session — createSessionSign in (02e §5.7 name; alias of signIn) · scope anon
Sign in (02e §5.7 name; alias of signIn)
Request application/json: {"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","minLength":1,"maxLength":
{
"email": "anna@example.org",
"password": "correct-horse-battery"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"description":"Session tokens (same shape as the media server, api/1.0/auth tokens) + created / linked for OAuth.","type":"object","allOf":[{"type":"object","r |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /auth/session — deleteSessionSign out the current session (alias of signOut) · scope any
Sign out the current session (alias of signOut)
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/refresh — refreshSessionRotate the refresh token (reuse revokes the family) · scope anon
Rotate the refresh token (reuse revokes the family)
Request application/json: {"type":"object","required":[],"properties":{"refreshToken":{"type":"string","minLength":16,"description":"native clients; web clients send the fd_rt cookie"}},
{
"refreshToken": "example-refresh-token-not-a-secret"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"description":"Session tokens (same shape as the media server, api/1.0/auth tokens) + created / linked for OAuth.","type":"object","allOf":[{"type":"object","r |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/sign-out — signOutSign out the current session · scope any
Sign out the current session.
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/sign-out-all — signOutAllRevoke every session of the account · scope any
Revoke every session of the account.
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/email/verify — verifyEmailConfirm the e-mail address with the mailed token · scope anon
Confirm the e-mail address with the mailed token.
Request application/json: {"type":"object","required":["token"],"properties":{"token":{"type":"string","minLength":16}},"additionalProperties":false}
{
"token": "example-mail-token-not-a-secret"
}| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/email/verify/resend — resendEmailVerificationSend the verification e-mail again · scope any
Send the verification e-mail again.
| Status | Description | Body |
|---|---|---|
| 202 | OK. | application/json {"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":false} |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/password/forgot — forgotPasswordMail a reset link (no account enumeration) · scope anon
Mail a reset link (no account enumeration)
Request application/json: {"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"}},"additionalProperties":false}
{
"email": "anna@example.org"
}| Status | Description | Body |
|---|---|---|
| 202 | OK. | application/json {"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":false} |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/password/reset — resetPasswordSet a new password with the mailed token (revokes sessions) · scope anon
Set a new password with the mailed token (revokes sessions)
Request application/json: {"type":"object","required":["token","password"],"properties":{"token":{"type":"string","minLength":16},"password":{"type":"string","minLength":10,"writeOnly":t
{
"token": "example-mail-token-not-a-secret",
"password": "new-correct-horse"
}| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/password/change — changePasswordChange the password of the signed-in account · scope any
Change the password of the signed-in account.
Request application/json: {"type":"object","required":["currentPassword","password"],"properties":{"currentPassword":{"type":"string","writeOnly":true},"password":{"type":"string","minLe
{
"currentPassword": "correct-horse-battery",
"password": "new-correct-horse"
}| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/magic-link — requestMagicLinkMail a one-time sign-in link · scope anon
Mail a one-time sign-in link.
Request application/json: {"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"}},"additionalProperties":false}
{
"email": "anna@example.org"
}| Status | Description | Body |
|---|---|---|
| 202 | OK. | application/json {"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":false} |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/magic-link/verify — verifyMagicLinkSign in with the magic-link token · scope anon
Sign in with the magic-link token.
Request application/json: {"type":"object","required":["token"],"properties":{"token":{"type":"string","minLength":16}},"additionalProperties":false}
{
"token": "example-mail-token-not-a-secret"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"description":"Session tokens (same shape as the media server, api/1.0/auth tokens) + created / linked for OAuth.","type":"object","allOf":[{"type":"object","r |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /auth/oauth/{provider} — signInWithProviderSign in with Apple / Google (provider id token); 503 NOT_CONFIGURED without client ids · scope anon
Sign in with Apple / Google (provider id token); 503 NOT_CONFIGURED without client ids.
| Parameter | In | Required | Description |
|---|---|---|---|
provider | path | yes | Identity provider. |
Request application/json: {"type":"object","required":["idToken"],"properties":{"idToken":{"type":"string","minLength":16},"nonce":{"type":"string"},"displayName":{"type":"string"},"clie
{
"idToken": "example.id-token.not-a-secret",
"nonce": "n-0S6_WzA2Mj"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"description":"Session tokens (same shape as the media server, api/1.0/auth tokens) + created / linked for OAuth.","type":"object","allOf":[{"type":"object","r |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /me — getAccountThe signed-in account with memberships · scope any
The signed-in account with memberships.
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","email","emailVerified","platformRole","status","createdAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase ( |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
PATCH /me — patchAccountMerge-patch profile (display name, locale) · scope any
Merge-patch profile (display name, locale)
Request application/merge-patch+json: {"type":"object","minProperties":1,"properties":{"displayName":{"type":"string","maxLength":128},"locale":{"type":"string","maxLength":35}},"additionalPropertie
{
"displayName": "Anna K."
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","email","emailVerified","platformRole","status","createdAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase ( |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /me — deleteAccountDelete the account (7-day grace; 409 while owning an org) · scope any
Delete the account (7-day grace; 409 while owning an org)
| Status | Description | Body |
|---|---|---|
| 202 | OK. | application/json {"type":"object","required":["id","email","emailVerified","platformRole","status","createdAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase ( |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /me/deletion/cancel — cancelAccountDeletionCancel a pending deletion · scope any
Cancel a pending deletion.
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","email","emailVerified","platformRole","status","createdAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase ( |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /me/devices — listAccountDevicesActive logins (refresh-token families) · scope any
Active logins (refresh-token families)
| Parameter | In | Required | Description |
|---|---|---|---|
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["sessionId","client","createdAt"], |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /me/devices/{sessionId} — deleteAccountDeviceRevoke one login · scope any
Revoke one login.
| Parameter | In | Required | Description |
|---|---|---|---|
sessionId | path | yes | Login (refresh family) id. |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /me/api-keys — listAccountApiKeysList personal API keys · scope any
List personal API keys.
| Parameter | In | Required | Description |
|---|---|---|---|
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","kind","name","scopes","prefi |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /me/api-keys — createAccountApiKeyCreate a personal API key (token shown once) · scope any
Create a personal API key (token shown once)
| Parameter | In | Required | Description |
|---|---|---|---|
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":["name","scopes"],"properties":{"name":{"type":"string","minLength":1,"maxLength":128},"scopes":{"type":"array","minItems":1,"items"
{
"name": "CI",
"scopes": [
"catalogue:read"
]
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"type":"object","required":["key","token"],"properties":{"key":{"type":"object","required":["id","kind","name","scopes","prefix","createdAt"],"properties":{"id |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /me/api-keys/{keyId} — deleteAccountApiKeyRevoke a personal API key · scope any
Revoke a personal API key.
| Parameter | In | Required | Description |
|---|---|---|---|
keyId | path | yes | API key id (32 hex). |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId}/api-keys — listOrgApiKeysOrganisation API keys · scope keys:write
Organisation API keys.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","kind","name","scopes","prefi |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /orgs/{orgId}/api-keys — createOrgApiKeyCreate an organisation API key (token shown once) · scope keys:write
Create an organisation API key (token shown once)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":["name","scopes"],"properties":{"name":{"type":"string","minLength":1,"maxLength":128},"scopes":{"type":"array","minItems":1,"items"
{
"name": "CI",
"scopes": [
"catalogue:read"
]
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"type":"object","required":["key","token"],"properties":{"key":{"type":"object","required":["id","kind","name","scopes","prefix","createdAt"],"properties":{"id |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /orgs/{orgId}/api-keys/{keyId} — deleteOrgApiKeyRevoke an organisation API key · scope keys:write
Revoke an organisation API key.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
keyId | path | yes | API key id (32 hex). |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs — listOrgsOrganisations of the caller · scope any
Organisations of the caller.
| Parameter | In | Required | Description |
|---|---|---|---|
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","name","kind","createdAt"],"p |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /orgs — createOrgCreate an organisation (caller = owner) · scope any
Create an organisation (caller = owner)
| Parameter | In | Required | Description |
|---|---|---|---|
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":["name","kind"],"properties":{"name":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string"},"country":{"type":"str
{
"name": "Dome Studio",
"kind": "studio",
"country": "RU"
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"type":"object","required":["id","name","kind","createdAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by olde |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId} — getOrgGet an organisation (non-members → 404) · scope org:read
Get an organisation (non-members → 404)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","name","kind","createdAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by olde |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
PATCH /orgs/{orgId} — patchOrgMerge-patch an organisation · scope org:write
Merge-patch an organisation.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
Request application/merge-patch+json: {"type":"object","minProperties":1,"properties":{"name":{"type":"string","minLength":1,"maxLength":128},"country":{"type":"string","pattern":"^[A-Z]{2}$"},"cont
{
"name": "Dome Studio LLC"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","name","kind","createdAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by olde |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /orgs/{orgId} — deleteOrgDelete an organisation (owner) · scope org:owner
Delete an organisation (owner)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId}/members — listOrgMembersMembers · scope org:read
Members.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["userId","role","joinedAt"],"prope |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
PATCH /orgs/{orgId}/members/{userId} — patchOrgMemberChange a member role (only owners grant owner) · scope members:write
Change a member role (only owners grant owner)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
userId | path | yes | Member user id. |
Request application/merge-patch+json: {"type":"object","required":["role"],"properties":{"role":{"anyOf":[{"enum":["owner","admin","operator","author","viewer"]},{"type":"string","pattern":"^[a-z][a
{
"role": "admin"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["userId","role","joinedAt"],"properties":{"userId":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by olde |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /orgs/{orgId}/members/{userId} — removeOrgMemberRemove a member / leave (at least one owner stays) · scope members:write
Remove a member / leave (at least one owner stays)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
userId | path | yes | Member user id. |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId}/invitations — listOrgInvitationsPending invitations · scope members:write
Pending invitations.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","email","role","expiresAt"]," |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /orgs/{orgId}/invitations — createOrgInvitationInvite by e-mail (token shown once, 7 days) · scope members:write
Invite by e-mail (token shown once, 7 days)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":["email","role"],"properties":{"email":{"type":"string","format":"email"},"role":{"anyOf":[{"enum":["owner","admin","operator","auth
{
"email": "ivan@example.org",
"role": "operator"
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"type":"object","required":["id","email","role","expiresAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by old |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /orgs/{orgId}/invitations/{invitationId} — revokeOrgInvitationRevoke an invitation · scope members:write
Revoke an invitation.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
invitationId | path | yes | Invitation id. |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /invitations/accept — acceptInvitationAccept an invitation (only by the invited address) · scope any
Accept an invitation (only by the invited address)
| Parameter | In | Required | Description |
|---|---|---|---|
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":["token"],"properties":{"token":{"type":"string","minLength":16}},"additionalProperties":false}
{
"token": "example-invitation-token-not-a-secret"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","name","kind","createdAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by olde |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId}/venues — listOrgVenuesVenues of the organisation · scope registry:read
Venues of the organisation.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","orgId","name"],"properties": |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /orgs/{orgId}/venues — createOrgVenueRegister a venue · scope registry:write
Register a venue.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":["name"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"lat":{"type":"number","minimum":-90,"maximum":90},"lon"
{
"name": "Planetarium",
"timezone": "Europe/Moscow",
"public": true
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"type":"object","required":["id","orgId","name"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older tools).", |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId}/venues/{venueId} — getOrgVenueGet a venue · scope registry:read
Get a venue.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
venueId | path | yes | Registry venue id. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","orgId","name"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older tools).", |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
PATCH /orgs/{orgId}/venues/{venueId} — patchOrgVenueMerge-patch a venue · scope registry:write
Merge-patch a venue.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
venueId | path | yes | Registry venue id. |
Request application/merge-patch+json: {"type":"object","required":["name"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"lat":{"type":"number","minimum":-90,"maximum":90},"lon"
{
"name": "Planetarium"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","orgId","name"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older tools).", |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /orgs/{orgId}/venues/{venueId} — deleteOrgVenueDelete a venue · scope registry:write
Delete a venue.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
venueId | path | yes | Registry venue id. |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /orgs/{orgId}/venues/{venueId}/domes — createOrgDomeRegister a dome in a venue · scope registry:write
Register a dome in a venue.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
venueId | path | yes | Registry venue id. |
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":["name","kind"],"properties":{"name":{"type":"string"},"kind":{"anyOf":[{"enum":["classical","quantum","smartphone"]},{"type":"strin
{
"name": "Main dome",
"kind": "classical",
"diameterM": 8
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"type":"object","required":["id","venueId","name","kind"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId}/domes/{domeId} — getOrgDomeGet a dome · scope registry:read
Get a dome.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
domeId | path | yes | Dome id. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","venueId","name","kind"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
PATCH /orgs/{orgId}/domes/{domeId} — patchOrgDomeMerge-patch a dome · scope registry:write
Merge-patch a dome.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
domeId | path | yes | Dome id. |
Request application/merge-patch+json: {"type":"object","required":["name","kind"],"properties":{"name":{"type":"string"},"kind":{"anyOf":[{"enum":["classical","quantum","smartphone"]},{"type":"strin
{
"name": "Main dome",
"kind": "classical",
"tiltDeg": 15
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","venueId","name","kind"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /orgs/{orgId}/domes/{domeId} — deleteOrgDomeDelete a dome · scope registry:write
Delete a dome.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
domeId | path | yes | Dome id. |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId}/installations — listOrgInstallationsInstallations (media servers) of the organisation · scope registry:read
Installations (media servers) of the organisation.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","orgId","name","status"],"pro |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
PATCH /orgs/{orgId}/installations/{installationId} — patchOrgInstallationRename / bind to a dome / telemetry level · scope registry:write
Rename / bind to a dome / telemetry level.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
installationId | path | yes | Installation id. |
Request application/merge-patch+json: {"type":"object","minProperties":1,"properties":{"name":{"type":"string"},"domeId":{"anyOf":[{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id wr
{
"telemetryLevel": "full"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","orgId","name","status"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /orgs/{orgId}/installations/{installationId} — revokeOrgInstallationRevoke an installation (its fdi_ key stops working) · scope registry:write
Revoke an installation (its fdi_ key stops working)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
installationId | path | yes | Installation id. |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /orgs/{orgId}/enrollment-tokens — listEnrollmentTokensEnrollment tokens (headless enrollment) · scope registry:write
Enrollment tokens (headless enrollment)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","expiresAt"],"properties":{"i |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /orgs/{orgId}/enrollment-tokens — createEnrollmentTokenCreate an enrollment token (shown once) · scope registry:write
Create an enrollment token (shown once)
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":[],"properties":{"name":{"type":"string"},"ttlHours":{"type":"integer","minimum":1,"maximum":720}},"additionalProperties":false}
{
"name": "Bench",
"ttlHours": 24
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"type":"object","required":["id","expiresAt"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older tools).","ty |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
DELETE /orgs/{orgId}/enrollment-tokens/{tokenId} — revokeEnrollmentTokenRevoke an enrollment token · scope registry:write
Revoke an enrollment token.
| Parameter | In | Required | Description |
|---|---|---|---|
orgId | path | yes | Organisation id. |
tokenId | path | yes | Enrollment token id. |
| Status | Description | Body |
|---|---|---|
| 204 | Done, no body. | |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /installations/enroll-requests — createEnrollmentRequestMedia server asks to enroll (RFC 8628 device code) · scope anon
Media server asks to enroll (RFC 8628 device code)
Request application/json: {"type":"object","required":["fingerprintHash","publicKey"],"properties":{"fingerprintHash":{"description":"Lowercase hex SHA-256 digest.","type":"string","patt
{
"fingerprintHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"publicKey": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
"name": "Dome 8 m"
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"description":"RFC 8628 device authorization response.","type":"object","required":["deviceCode","userCode","verificationUri","expiresIn","interval"],"properti |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /installations/enroll-requests/token — pollEnrollmentMedia server polls with its device code (authorization_pending until approved) · scope anon
Media server polls with its device code (authorization_pending until approved)
Request application/json: {"type":"object","required":["deviceCode"],"properties":{"deviceCode":{"type":"string"},"grantType":{"const":"urn:ietf:params:oauth:grant-type:device_code"}},"a
{
"deviceCode": "example-device-code-not-a-secret",
"grantType": "urn:ietf:params:oauth:grant-type:device_code"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["installationId","apiKey"],"properties":{"installationId":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /installations/enroll-requests/{userCode} — getEnrollmentRequestShow a pending request to the approving user · scope any
Show a pending request to the approving user.
| Parameter | In | Required | Description |
|---|---|---|---|
userCode | path | yes | RFC 8628 user code shown on the media server. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["userCode","status"],"properties":{"userCode":{"type":"string"},"status":{"anyOf":[{"enum":["pending","approved","denied","expired" |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /installations/enroll-requests/{userCode}/approve — approveEnrollmentRequestApprove into an organisation · scope registry:write
Approve into an organisation.
| Parameter | In | Required | Description |
|---|---|---|---|
userCode | path | yes | RFC 8628 user code shown on the media server. |
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","required":["orgId"],"properties":{"orgId":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older tools).","type":"s
{
"orgId": "0192f3a4-5b6c-7d8e-9f01-23456789c002",
"name": "Dome 8 m"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["userCode","status"],"properties":{"userCode":{"type":"string"},"status":{"anyOf":[{"enum":["pending","approved","denied","expired" |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /installations/enroll-requests/{userCode}/deny — denyEnrollmentRequestDeny a request · scope registry:write
Deny a request.
| Parameter | In | Required | Description |
|---|---|---|---|
userCode | path | yes | RFC 8628 user code shown on the media server. |
Idempotency-Key | header | UUID; replays within 24 h return the original response, a different body with the same key → 409. |
Request application/json: {"type":"object","properties":{"orgId":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older tools).","type":"string","pattern":"^[0
{
"orgId": "0192f3a4-5b6c-7d8e-9f01-23456789c002",
"reason": "unknown device"
}| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["userCode","status"],"properties":{"userCode":{"type":"string"},"status":{"anyOf":[{"enum":["pending","approved","denied","expired" |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
POST /installations/enroll — enrollWithTokenHeadless enrollment with an enrollment token · scope anon
Headless enrollment with an enrollment token.
Request application/json: {"type":"object","required":["token","fingerprintHash","publicKey"],"properties":{"token":{"type":"string"},"fingerprintHash":{"description":"Lowercase hex SHA-
{
"token": "example-enrollment-token-not-a-secret",
"fingerprintHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"publicKey": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo"
}| Status | Description | Body |
|---|---|---|
| 201 | OK. | application/json {"type":"object","required":["installationId","apiKey"],"properties":{"installationId":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written |
| 422 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /installations/self — getOwnInstallationThe calling installation (fdi_ key) · scope registry:self
The calling installation (fdi_ key)
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","orgId","name","status"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .dome meta.id written by older |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /catalogue/items — listCatalogueItemsContent catalogue (planned, P6) · scope catalogue:read · planned
Content catalogue (planned, P6)
| Parameter | In | Required | Description |
|---|---|---|---|
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","orgId","slug","kind","title" |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /catalogue/items/{itemId} — getCatalogueItemCatalogue item (planned, P6) · scope catalogue:read · planned
Catalogue item (planned, P6)
| Parameter | In | Required | Description |
|---|---|---|---|
itemId | path | yes | Catalogue item id. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["id","orgId","slug","kind","title","visibility","status"],"properties":{"id":{"description":"Any RFC 9562 UUID, lowercase (e.g. .do |
| 401 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 403 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| 404 | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
GET /apps — listAppsEcosystem app registry (planned, P6) · scope anon · planned
Ecosystem app registry (planned, P6)
| Parameter | In | Required | Description |
|---|---|---|---|
limit | query | Page size (default 20, max 100 on the cloud server, 02h §3.4). | |
cursor | query | Opaque cursor from the previous page's `nextCursor`. |
| Status | Description | Body |
|---|---|---|
| 200 | OK. | application/json {"type":"object","required":["items","nextCursor"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","slug","name"],"properties":{ |
| default | Error (RFC 9457 problem details, 02e §3.3). | application/problem+json {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://freedome.nativemind.us/schemas/common/1.0/problem.schema.json","$comment":"NativeMindNO |
NativeMindNONC · commercial use → NativeMind sales · support@freedome.nativemind.net