Skip to content
Cloudy docs

Spaces API

Publishing files as versions, reading them, comments and the space database.

All paths are relative to the API origin. Send Authorization: Bearer <token> unless a route says otherwise; see the API overview for tokens and errors.

POST /v1/comments/:id/report

Signed in, can see the comment; keeps a copy and tells staff (Discord, REPORTS_EMAIL); 400 your own comment

Body

FieldTypeRequiredNotes
reason"spam" | "abuse" | "other"yes
notestringno

Response: 204, no body

POST /v1/spaces/:id/report

Signed in, can see the space; keeps a copy of its name and tells staff

Body

FieldTypeRequiredNotes
reason"spam" | "abuse" | "other"yes
notestringno

Response: 204, no body

GET /v1/spaces

?workspace=<slug>: that workspace's spaces you can see (unknown slug: empty); else all you can push to. ?status=active (default, no archived), archived, or trash (what you may restore); each with your favorite and openedAt

Query

FieldTypeRequiredNotes
workspacestringno
status"active" | "archived" | "trash"no (default "active")

Response

FieldTypeRequiredNotes
spacesobject[]yes

GET /v1/spaces/find

?q=<words>&workspace=<slug>&status=active archived: spaces you can see (active by default) whose name or page titles match, best first; strong = close enough to publish into (topicMatch); page/pagePath = the page whose title matched at least as well as the name

Query

FieldTypeRequiredNotes
qstringyes
workspacestringno
limitintegerno (default 10)
status"active" | "archived"no (default "active")

Response

FieldTypeRequiredNotes
spacesobject[]yes

POST /v1/spaces

Body

FieldTypeRequiredNotes
workspacestringyes
namestringyes
visibility"public" | "members"no (default "members")
folderIdstringno

Response

FieldTypeRequiredNotes
idstringyes
namestringyes
workspaceobjectyes
visibility"public" | "members"yes
guestCommentsbooleanyes
guestWritesbooleanyes
viewersobjectyes
passwordProtectedbooleanyes (default false)
latestVersionintegeryes
pathstringyes
urlstringyes
shareUrlstring | nullyes
slugstring | nullno
searchIndexedbooleanno
kind"repo" | "live" | "app"yes (default "repo")
permissionsobjectyes
createdAtnumberyes
createdBystringno
updatedAtnumber | nullno
snapshotUrlstring | nullno
archivedAtnumber | nullno
projectstring | nullno
deletedAtnumber | nullno
favoriteinteger | nullno
openedAtnumber | nullno
iconstring | nullno
folderIdstring | nullno
mergedIntoobject | nullno

GET /v1/spaces/:id

Response

FieldTypeRequiredNotes
idstringyes
namestringyes
workspaceobjectyes
visibility"public" | "members"yes
guestCommentsbooleanyes
guestWritesbooleanyes
viewersobjectyes
passwordProtectedbooleanyes (default false)
latestVersionintegeryes
pathstringyes
urlstringyes
shareUrlstring | nullyes
slugstring | nullno
searchIndexedbooleanno
kind"repo" | "live" | "app"yes (default "repo")
permissionsobjectyes
createdAtnumberyes
createdBystringno
updatedAtnumber | nullno
snapshotUrlstring | nullno
archivedAtnumber | nullno
projectstring | nullno
deletedAtnumber | nullno
favoriteinteger | nullno
openedAtnumber | nullno
iconstring | nullno
folderIdstring | nullno
mergedIntoobject | nullno

PATCH /v1/spaces/:id

Slug: 2-60 lowercase letters, numbers and single dashes; 409 when another space has it now or had it before; the old link (cloudy.page/<old>/) 301s to the new one, or to the id link; a new slug (custom link) where the space had none: 403 plan_limit when the workspace is at its custom-link cap (default 1, staff raise it per workspace); renaming or removing one is never capped

Body

FieldTypeRequiredNotes
namestringno
iconstring | nullno
visibility"public" | "members"no
guestCommentsbooleanno
guestWritesbooleanno
viewersobjectno
passwordstring | nullno
slugnull | stringno
searchIndexedbooleanno

Response

