Hello,
I know how to get the file content but how to get the filename, the mimetypes of a just uploaded content?
Thanks,
JC
Hello,
I know how to get the file content but how to get the filename, the mimetypes of a just uploaded content?
Thanks,
JC
Hi.
With REST you can get the ContentItem like this;
GET /content-service/content-items/{contentItemId}
(on the exposed content API)
This will return something like this;
{
"id": "string",
"name": "string",
"mimeType": "string",
"taskId": "string",
"processInstanceId": "string",
"contentStoreId": "string",
"contentStoreName": "string",
"contentAvailable": true,
"tenantId": "string",
"created": "2019-01-17T08:38:08.058Z",
"createdBy": "string",
"lastModified": "2019-01-17T08:38:08.058Z",
"lastModifiedBy": "string",
"url": "string"
}
Regards,
Yvo