settings/domains/codes

Retrieves the list of translation domains with code and name.

Translation domains can be customized in Wordbee Translator at: Settings > Customization > Translation Settings > Translation Domains > Configure.

URL

(GET) /api/settings/domains/codes
(POST) /api/settings/domains/codes
 

PARAMETERS

The method has no parameters.

Use the POST variant for Auto-completion and pagination.


RESULTS

The result is a JSON array with one element per domain:

vA numeric identifier of the domainint
t

Name of domain.

Domains are organized hierarchically. For example you might find "Arts" and subdomains like "Arts/Architecture" or "Arts/Theater."

The "/" character is used to define domain hierarchies.

string


EXAMPLE

List of domains with numeric identifier and name.

 [
  {
    "v": 5,
    "t": "Legal"
  },
  {
    "v": 11,
    "t": "Legal/Contracts"
  },
  {
    "v": 32,
    "t": "Legal/Contracts/International"
  },
  ...
]




Copyright Wordbee - Buzzin' Outside the Box since 2008