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"}}
07-17-2014 05:13 AM
Thank you,
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.