Meta Data
Used to get the meta data of a file in the upload directory
URL : /api/v1/file/meta-data/<name>
URL Parameters :
- name=[string] : a valid file name that exists in the upload directory.
Method : GET
Auth required : YES
Permissions required
- Roles:
_administrator_
,developer
,operator
,viewer
Data constraints : None
Data example : None
Success Response
Code : 200 OK
Content example
GET /api/v1/file/meta-data/UN_5063_1_A_2017-03-23_1.jpg
{
"FILE": {
"FileName": "UN_5063_1_A_2017-03-23_1.jpg","FileSize":83853,"FileDateTime":"2019-03-21 02:27:44","MimeType":"image/jpeg"
},
"thumbnail":"data:image/png;base64,iVBORw0KGgo......AASUVORK5CYII="
}
1
2
3
4
5
6
2
3
4
5
6
Error Response
Condition : If 'core_type' is empty.
Code : 422 Unprocessable entity
Content :