Update Files
Upload fresh version of your localization file to Crowdin.
Request
POST http://api.crowdin.net/api/project/{project-identifier}/update-file?key={project-key}
Parameters
| Name | Value | Description |
|---|---|---|
| filesrequired | array | Files array that should be updated. |
| keyrequired | string | Project API key. |
| Variables | ||
| project-identifierrequired | string | Should contain the project identifier. |
Response
If successful, this method returns a XML structure, as shown below.
Sample unsuccessful response:
<?xml version="1.0" encoding="ISO-8859-1"?>
Sample unsuccessful response:
<?xml version="1.0" encoding="ISO-8859-1"?>3API key is not valid
Examples
curl \
-F "files[/directory/strings.xml]=@strings.xml" \
http://api.crowdin.net/api/project/{project-identifier}/update-file?key={project-key}
