files
Retrieve physical file object metadata
Changed onGet information of the file object (not the resource it describes) as JSON. For example, size of file, date created, content type, filename.
get/files/{id}/metadata
Request
- Base URLhttps://clowder.ncsa.illinois.edu/clowder/api
- Auth
- HTTP basic
- or API key in header X-API-Key
- or API key in query parameter key
Path parameters
idstring required
Response
Successfully returns a list of files
Example response
{
"id": "5b8e969d5e0e8690971ee23e",
"filename": "cat.jpg",
"filepath": "/home/clowder/data/uploads/41/e2/1e/5b8e969d5e0e8690971ee241",
"filedescription": "Picture of a cat",
"content-type": "image/jpeg",
"date-created": "Tue Sep 04 09:28:45 CDT 2018",
"size": "190497",
"authorId": "5447f889fa429866bbd44dbd",
"thumbnail": "5bfd5a2640c6cd6147bb27e0",
"status": "PROCESSED"
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info