Formats
Fetch the details of all the i18n formats supported by Transifex.
Fetching file format details
URL: /formats/
GET
The answer to the request is JSON-encoded and contains the fields description
, mimetype
, file-extensions
 for each i18n format supported by Transifex.
Example reply:
$ curl -i -L --user api:<token> -X GET https://www.transifex.com/api/2/formats/
{
"YML_KEY": {
"mimetype": "text/plain",
"file-extensions": ".yml, .yaml",
"description": "YAML Files based on the content"
},
"PHP_INI_KEY": {
"mimetype": "text/plain",
"file-extensions": ".ini",
"description": "PHP INI Files based on content"
},
"XLIFF": {
"mimetype": "text/xml",
"file-extensions": ".xlf, .xliff, .xml",
"description": "XLIFF file"
},
...
}