PublicIngress
Operations of the App Runtime API. Paths are relative to your deployment's API host.
POST /api/app-platform-api/public/apps/{appSlug}/auth/anon
Create an anonymous external-subject session. Returns a delegated session JWT; every call creates a fresh subject identity.
Authentication: none
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
appSlug | path | string | yes |
Request body: application/json AnonAuthDto
| Status | Description | Body |
|---|---|---|
| 201 | application/json AnonAuthResultDtoDataEnvelope |
POST /api/app-platform-api/public/apps/{appSlug}/auth/magic-link/request
Request a magic-link for the given email. Creates a one-time token valid for 15 minutes and queues an email delivery event.
Authentication: none
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
appSlug | path | string | yes |
Request body: application/json RequestMagicLinkDto
| Status | Description | Body |
|---|---|---|
| 201 | application/json RequestMagicLinkResultDtoDataEnvelope |
POST /api/app-platform-api/public/apps/{appSlug}/auth/magic-link/verify
Verify a magic-link token and mint a delegated session JWT. The token is single-use and expires after 15 minutes.
Authentication: none
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
appSlug | path | string | yes |
Request body: application/json VerifyMagicLinkDto
| Status | Description | Body |
|---|---|---|
| 201 | application/json VerifyMagicLinkResultDtoDataEnvelope |
POST /api/app-platform-api/public/apps/{appSlug}/auth/oidc
Authenticate an external subject via OIDC id_token and mint a delegated session JWT.
Authentication: none
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
appSlug | path | string | yes |
Request body: application/json OidcAuthDto
| Status | Description | Body |
|---|---|---|
| 201 | application/json OidcAuthResultDtoDataEnvelope |
POST /api/app-platform-api/public/apps/{appSlug}/sessions
Open a delegated session for an external-subject or public-anon audience. Returns a short-lived JWT the caller presents to the capability gateway.
Authentication: none
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
appSlug | path | string | yes |
Request body: application/json CreatePublicSessionDto
| Status | Description | Body |
|---|---|---|
| 201 | application/json CreatedPublicSessionDtoDataEnvelope |
GET /api/app-platform-api/public/sessions/{id}
Get a delegated session's metadata and status. Requires that session's own access token as the bearer.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json DelegatedSessionStatusDtoDataEnvelope |
POST /api/app-platform-api/public/sessions/{id}/revoke
Revoke a delegated session (self-sign-out). Requires that session's own access token as the bearer.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json DelegatedSessionDtoDataEnvelope |