DevelopersAPI referenceNotesPages
List a workspace's templates
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Query Parameters
workspace_id*string
Format
uuidResponse Body
application/json
curl -X GET "https://example.com/v1/templates?workspace_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "templates": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c", "name": "string", "icon": "string", "doc": {}, "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "created": "2019-08-24T14:15:22Z" } ]}Save the rich document (optimistic concurrency)
Saves the doc with the revision the client loaded. A rev mismatch returns 409 with the current server doc so the editor can merge instead of clobbering another writer. Optionally syncs outgoing wiki-link edges in the same save.
Create a template
Next Page