GET https://www.activityinfo.org/resources/databases/{databaseId}/dictionary/{dictionaryId:[a-zA-Z0-9/]*}/{language}
application/json
object |
id |
object |
The id of the dictionary |
required |
databaseId |
string |
The database to which this dictionary belongs |
required |
dictionaryId |
string |
The dictionary id. This will either be "database" or "form/{formId}. |
required |
version |
integer |
The current version number of the dictionary. The version number is incremented each time the dictionary is updated. |
required |
language |
string |
The ISO two-letter code for the language of these translations. |
required |
translatedStrings |
array[object] |
The list of translated strings. |
required |
id |
string |
The id of the string. This id is based on how the string is used in the database or form schema. |
required |
original |
string |
The original, untranslated, string. |
required |
translated |
string |
The translated string |
required |
autoTranslated |
boolean |
True if this translation was made automatically. |
required |
Status Code |
Error Code |
Description |
401 |
AUTHENTICATION_REQUIRED |
The request must be authenticated |
403 |
FORBIDDEN |
Permission denied |
404 |
NOT_FOUND |
The resource could not be found |
410 |
DELETED |
The resource has been deleted |
curl -u anything:YOUR_API_TOKEN \
https://www.activityinfo.org/resources/databases/ck8oykh8m5/dictionary/{dictionaryId:[a-zA-Z0-9/]*}/fr