Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Provides access to the

...

languages available in the application.

URL:

/editor/language/[ID]

Available Methods:

GET / POST / PUT / DELETE

Specialities:

If an empty password field is given on PUT, password will be reset and user is requested by email to set a new password.

Resource Layout

| id       | int(11)      | NO   | PRI | NULL    | auto_increment |

| langName | varchar(255) | NO   | UNI | NULL    |                |

| lcid     | int(11)      | YES  | UNI | NULL    |                |

| rfc5646  | varchar(30)  | YES  | UNI | NULL    |                |

| rtl      | tinyint(1)   | YES  |     | 0       |                |

-

Resource Layout

Name

Type

Info

id

int

GET only

langName

string

A human readable name of the language

lcid

int

 

surName
The lcid for that language.

rfc5646

string

 

gender

string

 

login

string

 

email

string

 

roles

string

Comma separated string of valid system roles.

passwd

string

optional, settable by PUT / POST only, value is not returned by API

  • If omitted on PUT, no password change is done
  • If omitted on POST, the user receives an email to set his password

editable

boolean

GET only, set by server

locale

string

The rfc5646 representation (for example "en-gb")

rtl

boolean

Defines if the language should be rendered from right to left in the editor.
GET only, set by server