JSON API » help » help/get

Gets the contents of the help key for a specified user, or for a specified language.

Input parameters

Optionally allows authentication. If authentication is provided, the help for the user's language is returned. If authentication is not provided, or is invalid, the help for the specified language, or English by default, is returned.

NameTypeDescriptionRequiredDefault value
keyStringHelp key to get.Yes
auth_usernameStringAuthentication username.NoNone
auth_passwordStringAuthentication password.NoNone
languageStringLanguage to use if authentication is not providedNo"en"
encodingString"base64" to return contents base64 encoded, "raw" to return raw data.No"raw"

Responses

CodeDescription
200Success.
400Invalid input parameters specified. Check the key and message fields for more details.
404The help key was not found.

Data returned

Contents of help key.

Example: With authentication

http://enswitch.example.com/api/json/help/get/?auth_username=user;auth_password=password;key=phones/edit

{ "responses":[ { "code":"200", "key":"", "message":"OK" } ], "data":{ "data":"<p>This is help text for the edit telephone line page.</p>" } }

Example: Without authentication

http://enswitch.example.com/api/json/help/get/?key=phones/edit;language=en

{ "responses":[ { "code":"200", "key":"", "message":"OK" } ], "data":{ "data":"<p>This is help text for the edit telephone line page.</p>" } }

Change history

VersionChanges
4.0Function added.