Skip to main content

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

Gets the details for a file in the collection.

URL

CODE
(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:

CODE

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

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.