V2 Teamspaces

List teamspace folders (v2)

get

Returns teamspace folders with the resources currently published into each folder. Use this before publishing or unpublishing to choose the right destination.

Responses
chevron-right
200

Teamspace folders retrieved successfully

application/json
idstring · uuidOptional
orderinteger · int32Optional
namestringOptional
get
/api/v2/teamspaces/folders

Create teamspace folder (v2)

post

Creates a folder inside the teamspace publishing area. Use it to group resources that are meant to be shared with other users.

Body
namestringOptional
orderinteger · int32Optional
Responses
chevron-right
200

Teamspace folder created successfully

application/json
folderIdstring · uuidOptional
namestringOptional
post
/api/v2/teamspaces/folders

Delete teamspace folder (v2)

delete

Deletes one teamspace folder. Unpublish or move resources first if you want to preserve the shared structure before removal.

Path parameters
folderIdstring · uuidRequired
Responses
chevron-right
200

Teamspace folder deleted successfully

application/json
folderIdstring · uuidOptional
namestringOptional
delete
/api/v2/teamspaces/folders/{folderId}

Patch teamspace folder (v2)

patch

Updates one teamspace folder. Use this to rename the folder, change its sort order, or replace additionalProperties.

Path parameters
folderIdstring · uuidRequired
Body
namestringOptional
orderinteger · int32Optional
Responses
chevron-right
200

Teamspace folder updated successfully

application/json
folderIdstring · uuidOptional
namestringOptional
patch
/api/v2/teamspaces/folders/{folderId}

Publish resource to teamspace (v2)

post

Publishes one resource into the teamspace area. targetFolderId identifies the destination shared folder and resourceName is the label visible to teamspace consumers.

Body
resourceIdstring · uuidOptional
resourceTypestring · enumOptionalPossible values:
resourceNamestringOptional
targetFolderIdstring · uuidOptional
Responses
chevron-right
200

Resource published successfully

application/json
resourceIdstring · uuidOptional
resourceTypestring · enumOptionalPossible values:
targetFolderIdstring · uuidOptional
publishedbooleanOptional
post
/api/v2/teamspaces/resources:publish

Unpublish resource from teamspace (v2)

post

Removes one resource from the teamspace area. Use this when the resource should no longer be visible in shared folders.

Body
resourceIdstring · uuidOptional
Responses
chevron-right
200

Resource unpublished successfully

application/json
resourceIdstring · uuidOptional
resourceTypestring · enumOptionalPossible values:
targetFolderIdstring · uuidOptional
publishedbooleanOptional
post
/api/v2/teamspaces/resources:unpublish

Last updated