Skip to main content

settings/documentformats/projects/{pid}/formats/extensions

Retrieves a list of file extensions permitted to process in the project (with respect to the configured document format profile).

The method helps to enumerate the files one can mark for translation in a specific project.

URL

CODE
(GET) /api/settings/documentformats/projects/{pid}/formats/extensions

PARAMETERS

The URL parameters are:

pid

A project ID.

int, Mandatory

domains

Optional. Comma separated list of parser domains. Filters configurations matching any of the listed domains.

Domains are XML, JSON, MSEXCEL, POT etc. See settings/documentformats to obtain a list of all domains.

Example:

CODE
domains=XML,JSON,POT

string, Optional

RESULTS

The result is a JSON array with compatible file extensions.

Example:

CODE
[".xls", ".xlsx", ".json", ".xml", ".txt"]

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.