Only authenticated users are allowed to access the API. Authentication is done by sending a Basic HTTP Authorisation header.
All names aren't allowed to contain spaces, slashes or colons.
The Language REST service supports only XML and JSON input/output formats.
This module provides access to the basic language component. Curretly it provides primary language settings, root locale settings and if use UTF8 variant of language. It also provides available languages.
The module uses YaST Language as the backend.
The following PolicyKit permissions are needed to read and write settings:
Read: org.opensuse.yast.modules.yapi.language.read
Write: org.opensuse.yast.modules.yapi.language.write
Get the the current settings of language and available languages.
CURL Example: curl -u <user> http://localhost:4984/language.xml
Result: Example