List Files

GET - /files-api/v2/projects/{projectId}/files/list

Lists recently uploaded files. Returns a maximum of 500 files.

Parameters

uriMask (optional)

Returns only files with a URI containing the given substring. Case is ignored. For example, the value .json will match strings.json and STRINGS.JSON but not json.strings

fileTypes[] (optional)

array - Identifiers: android, ios, gettext, html, javaProperties, yaml, xliff, xml, json, docx, pptx, xlsx, idml, qt, resx, plaintext, cvs.

lastUploadedAfter (optional)

Return all files uploaded after the specified date. See Date Format for more details.

lastUploadedBefore (optional)

Return all files uploaded before the specified date. See Date Format for more details.

limit and offset (optional)

See Limit and Offset. If not set, limit defaults to 500 and offset defaults to 0.

Returns
{
    "response": {
        "code": "SUCCESS",
        "data": {
            "totalCount": "[number]",
            "items": [{
                "fileUri": "[/myproject/i18n/ui.properties]",
                "lastUploaded": "[YYYY-MM-DDThh:mm:ssZ]",
                "fileType": "[fileType]",
                "hasInstructions": "false"
            }]
        }
    }
}

totalCount

The number of files that match your specified criteria.

fileUri

A unique identifier for the uploaded file.

lastUploaded

The time and date of the last upload: YYYY-MM-DDThh:mm:ss

fileType

The type of file: android, ios, gettext, javaProperties, xliff, yaml, etc

hasInstructions

Boolean - records whether translator instructions have been captured for the file.

Examples