Retrieves all workspaces where the authenticated user has been accepted
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role": "string",
- "permissions": 0,
- "subscription": { },
- "rooms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "last_request": "2019-08-24T14:15:22Z",
- "last_request_ago": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "type": "workspace"
}
]
title required | string [ 1 .. 255 ] characters Title of the workspace |
icon | string Icon identifier (when icon_type is 'icon') |
icon_type | string Enum: "icon" "image" "emoji" Type of icon being used |
icon_file | string (Base64Image) ^data:image/(jpeg|png|gif|webp);base64,[A-Za-... Base64 encoded image file in data URL format (when icon_type is 'image') |
commentary_json | string <json> JSON string containing Tiptap formatted content |
cover_url | string <uri> URL for the workspace cover image |
{- "title": "string",
- "icon": "string",
- "icon_type": "icon",
- "icon_file": "data:image/jpeg;base64,/9j/4AAQSkZJRg...",
- "commentary_json": "string",
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role": "string",
- "permissions": 0,
- "subscription": { },
- "rooms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "last_request": "2019-08-24T14:15:22Z",
- "last_request_ago": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "type": "workspace"
}
Retrieves a specific workspace by ID
id required | string <uuid> Workspace ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role": "string",
- "permissions": 0,
- "subscription": { },
- "rooms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "last_request": "2019-08-24T14:15:22Z",
- "last_request_ago": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "type": "workspace"
}
Updates an existing workspace
id required | string <uuid> Workspace ID |
title | string |
icon | string |
icon_type | string |
icon_file | string <base64> |
commentary_json | object |
cover_url | string |
{- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "icon_file": "string",
- "commentary_json": { },
- "cover_url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role": "string",
- "permissions": 0,
- "subscription": { },
- "rooms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "last_request": "2019-08-24T14:15:22Z",
- "last_request_ago": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "type": "workspace"
}
Retrieves usage statistics for a workspace
id required | string <uuid> Workspace ID |
{- "admins": {
- "current": 0,
- "limit": 0
}, - "members": {
- "current": 0,
- "limit": 0
}, - "guests": {
- "current": 0,
- "limit": 0
}, - "storage": {
- "current": 0,
- "limit": 0
}
}
Retrieves all rooms in a workspace that the user has access to
workspace_id required | string <uuid> Workspace ID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "packs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120"
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "last_request": "2019-08-24T14:15:22Z",
- "last_request_ago": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "permissions": 0,
- "role": "string",
- "type": "room"
}
]
Creates a new room
title required | string Title of the room |
workspace_id required | string <uuid> ID of the workspace to create the room in |
icon | string Icon identifier or URL |
icon_type | string Type of icon used |
icon_file | string <base64> Base64 encoded icon file |
commentary_json | object JSON version of room commentary |
cover_url | string URL to the room cover image |
{- "title": "string",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "icon": "string",
- "icon_type": "string",
- "icon_file": "string",
- "commentary_json": { },
- "cover_url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "packs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120"
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "last_request": "2019-08-24T14:15:22Z",
- "last_request_ago": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "permissions": 0,
- "role": "string",
- "type": "room"
}
Retrieves a specific room by ID
id required | string <uuid> Room ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "packs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120"
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "last_request": "2019-08-24T14:15:22Z",
- "last_request_ago": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "permissions": 0,
- "role": "string",
- "type": "room"
}
Updates an existing room
id required | string <uuid> Room ID |
title | string |
icon | string |
icon_type | string |
icon_file | string <base64> |
commentary_json | object |
cover_url | string |
{- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "icon_file": "string",
- "commentary_json": { },
- "cover_url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "packs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120"
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "last_request": "2019-08-24T14:15:22Z",
- "last_request_ago": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "permissions": 0,
- "role": "string",
- "type": "room"
}
Retrieves all packs in a room that the user has access to
room_id required | string <uuid> Room ID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120",
- "resources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
}
], - "permissions": 0,
- "role": "string",
- "type": "pack"
}
]
Creates a new pack
title required | string Title of the pack |
room_id required | string <uuid> ID of the room to create the pack in |
icon | string Icon identifier or URL |
icon_type | string Type of icon used |
icon_file | string <base64> Base64 encoded icon file |
commentary_json | object JSON version of pack commentary |
cover_url | string URL to the pack cover image |
{- "title": "string",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120",
- "icon": "string",
- "icon_type": "string",
- "icon_file": "string",
- "commentary_json": { },
- "cover_url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120",
- "resources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
}
], - "permissions": 0,
- "role": "string",
- "type": "pack"
}
Retrieves a specific pack by ID
id required | string <uuid> Pack ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120",
- "resources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
}
], - "permissions": 0,
- "role": "string",
- "type": "pack"
}
Updates an existing pack
id required | string <uuid> Pack ID |
title | string |
icon | string |
icon_type | string |
icon_file | string <base64> |
commentary_json | object |
cover_url | string |
{- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "icon_file": "string",
- "commentary_json": { },
- "cover_url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120",
- "resources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
}
], - "permissions": 0,
- "role": "string",
- "type": "pack"
}
Publishes a pack
id required | string <uuid> Pack ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120",
- "resources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
}
], - "permissions": 0,
- "role": "string",
- "type": "pack"
}
Unpublishes a pack
id required | string <uuid> Pack ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "room_id": "05451321-18e1-4bfa-aa22-dfd0080cc120",
- "resources": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
}
], - "permissions": 0,
- "role": "string",
- "type": "pack"
}
Retrieves all resources in a pack
pack_id required | string <uuid> Pack ID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "permissions": 0,
- "download_url": "string",
- "type": "resource"
}
]
Creates a new resource
title required | string Title of the resource |
pack_id required | string <uuid> ID of the pack to create the resource in |
icon | string Icon identifier or URL |
icon_type | string Type of icon used |
icon_file | string <base64> Base64 encoded icon file |
commentary_json | object JSON version of resource commentary |
cover_url | string URL to the resource cover image |
{- "title": "string",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "icon": "string",
- "icon_type": "string",
- "icon_file": "string",
- "commentary_json": { },
- "cover_url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "permissions": 0,
- "download_url": "string",
- "type": "resource"
}
Retrieves a specific resource by ID
id required | string <uuid> Resource ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "permissions": 0,
- "download_url": "string",
- "type": "resource"
}
Updates an existing resource
id required | string <uuid> Resource ID |
title | string |
icon | string |
icon_type | string |
icon_file | string <base64> |
commentary_json | object |
cover_url | string |
{- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "icon_file": "string",
- "commentary_json": { },
- "cover_url": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "permissions": 0,
- "download_url": "string",
- "type": "resource"
}
Attaches a file to a resource
id required | string <uuid> Resource ID |
file | string <binary> File to attach |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "permissions": 0,
- "download_url": "string",
- "type": "resource"
}
Detaches a file from a resource
id required | string <uuid> Resource ID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "icon": "string",
- "icon_type": "string",
- "cover_url": "string",
- "commentary_txt": "string",
- "commentary_html": "string",
- "commentary_json": { },
- "created_at": "2019-08-24T14:15:22Z",
- "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
- "pack_id": "57cc3d41-f96b-4516-a620-a3167d9dc6bf",
- "version": 0,
- "cloud_sharing_url": "string",
- "has_file": true,
- "has_preview": true,
- "media": {
- "name": "string",
- "file_name": "string",
- "mime_type": "string",
- "size": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "permissions": 0,
- "download_url": "string",
- "type": "resource"
}