FieldTypeRequiredNotes
idstringyes
namestringyes
workspaceobjectyes
visibility"public" | "members"yes
guestCommentsbooleanyes
guestWritesbooleanyes
viewersobjectyes
passwordProtectedbooleanyes (default false)
latestVersionintegeryes
pathstringyes
urlstringyes
shareUrlstring | nullyes
slugstring | nullno
searchIndexedbooleanno
kind"repo" | "live" | "app"yes (default "repo")
permissionsobjectyes
createdAtnumberyes
createdBystringno
updatedAtnumber | nullno
snapshotUrlstring | nullno
archivedAtnumber | nullno
projectstring | nullno
deletedAtnumber | nullno
favoriteinteger | nullno
openedAtnumber | nullno
iconstring | nullno
folderIdstring | nullno
mergedIntoobject | nullno

Admin; the workspace's custom links on the pages host: used and cap (null = no cap)

Response

FieldTypeRequiredNotes
usedintegeryes
capinteger | nullyes

DELETE /v1/spaces/:id

A person only (the website or the app; CLI, MCP and agents: 403, they archive instead); admin of its workspace, a live space owner, or its maker; moves it to the Trash for TRASH_DAYS (its link stops working), then it's deleted for good with its apps; forever=1 on a space in the Trash deletes it now; 400 for an app preview

Request: ?forever=1

Response: 204, no body

POST /v1/spaces/:id/restore

Whoever may delete it (agents too); out of the Trash as it was; 404 for anyone else

Response

FieldTypeRequiredNotes
idstringyes
namestringyes
workspaceobjectyes
visibility"public" | "members"yes
guestCommentsbooleanyes
guestWritesbooleanyes
viewersobjectyes
passwordProtectedbooleanyes (default false)
latestVersionintegeryes
pathstringyes
urlstringyes
shareUrlstring | nullyes
slugstring | nullno
searchIndexedbooleanno
kind"repo" | "live" | "app"yes (default "repo")
permissionsobjectyes
createdAtnumberyes
createdBystringno
updatedAtnumber | nullno
snapshotUrlstring | nullno
archivedAtnumber | nullno
projectstring | nullno
deletedAtnumber | nullno
favoriteinteger | nullno
openedAtnumber | nullno
iconstring | nullno
folderIdstring | nullno
mergedIntoobject | nullno

POST /v1/spaces/:id/archive

Push (agents too); out of every list, the link keeps working; a new version brings it back

Response

FieldTypeRequiredNotes
idstringyes
namestringyes
workspaceobjectyes
visibility"public" | "members"yes
guestCommentsbooleanyes
guestWritesbooleanyes
viewersobjectyes
passwordProtectedbooleanyes (default false)
latestVersionintegeryes
pathstringyes
urlstringyes
shareUrlstring | nullyes
slugstring | nullno
searchIndexedbooleanno
kind"repo" | "live" | "app"yes (default "repo")
permissionsobjectyes
createdAtnumberyes
createdBystringno
updatedAtnumber | nullno
snapshotUrlstring | nullno
archivedAtnumber | nullno
projectstring | nullno
deletedAtnumber | nullno
favoriteinteger | nullno
openedAtnumber | nullno
iconstring | nullno
folderIdstring | nullno
mergedIntoobject | nullno

POST /v1/spaces/:id/unarchive

Push

Response

FieldTypeRequiredNotes
idstringyes
namestringyes
workspaceobjectyes
visibility"public" | "members"yes
guestCommentsbooleanyes
guestWritesbooleanyes
viewersobjectyes
passwordProtectedbooleanyes (default false)
latestVersionintegeryes
pathstringyes
urlstringyes
shareUrlstring | nullyes
slugstring | nullno
searchIndexedbooleanno
kind"repo" | "live" | "app"yes (default "repo")
permissionsobjectyes
createdAtnumberyes
createdBystringno
updatedAtnumber | nullno
snapshotUrlstring | nullno
archivedAtnumber | nullno
projectstring | nullno
deletedAtnumber | nullno
favoriteinteger | nullno
openedAtnumber | nullno
iconstring | nullno
folderIdstring | nullno
mergedIntoobject | nullno

PUT /v1/spaces/:id/favorite

