ckanaction

term_translation_update

PUT
term_translation_update

Create or update a term translation.

You must be a sysadmin to create or update term translations.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
term?string

the term to be translated, in the original language, e.g. 'fruit'

term_translation?string

the translation of the term, e.g. 'obst'

lang_code?string

the language code of the translation, e.g. 'de'

Example Request
curl -X PUT 'http://localhost:5000/api/3/action/term_translation_update' \  -H 'Content-Type: application/json' \  -d '{}'