Publish a dossier

POST {{baseUrl}}/api/library

Publish a document to users or user groups in a specific project. This makes the document available in the library of each user it is published to. You can publish a document or an instance of a document; you can publish a document to any user, but you can only publish an instance to the current user. You obtain the authorization token needed to execute the request using POST /auth/login; you obtain the project ID using GET /projects. You pass the authorization token and the project ID in the request header. You provide information about the document to be published in the body parameter of the request; this includes the document or instance to be published and the users it will be published to.

Request Body

{"id"=>"{{rd_dossierId}}", "recipients"=>[{"id"=>"{{rd_userGroupId}}"}, {"id"=>"{{rd_userGroup2Id}}"}], "isInstance"=>"false"}

HEADERS

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(Required) Authorization token
X-MSTR-ProjectIDstring(Required) Project ID
Content-Typestring