View; adds it to the end of your favorites

Response: 204, no body

DELETE /v1/spaces/:id/favorite

Signed in; takes it off your favorites

Response: 204, no body

POST /v1/spaces/:id/opened

View; you opened it (your Recent); ignored for CLI, MCP and agents

Response: 204, no body

PUT /v1/spaces/:id/folder

View + edit the workspace (agents too); lists it in a folder (null: the top level); never changes its link or who can open it

Body

FieldTypeRequiredNotes
folderIdstring | nullyes

Response

FieldTypeRequiredNotes
idstringyes
namestringyes
workspaceobjectyes
visibility"public" | "members"yes
guestCommentsbooleanyes
guestWritesbooleanyes
viewersobjectyes
passwordProtectedbooleanyes (default false)
latestVersionintegeryes
pathstringyes
urlstringyes
shareUrlstring | nullyes
slugstring | nullno
searchIndexedbooleanno
kind"repo" | "live" | "app"yes (default "repo")
permissionsobjectyes
createdAtnumberyes
createdBystringno
updatedAtnumber | nullno
snapshotUrlstring | nullno
archivedAtnumber | nullno
projectstring | nullno
deletedAtnumber | nullno
favoriteinteger | nullno
openedAtnumber | nullno
iconstring | nullno
folderIdstring | nullno
mergedIntoobject | nullno

POST /v1/spaces/:id/merge

Push on both (agents too); it becomes a page of into and is archived, its links open the page; 409 with comments, uploads or data

Body

FieldTypeRequiredNotes
intostringyes

Response

FieldTypeRequiredNotes
spaceobjectyes
pagestringyes

POST /v1/spaces/:id/move

Owner of both workspaces; a live space takes its apps along; links don't change; 400 for an app preview

Body

FieldTypeRequiredNotes
workspacestringyes

Response

FieldTypeRequiredNotes
spaceobjectyes
movedstring[]yes

GET /v1/spaces/:id/head

  • liveUrl

Response

FieldTypeRequiredNotes
latestVersionintegeryes
commentsUpdatedAtnumberyes
reactionsintegeryes (default 0)
reactionsUpdatedAtnumberyes (default 0)
uploadsintegeryes (default 0)
uploadsUpdatedAtnumberyes (default 0)
liveUrlstringno

GET /v1/spaces/:id/page

View; the website's space page in one read: me, the space, head, folders, and with ?path= that page (its file, comments, linked Discord threads)

Query

FieldTypeRequiredNotes
pathstringno
vstringno

Response

FieldTypeRequiredNotes
meobject | nullyes
spaceobjectyes
headobjectyes
foldersobject[]yes
docobject | nullyes

GET /v1/spaces/:id/capabilities

View; what pages can do here (packages/contract/src/capabilities.ts) and whether each is on

Response

FieldTypeRequiredNotes
capabilitiesobject[]yes

PUT /v1/spaces/:id/capabilities/:capability

Admin; switch capabilities only (others: PATCH /v1/spaces/:id); 403 for a preview not turned on for the space

Body

FieldTypeRequiredNotes
onbooleanyes

Response

FieldTypeRequiredNotes
capabilitiesobject[]yes

GET /v1/spaces/:id/rules

View; the agent rules for this space: its own and its workspace's, with your own switch. enabled: false and none while the feature is off for the workspace

Response

FieldTypeRequiredNotes
enabledbooleanyes
rulesobject[]yes

POST /v1/spaces/:id/rules

Push (agents too); a rule for this space; 409 when the name is taken; 404 while the feature is off

Body

FieldTypeRequiredNotes
namestringyes
whenstringno (default "")
dostringyes
skillstring | nullno
enabledbooleanno

Response

FieldTypeRequiredNotes
enabledbooleanyes
rulesobject[]yes

PATCH /v1/spaces/:id/rules/:name

Push (agents too); a new wording starts a new version

Body

FieldTypeRequiredNotes
whenstringno
dostringno
skillstring | nullno
enabledbooleanno

Response

FieldTypeRequiredNotes
enabledbooleanyes
rulesobject[]yes

DELETE /v1/spaces/:id/rules/:name

