Menu QaldyDocs

Sharing

Who can open an app, and how: people, teams, the workspace and (where policy allows) a link. 3 routes, from the API’s own OpenAPI document.

3 routes. Every path starts at https://cloud-api.qaldy.com. Sign-in, tokens, errors and limits are on the overview.

Routes

MethodPathWhat it does
GET/​v1/​apps/​{id}/​shareWho can open, run and edit an app
PATCH/​v1/​apps/​{id}/​shareChange sharing (owner only; public links need admin + policy + a form)
GET/​v1/​workspaces/​{ws}/​principalsPeople and teams of this workspace, for the share picker

Reference

GET /v1/apps/{id}/share

Who can open, run and edit an app.

  • Authentication: the console’s session cookie.
  • Token: a personal access token or an MCP sign-in with the read scope.
  • Who: can_view (canShare reflects can_share)
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Response 200

FieldTypeRequiredNotes
appIdstringyesat least 1 characters
ownerobjectyes
owner.kind"user"yes
owner.idstringyesat least 1 characters
owner.namestringyesat least 1 characters
owner.emailstringyesat least 3 characters
owner.initialsstringyes1 to 3 characters
owner.color"sky" · "pool" · "bubblegum" · "leaf" · "lilac" · "sun" · "tangerine" · "tomato"yes
grantsobject[]yes
grants[].principalobjectyes
grants[].role"viewer" · "runner" · "editor"yes
generalAccess"restricted" · "team" · "workspace" · "link"yes
generalRole"viewer" · "runner" · "editor"yes
teamIdstring or nullyes
canSharebooleanyes
linkAllowedbooleanyes
linkDisabledReason"policy" · "app-type" · "not-admin" · null or nullyes
guestsintegerat least 0
publicProbeobject
publicProbe.state"ready" · "needs_check" · "stale" · "running" · "blocked" · "unavailable"yes
publicProbe.probeIdstring or nullyes
publicProbe.reasonstring or nullyesup to 400 characters

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

PATCH /v1/apps/{id}/share

Change sharing (owner only; public links need admin + policy + a form).

  • Authentication: the console’s session cookie.
  • Token: a personal access token or an MCP sign-in with the write scope.
  • Who: can_share; link needs admin + policy + public-safe type, a current unblocked exposure check and a typed confirm (publicConfirm)
ParameterInTypeRequiredNotes
idpathstringyes1 to 128 characters

Request body (application/json)

FieldTypeRequiredNotes
generalAccess"restricted" · "team" · "workspace" · "link"
generalRole"viewer" · "runner" · "editor"
teamIdstring or null
upsertobject[]
upsert[].kind"user" · "team"yes
upsert[].idstringyesat least 1 characters
upsert[].role"viewer" · "runner" · "editor"yes
removeobject[]
remove[].kind"user" · "team"yes
remove[].idstringyesat least 1 characters
publicConfirmobject
publicConfirm.probeIdstringyes1 to 128 characters
publicConfirm.typedstringyes1 to 120 characters

Response 200

FieldTypeRequiredNotes
appIdstringyesat least 1 characters
ownerobjectyes
owner.kind"user"yes
owner.idstringyesat least 1 characters
owner.namestringyesat least 1 characters
owner.emailstringyesat least 3 characters
owner.initialsstringyes1 to 3 characters
owner.color"sky" · "pool" · "bubblegum" · "leaf" · "lilac" · "sun" · "tangerine" · "tomato"yes
grantsobject[]yes
grants[].principalobjectyes
grants[].role"viewer" · "runner" · "editor"yes
generalAccess"restricted" · "team" · "workspace" · "link"yes
generalRole"viewer" · "runner" · "editor"yes
teamIdstring or nullyes
canSharebooleanyes
linkAllowedbooleanyes
linkDisabledReason"policy" · "app-type" · "not-admin" · null or nullyes
guestsintegerat least 0
publicProbeobject
publicProbe.state"ready" · "needs_check" · "stale" · "running" · "blocked" · "unavailable"yes
publicProbe.probeIdstring or nullyes
publicProbe.reasonstring or nullyesup to 400 characters

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

GET /v1/workspaces/{ws}/principals

People and teams of this workspace, for the share picker.

  • Authentication: the console’s session cookie.
  • Token: a personal access token or an MCP sign-in with the read scope.
  • Who: member
ParameterInTypeRequiredNotes
wspathstringyes1 to 128 characters
qquerystringup to 100 characters

Response 200

A object[].

Errors: 400, 401, 403, 404, 409, 429 (the error format is on the overview).

Type to search. Up and down to choose, Enter to open, Esc to close.