Skip to main content

media/filescollection/{key}/items

Get the list of files contained in the files collection.

This method is similar to media/filescollection/{key} except that it only returns the files property but not all the other information.

URL

CODE
(GET) /api/media/filescollection/{key}/files

PARAMETERS

The URL parameters are:

key

The unique files collection ID

string, Mandatory

RESULTS

The result is a JSON array. Each element describes a file in the collection.

See File object for a description of properties.

EXAMPLES

Get list of files in a collection:

CODE
GET /api/media/filescollection/5457027a-5c62-479a-aee1-f7dbbe3bfc28/files

The result is:

CODE
  [
    {
        "name": "another.xliff",
        "ext": ".xliff",
        "translate": false,
        "parserId": null,
        "domain": null,
        "parsers": null,
        "pageCount": null,
        "sizeKB": 232,
        "comments": null
    },
    {
        "name": "folderanother.xliff",
        "ext": ".xliff",
        "translate": false,
        "parserId": null,
        "domain": null,
        "parsers": null,
        "pageCount": null,
        "sizeKB": 11,
        "comments": "No comments!"
    },
    {
        "name": "myfile.xliff",
        "ext": ".xliff",
        "translate": false,
        "parserId": null,
        "domain": null,
        "parsers": null,
        "pageCount": 2,
        "sizeKB": 13,
        "comments": null
    }
]

JavaScript errors detected

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

If this problem persists, please contact our support.