media/filescollection/{key}/items/file/properties

Gets the details for a file in the collection.

URL

(GET) /api/media/filescollection/{key}/items/file/properties?filename={filename}

PARAMETERS

The URL parameters are:

key

The unique files collection ID

string, Mandatory

filename

The filename including the file extension such as “myfile.docx” or “webpage.html”.

If the collection does not contains the file the method will return an HTTP error.

string, Mandatory

RESULTS

The result is a JSON object with the file properties. See File object for details.

Example:

"name": "marketing.docx", "ext": ".docx", "translate": false, "parserId": null, "domain": null, "parsers": null, "pageCount": null, "sizeKB": 1, "comments": null }

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008