mail Questions? Contact Crowdin.net

Upload Glossaries

Upload your glossarries for Crowdin Project in TBX file format.

Request

POST http://api.crowdin.net/api/project/{project-identifier}/upload-glossary?key={project-key}

Parameters

Name Value Description
filerequired file XML file in TBX format.
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.
<?xml version="1.0" encoding="ISO-8859-1"?>
  

Sample unsuccessful response:
<?xml version="1.0" encoding="ISO-8859-1"?>

  3
  API key is not valid


Examples

curl \
-F "file=@glossaries.tbx" \
http://api.crowdin.net/api/project/{project-identifier}/upload-glossary?key={project-key}