Source Files
Add Directory
Required scopes: project.source.file (Read and Write).
post/projects/{projectId}/directories
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project Identifier. Get via List Projects
Request body
Example request
{
"name": "main",
"branchId": 34,
"directoryId": 2,
"title": "<Description materials>",
"exportPattern": "/localization/%locale%/%file_name%",
"priority": "normal"
}Response
Directory was successfully created
Example response
{
"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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.