Authorization: Bearer ********************openidoffline_accessprofileemailcurl --location --request POST 'https://api.belga.press/belgapress/api/documents' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"collaboration": {
"editorIds": [
0
],
"ownerIds": [
0
],
"type": "PRIVATE"
},
"description": "string",
"tagIds": [
0
],
"title": "string"
}'{
"collaboration": {
"editors": [
{
"email": "user@example.com",
"firstName": "string",
"lastName": "string",
"organizationName": "string",
"userId": 0
}
],
"owners": [
{
"email": "user@example.com",
"firstName": "string",
"lastName": "string",
"organizationName": "string",
"userId": 0
}
],
"type": "PRIVATE"
},
"createDate": "2019-08-24T14:15:22.123Z",
"description": "string",
"files": [
{
"filename": "string",
"filesize": 0,
"filetype": "DOCX",
"uri": "http://example.com"
}
],
"id": 0,
"newsObjectUuid": "3da2e2ad-5bb7-431b-b23b-0d398484e92c",
"tags": [
{
"id": 0,
"image": "string",
"name": "string",
"subscribed": true,
"type": "LABEL"
}
],
"title": "string"
}