list

To get the list of custom retranslators, use the retranslator/list method.

svc=retranslator/list&params={}

Parameters

No parameters are required. Pass an empty object in the request.

Response

If the request is completed successfully, a response of the following format is returned:

Copied!
{
    "custom_retranslators": [
        {
            "name": "apad_gps",
            "params": {
                "fields": [
                    {
                        "key": "server",
                        "type": "name"
                    },
                    {
                        "key": "api_key",
                        "type": "name"
                    },
                    {
                        "key": "password",
                        "type": "name"
                    }
                ],
                "name": "APAD GPS",
                "public": 1
            }
    },
    {
            "name": "blac_solutions",
            "params": {
                "fields": [
                    {
                        "key": "server",
                        "type": "name"
                    },
                    {
                        "key": "username",
                        "type": "name"
                    },
                    {
                        "key": "password",
                        "type": "name"
                    }
                ],
                "name": "Blac Solutions IQER",
                "public": 1
            }
    },
    ...................
  ]
}

Otherwise, an error code is returned.

Error codes

Error code Description
5 Failed to get custom retranslators.
6 The current user has no right to execute the method.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Your message was sent. Thank you!

Report a mistake

An error occurred while submitting the form

Download PDF file
Download Word document

See also