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.
jsonoptional string May not contain value. Defines that response should be in JSON format.
jsonpoptional string Callback function name. Defines that response should be in JSONP format.
Variables
project-identifierrequired string Should contain the project identifier.

Response

If the method is successful, it responds with an XML structure, as shown below.
<?xml version="1.0" encoding="ISO-8859-1"?>



Unsuccessful response sample:
<?xml version="1.0" encoding="ISO-8859-1"?>

  3
  API key is not valid


Examples

curl \
            -F "name=localizable" \
            http://api.crowdin.net/api/project/{project-identifier}/add-directory?key={project-key}