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

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

(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:

domains=XML,JSON,POT

string, Optional

RESULTS

The result is a JSON array with compatible file extensions.

Example:

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

 

 

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008