07-03-2014 12:54 PM
Hi,
Can I use the REST API to create workspace and add access rights for user ?
Thanks in advance
07-08-2014 12:22 PM
Hi,
A Workspace is a document. It is a document whose type is "Workspace".
You can create a workspace with a call such as:
POST http://localhost:8080/nuxeo/site/api/v1/path/default-domain/workspaces
Headers:
Authorization: Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y==
Content-Type: application/json
Body:
{"entity-type": "document","name":"The-New-Workspace","type": "Workspace","properties": {"dc:title":"The New Workspace"}}
07-08-2014 12:22 PM
Hi,
A Workspace is a document. It is a document whose type is "Workspace".
You can create a workspace with a call such as:
POST http://localhost:8080/nuxeo/site/api/v1/path/default-domain/workspaces
Headers:
Authorization: Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y==
Content-Type: application/json
Body:
{"entity-type": "document","name":"The-New-Workspace","type": "Workspace","properties": {"dc:title":"The New Workspace"}}
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.