List Files
Required scopes: project.source.file (Read only).
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Project Identifier. Get via List Projects
Query parameters
Read more about sorting rules
List branch files
Note: Can't be used with directoryId in the same request.
To list the files from all the nested levels within the branch, ensure to use the recursion parameter with the branchId parameter.
List directory files
Note: Can't be used with branchId in the same request.
To list the files from all the nested levels within the directory, ensure to use the recursion parameter with the directoryId parameter.
Filter files by name
Use to list files recursively
Note: Works only when directoryId or branchId parameter is specified
A maximum number of items to retrieve
A starting offset in the collection
Response
Project files list
- Translators and proofreaders – receive the response File Info Resource
- Project owners, organization admins, and managers – receive the response File Resource
Example response
{
"data": [
{
"data": {
"id": 44,
"projectId": 2,
"branchId": 34,
"directoryId": 4,
"name": "umbrella_app.xliff",
"title": "source_app_info",
"context": "Context for translators",
"type": "xliff",
"path": "/directory1/directory2/filename.extension",
"status": "active",
"fields": {
"some-field-1": "some value 1",
"some-field-2": 12,
"some-field-3": true,
"some-field-4": [
"en",
"ja"
]
}
}
}
],
"pagination": {
"limit": 25
}
}Changes
No recorded changes to this operation across all 1 revision of this API.