-
-
Notifications
You must be signed in to change notification settings - Fork 6
API Base
Julien Brochet edited this page Mar 10, 2020
·
4 revisions
List of endpoints available in the API Base.
Get the API encryption information.
result = client.base.getinfo_encryption()
{
'cipherkey': '__cIpHeRtExT',
'ciphertoken': '__cIpHeRtOkEn',
'public_key': '[...]',
'server_time': 1550255617
}
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"
},
...
}