Canvases
Create canvas
POST
Creates a canvas and returns the created row.
header
AuthorizationBearer <esk_live_…>A workspace API key created in workspace settings. It acts as the member who created it, narrowed to its abilities, projects and credit limit. Each operation names the ability it needs.
Scope: canvases:write
Endless-Api-Version?stringPin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.
application/json- body
organization_id*stringMatch
^org_id?stringFormat
uuidname*stringLength
1 <= lengthdescription?string|nullemoji?|nullcolor?string|nullthumbnail_url?string|nullvisibility?stringValue in
"private""workspace"workspace_role?stringValue in
"viewer""editor"grants?array<>Items
items <= 100project_id?stringFormat
uuidOK
application/json- response
id*stringFormat
uuidowner_id*stringorganization_id*string|nullname*stringdescription*string|nullemoji*string|nullcolor*string|nullthumbnail_url*string|nullvisibility*stringValue in
"private""workspace""public"workspace_role*stringValue in
"viewer""editor""manager""owner"last_activity_at*|nulldual_board_id*string|nulldeleted_at*|nulldeleted_by_id*string|nullcreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timeshared*booleancan_edit*booleancan_delete*booleancurl -X POST 'https://api.endless.app/canvases' \ -H 'Content-Type: application/json' \ -d '{ "organization_id": "string", "name": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_id": "string", "organization_id": "string", "name": "string", "description": "string", "emoji": "string", "color": "string", "thumbnail_url": "string", "visibility": "private", "workspace_role": "viewer", "last_activity_at": "2019-08-24T14:15:22Z", "dual_board_id": "string", "deleted_at": "2019-08-24T14:15:22Z", "deleted_by_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "shared": true, "can_edit": true, "can_delete": true}