Skip to content

API Base

Julien Brochet edited this page Mar 10, 2020 · 4 revisions

List of endpoints available in the API Base.


getinfo_encryption

Get the API encryption information.

result = client.base.getinfo_encryption()
{
    'cipherkey': '__cIpHeRtExT',
    'ciphertoken': '__cIpHeRtOkEn',
    'public_key': '[...]',
    'server_time': 1550255617
}

query_info

List all available API endpoints.

result = client.base.query_info()
{
    "SYNO.API.Auth": {
        "maxVersion": 3,
        "minVersion": 1,
        "path": "auth.cgi"
    },
    "SYNO.API.Encryption": {
        "maxVersion": 1,
        "minVersion": 1,
        "path": "encryption.cgi"
    },
    ...
}
Clone this wiki locally