Utility functionality.
This resources represents the potential error codes that may be returned by any given resource.
Resource URI:
/rest/hosting/errcodes/
Return the available error codes.
Note
This resource requires read permission on the elastic_hosting extension module when using the HTTP GET method.
| Return type: | util.RepErrCodes |
|---|
This resource represents the language labels used in the user interface.
Resource URI:
/rest/hosting/i18n/
Return the language labels used in the user interface by submitting an HTTP GET request.
Note
This resource requires read permission on the elastic_hosting extension module when using the HTTP GET method.
| Parameter: | locale – The locale of the translations to return. |
|---|---|
| Return type: | util.RepI18N |
This resource represents the icons for operation systems and applications used in the user interface.
Resource URI:
/rest/hosting/iconmap/
Return the icons used in the user interface.
Note
This resource requires read permission on the elastic_hosting extension module when using the HTTP GET method.
| Return type: | util.RepIconMap |
|---|
This is a representation of the available API error codes.
Representation:
{"errno": response.errno,
"message": response.message,
"errcodes": {"err_label": err.number}}
This is a representation of language labels used in the user interface.
Representation:
{"errno": response.errno,
"message": response.message,
"i18n": {"current": i18n.current,
"supported": i18n.supported,
"i18n_label": i18n.translation}}
This is a representation of the icons used in the user interface.
Representation:
{"errno": response.errno,
"message": response.message,
"icons": {"base_path": "/path/",
"os_label": {"small": os.small,
"medium": os.medium}}}