Push (agents too)

Response

FieldTypeRequiredNotes
enabledbooleanyes
rulesobject[]yes

PUT /v1/spaces/:id/rules/:ruleId/me

View, signed in; your own switch for a space or workspace rule (null: follow the space)

Body

FieldTypeRequiredNotes
enabledboolean | nullyes

Response

FieldTypeRequiredNotes
enabledbooleanyes
rulesobject[]yes

POST /v1/spaces/:id/rules/stats

View, signed in; counts from one session (the CLI's hook): sent, fit, followed, corrected, tokens; never any words

Body

FieldTypeRequiredNotes
rowsobject[]yes
sessionobjectno

Response: 204, no body

GET /v1/spaces/:id/rules/stats

View; per rule and per day for ?days= (1-90, default 7); people lists everyone for admins, only you for others

Query

FieldTypeRequiredNotes
daysintegerno (default 7)

Response

FieldTypeRequiredNotes
enabledbooleanyes
daysnumberyes
sessionsnumberyes
sessionTokensnumberyes
rulesobject[]yes
dailyobject[]yes
peopleobject[]yes

POST /v1/spaces/:id/unlock

Public space with a password; 401 wrong, 429 too many tries (PRD 013)

Body

FieldTypeRequiredNotes
passwordstringyes

Response

FieldTypeRequiredNotes
tokenstringyes
expintegeryes

POST /v1/spaces/:id/views

View; the app's beacon; not counted for people who can push

Body

FieldTypeRequiredNotes
pathstringyes
versioninteger | nullno
referrerstring | nullno

Response: 204, no body

POST /v1/spaces/:id/seen

View; the website's page view: the view (with path), your Recent and your read of the comments, written after it answers

Body

FieldTypeRequiredNotes
pathstring | nullno
versioninteger | nullno
referrerstring | nullno

Response: 204, no body

GET /v1/spaces/:id/visitors

Push; views, visitors, people, last 90 days max

Query

FieldTypeRequiredNotes
daysintegerno (default 30)

Response

FieldTypeRequiredNotes
daysintegeryes
viewsintegeryes
visitorsintegeryes
returningintegeryes
signedInintegeryes
dailyobject[]yes
countriesobject[]yes
referrersobject[]yes
pagesobject[]yes
peopleobject[]yes
guestsobject[]yes
recentobject[]yes

POST /v1/spaces/:id/push/plan

Prefix: the files replace only that folder (adding a page); the rest of the latest version stays

Body

FieldTypeRequiredNotes
filesobject[]yes
prefixstringno

Response

FieldTypeRequiredNotes
baseVersionintegeryes
missingstring[]yes
diffobjectyes

PUT /v1/spaces/:id/blobs/:sha256

Server verifies the hash

Request: raw file bytes

Response: 204, no body

POST /v1/spaces/:id/versions

409 if a listed blob is missing; prefix as in push/plan

Body

FieldTypeRequiredNotes
filesobject[]yes
messagestringno
baseVersionintegerno
prefixstringno
projectstringno

Response

FieldTypeRequiredNotes
versionobject | nullyes
diffobjectyes
urlstringyes

GET /v1/spaces/:id/versions

Newest first

Response

FieldTypeRequiredNotes
versionsobject[]yes

GET /v1/spaces/:id/versions/:n

N = number or "latest"

Response

FieldTypeRequiredNotes
versionobjectyes
filesobject[]yes
diffobjectyes
pagePicturesobjectno

GET /v1/spaces/:id/files/*path

Request: ?v=<n>

Response

FieldTypeRequiredNotes
versionNumberintegeryes
fileobjectyes
contentstringyes
rawUrlstring | nullyes

GET /v1/spaces/:id/history/*path

Response

FieldTypeRequiredNotes
entriesobject[]yes

GET /v1/spaces/:id/download/*path

View; attachment (PRD 012)

Request: ?v=<n>

Response: file bytes

GET /v1/spaces/:id/download-link/*path

View; 5-minute /dl/<ticket> link for browsers

Request: ?v=<n>

Response

FieldTypeRequiredNotes
urlstringyes
expiresAtnumberyes

GET /v1/spaces/:id/uploads

CanSeeFiles; newest first (PRD 012)

Response

FieldTypeRequiredNotes
uploadsobject[]yes

POST /v1/spaces/:id/uploads

Push; Content-Length required, MAX_UPLOAD_BYTES; streamed to our storage

Request: raw bytes, ?name=

Response

FieldTypeRequiredNotes
idstringyes
namestringyes
sizeintegeryes
sha256stringyes
contentTypestringyes
uploadedByobject | nullyes
createdAtnumberyes

GET /v1/spaces/:id/uploads/:uploadId/raw

CanSeeFiles; attachment, nosniff, sandbox CSP, x-content-sha256

Response: file bytes

CanSeeFiles; 5-minute /dl/<ticket> link for browsers

Response

FieldTypeRequiredNotes
urlstringyes
expiresAtnumberyes

DELETE /v1/spaces/:id/uploads/:uploadId

Push

Response: 204, no body

GET /v1/spaces/:id/notifications

View; whether you muted the space

Response

FieldTypeRequiredNotes
mutedbooleanyes

PUT /v1/spaces/:id/notifications

View; muted: no push and no comment email from it, except comments that @mention you

Body

FieldTypeRequiredNotes
mutedbooleanyes

Response

FieldTypeRequiredNotes
mutedbooleanyes

GET /v1/spaces/:id/comments

Query

FieldTypeRequiredNotes
pathstringno
status"open" | "resolved" | "all"no (default "open")
peek"1"no

Response

FieldTypeRequiredNotes
threadsobject[]yes

POST /v1/spaces/:id/comments

Signed in + canComment, or a guest when the space allows guest comments (20 per ip per 10 min); images attaches up to 4 uploaded images; @handles tell those people if they can see the space (not from guests); an id the client picked makes a repeat return the comment already made; parentId may be a reply, which the new one nests under (replyToId)

Body

FieldTypeRequiredNotes
idstringno
pathstringyes
bodystringyes
quotestringno
anchorobjectno
parentIdstringno
versionNumberintegerno
imagesstring[]no
guestobjectno

Response

FieldTypeRequiredNotes
idstringyes
pathstringyes
versionNumberintegeryes
parentIdstring | nullyes
replyToIdstring | nullyes (default null)
authorobjectyes
guestNamestring | nullyes
originobject | nullyes
bodystringyes
imagesobject[]yes (default [])
quotestring | nullyes
anchorobject | nullyes
viastring | nullyes
resolvedAtnumber | nullyes
resolvedByobject | nullyes
resolvedViastring | nullyes
resolvedVersionnumber | nullyes (default null)
editedAtnumber | nullyes
editedByobject | nullyes
editedViastring | nullyes
revisionsintegeryes
reactionsobject[]yes (default [])
createdAtnumberyes

GET /v1/spaces/:id/mention-people

Signed in + canComment; up to 8 people who can see the space: workspace members and commenters (only commenters for someone outside the workspace)

Query

FieldTypeRequiredNotes
qstringno (default "")

Response

FieldTypeRequiredNotes
peopleobject[]yes

POST /v1/spaces/:id/comment-images

CanComment, or a guest (key in x-cloudtifact-guest-key) where guest comments are on; PNG/JPEG/GIF/WebP by magic bytes, 2 MB, at most 4096 px a side, 20 per hour per ip and per uploader

Request: raw image bytes

Response

FieldTypeRequiredNotes
idstringyes
urlstringyes
contentTypestringyes
sizeintegeryes

GET /v1/spaces/:id/comment-images/:imageId

No auth: the random id is the grant; sniffed Content-Type, immutable, nosniff, sandbox CSP

Response: image bytes

PATCH /v1/comments/:id

Author only (a guest: with their key); old text kept as a revision; only newly @mentioned people are told

Body

FieldTypeRequiredNotes
bodystringyes
guestobjectno

Response

FieldTypeRequiredNotes
idstringyes
pathstringyes
versionNumberintegeryes
parentIdstring | nullyes
replyToIdstring | nullyes (default null)
authorobjectyes
guestNamestring | nullyes
originobject | nullyes
bodystringyes
imagesobject[]yes (default [])
quotestring | nullyes
anchorobject | nullyes
viastring | nullyes
resolvedAtnumber | nullyes
resolvedByobject | nullyes
resolvedViastring | nullyes
resolvedVersionnumber | nullyes (default null)
editedAtnumber | nullyes
editedByobject | nullyes
editedViastring | nullyes
revisionsintegeryes
reactionsobject[]yes (default [])
createdAtnumberyes

DELETE /v1/comments/:id

Author (a guest: with their key), or canPush; a thread goes with its replies; a reply's answers move up to what it answered

Body

FieldTypeRequiredNotes
guestobjectno

Response: 204, no body

GET /v1/comments/:id/revisions

Every version, oldest first (empty if never edited)

Response

FieldTypeRequiredNotes
revisionsobject[]yes

POST /v1/comments/:id/resolve

Thread author, or canPush on the space (403 otherwise)

Response

FieldTypeRequiredNotes
idstringyes
pathstringyes
versionNumberintegeryes
parentIdstring | nullyes
replyToIdstring | nullyes (default null)
authorobjectyes
guestNamestring | nullyes
originobject | nullyes
bodystringyes
imagesobject[]yes (default [])
quotestring | nullyes
anchorobject | nullyes
viastring | nullyes
resolvedAtnumber | nullyes
resolvedByobject | nullyes
resolvedViastring | nullyes
resolvedVersionnumber | nullyes (default null)
editedAtnumber | nullyes
editedByobject | nullyes
editedViastring | nullyes
revisionsintegeryes
reactionsobject[]yes (default [])
createdAtnumberyes

POST /v1/comments/:id/unresolve

Thread author, or canPush on the space (403 otherwise)

Response

FieldTypeRequiredNotes
idstringyes
pathstringyes
versionNumberintegeryes
parentIdstring | nullyes
replyToIdstring | nullyes (default null)
authorobjectyes
guestNamestring | nullyes
originobject | nullyes
bodystringyes
imagesobject[]yes (default [])
quotestring | nullyes
anchorobject | nullyes
viastring | nullyes
resolvedAtnumber | nullyes
resolvedByobject | nullyes
resolvedViastring | nullyes
resolvedVersionnumber | nullyes (default null)
editedAtnumber | nullyes
editedByobject | nullyes
editedViastring | nullyes
revisionsintegeryes
reactionsobject[]yes (default [])
createdAtnumberyes

PUT /v1/comments/:id/reactions/:emoji

Signed in + canComment (404 if you can't see it); emoji is one of ๐Ÿ‘ โค๏ธ ๐Ÿ˜‚ ๐ŸŽ‰ ๐Ÿ‘€ โœ…, URL-encoded; idempotent; tells nobody (no push, email or Inbox)

Response

FieldTypeRequiredNotes
reactionsobject[]yes

DELETE /v1/comments/:id/reactions/:emoji

As PUT; removes your reaction, fine if there was none

Response

FieldTypeRequiredNotes
reactionsobject[]yes

POST /v1/spaces/:id/db/query

View; write: true needs push (401 signed out / 403, never downgraded)

Body

FieldTypeRequiredNotes
sqlstringyes
params(string | number | null | boolean | object)[]no
writebooleanno

Response

FieldTypeRequiredNotes
columnsstring[]yes
rows((string | number | null | object)[])[]yes
rowsReadnumberyes
rowsWrittennumberyes
truncatedbooleanyes

GET /v1/spaces/:id/db

View; tables, columns, row counts, size

Response

FieldTypeRequiredNotes
tablesobject[]yes
databaseSizenumberyes

POST /v1/spaces/:id/db/rows

Push; one row: insert, or update/delete by primary key (rowid when none); 404 when no row matches; logged with its values

Body

Type: object

Response

FieldTypeRequiredNotes
rowsWrittennumberyes

GET /v1/spaces/:id/db/exists

View; { hasTables }, no row counts

Response

FieldTypeRequiredNotes
hasTablesbooleanyes

GET /v1/spaces/:id/db/guest-writes

Push; the named writes guests may run

Response

FieldTypeRequiredNotes
statementsobject[]yes

PUT /v1/spaces/:id/db/guest-writes

Push; replaces the set; each must be one write statement

Body

FieldTypeRequiredNotes
statementsobject[]yes

Response

FieldTypeRequiredNotes
statementsobject[]yes

GET /v1/spaces/:id/db/writes

Push; the write log, newest first, with guest name and origin

Query

FieldTypeRequiredNotes
limitintegerno (default 100)

Response

FieldTypeRequiredNotes
writesobject[]yes

GET /v1/spaces/:id/db/export

Push; attachment <spaceId>.sql, replays via db/query with write: true

Response: text/plain .sql dump

POST /v1/spaces/:id/db/reset

Admin; wipes every table; { before } undoes it via restore

Response

FieldTypeRequiredNotes
beforenumberyes

POST /v1/spaces/:id/db/restore

Admin; point-in-time restore, last 30 days

Body

FieldTypeRequiredNotes
atstring (date-time) | integeryes

Response

FieldTypeRequiredNotes
restoredTonumberyes
undoBookmarkstringyes

On this page

POST /v1/comments/:id/reportPOST /v1/spaces/:id/reportGET /v1/spacesGET /v1/spaces/findPOST /v1/spacesGET /v1/spaces/:idPATCH /v1/spaces/:idGET /v1/spaces/:id/custom-linksDELETE /v1/spaces/:idPOST /v1/spaces/:id/restorePOST /v1/spaces/:id/archivePOST /v1/spaces/:id/unarchivePUT /v1/spaces/:id/favoriteDELETE /v1/spaces/:id/favoritePOST /v1/spaces/:id/openedPUT /v1/spaces/:id/folderPOST /v1/spaces/:id/mergePOST /v1/spaces/:id/moveGET /v1/spaces/:id/headGET /v1/spaces/:id/pageGET /v1/spaces/:id/capabilitiesPUT /v1/spaces/:id/capabilities/:capabilityGET /v1/spaces/:id/rulesPOST /v1/spaces/:id/rulesPATCH /v1/spaces/:id/rules/:nameDELETE /v1/spaces/:id/rules/:namePUT /v1/spaces/:id/rules/:ruleId/mePOST /v1/spaces/:id/rules/statsGET /v1/spaces/:id/rules/statsPOST /v1/spaces/:id/unlockPOST /v1/spaces/:id/viewsPOST /v1/spaces/:id/seenGET /v1/spaces/:id/visitorsPOST /v1/spaces/:id/push/planPUT /v1/spaces/:id/blobs/:sha256POST /v1/spaces/:id/versionsGET /v1/spaces/:id/versionsGET /v1/spaces/:id/versions/:nGET /v1/spaces/:id/files/*pathGET /v1/spaces/:id/history/*pathGET /v1/spaces/:id/download/*pathGET /v1/spaces/:id/download-link/*pathGET /v1/spaces/:id/uploadsPOST /v1/spaces/:id/uploadsGET /v1/spaces/:id/uploads/:uploadId/rawGET /v1/spaces/:id/uploads/:uploadId/linkDELETE /v1/spaces/:id/uploads/:uploadIdGET /v1/spaces/:id/notificationsPUT /v1/spaces/:id/notificationsGET /v1/spaces/:id/commentsPOST /v1/spaces/:id/commentsGET /v1/spaces/:id/mention-peoplePOST /v1/spaces/:id/comment-imagesGET /v1/spaces/:id/comment-images/:imageIdPATCH /v1/comments/:idDELETE /v1/comments/:idGET /v1/comments/:id/revisionsPOST /v1/comments/:id/resolvePOST /v1/comments/:id/unresolvePUT /v1/comments/:id/reactions/:emojiDELETE /v1/comments/:id/reactions/:emojiPOST /v1/spaces/:id/db/queryGET /v1/spaces/:id/dbPOST /v1/spaces/:id/db/rowsGET /v1/spaces/:id/db/existsGET /v1/spaces/:id/db/guest-writesPUT /v1/spaces/:id/db/guest-writesGET /v1/spaces/:id/db/writesGET /v1/spaces/:id/db/exportPOST /v1/spaces/:id/db/resetPOST /v1/spaces/:id/db/restore