List Directories
Required scopes: project.source.file (Read only).
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScripthttps://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/projects/:projectId/directories/get.tsA 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
Filter directories by branchId
Note: Can't be used with directoryId in the same request.
To list the directories from all the nested levels within the branch, ensure to use the recursion parameter with the branchId parameter.
Filter directories by directoryId
Note: Can't be used with branchId in the same request.
To list the directories from all the nested levels within the directory, ensure to use the recursion parameter with the directoryId parameter.
Filter directories by name
Use to list directories 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
List project directories
Example response
{
"data": [
{
"data": {
"id": 4,
"projectId": 2,
"branchId": 34,
"name": "main",
"title": "<Description materials>",
"exportPattern": "/localization/%locale%/%file_name%",
"path": "/main",
"priority": "normal",
"createdAt": "2019-09-19T14:14:00+00:00",
"updatedAt": "2019-09-19T14:14:00+00:00"
}
}
],
"pagination": {
"limit": 25
}
}Changes
No recorded changes to this operation across all 1 revision of this API.