Create Directory
Add directory to Crowdin project.
Request
POST http://api.crowdin.net/api/project/{project-identifier}/add-directory?key={project-key}
Parameters
| Name | Value | Description |
|---|---|---|
| namerequired | string | Directory name (with path if nested directory should be created). |
| keyrequired | string | Project API key. |
| Variables | ||
| project-identifierrequired | string | Should contain the project identifier. |
Response
If the method is successful, it responds with an XML structure, as shown below.
Unsuccessful respose sample:
<?xml version="1.0" encoding="ISO-8859-1"?>
Unsuccessful respose sample:
<?xml version="1.0" encoding="ISO-8859-1"?>3API key is not valid
Examples
curl \
-F "name=localizable" \
http://api.crowdin.net/api/project/{project-identifier}/add-directory?key={project-key}
