Workspaces
Attach workspace to website
Changed onLinks an existing unattached workspace (owned by the user) to a website the user owns. Verifies ownership of both and prevents duplicate attachment. Only records the publish link; it never changes the workspace authoring hostname.
post/api/workspaces/{id}/attach
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/workspaces/{id}/attach
- Auth: none declared
Path parameters
idstring required
Workspace ID
Request body
Response
Attached workspace
Changes
- info
endpoint added
- info