Skip to content

Portals API

Tasks on an authority portal, walked step by step with a person to fall back on.

The same operations are in the interactive API reference, and the whole contract is in the OpenAPI document.

GET/v1/portal-plans

Read portal plans

The portal plans of the workspace. Needs miniself:read.

Scope portal-plans:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/portal-plans

Add portal plan

Writes the steps of a task on a portal. Needs miniself:write.

Scope portal-plans:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

GET/v1/portal-plans/{id}

Read portal plan

One portal plan. Needs miniself:read.

Scope portal-plans:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/portal-plans/{id}/start

Start the current step

Hands the current step to an adapter, or to a person where there is none. Needs miniself:write.

Scope portal-plans:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/portal-plans/{id}/steps

Take a step on a portal plan

A person marks a step done, finishes the plan with the portal's receipt, or abandons it. Needs miniself:write.

Scope portal-plans:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.