Get file owner info
Заметка
[Since 2017.03]
A request to get file owner info for same tenant user.
POST /api/v1/files/{fileId}/owner HTTP/1.1
- Path parameters
| Parameter | Description |
|---|---|
fileId | The ID of the file. |
- Response structure
{
"email": "testsrvdocs@tacos.devoffice.ru",
"id": "5177189d266a4862ad93b1cda2f5ac2b",
"isInTrash": false,
"locale": "en-US",
"login": "testsrvdocs@tacos.devoffice.ru",
"mediaType": "text/plain",
"name": "r t"
}
- Example request
curl 'http://localhost:8080/api/v1/files/189380514/owner' -i -X GET \
-H 'X-co-auth-token: 1663c133ced23b9ca33dfde2b1022f8a'
- Example response
HTTP/1.1 200 OK
X-co-request-id: 776d324b7a73656e334f787767585669
Content-Type: application/json
Content-Length: 268
{
"email": "testsrvdocs@tacos.devoffice.ru",
"id": "5177189d266a4862ad93b1cda2f5ac2b",
"isInTrash": false,
"locale": "en-US",
"login": "testsrvdocs@tacos.devoffice.ru",
"mediaType": "text/plain",
"name": "r t"
}