Ich antworte mir mal selber:
cat /volume1/@appstore/WebStation/webapi/SYNO.WebStation.lib | jq .
bringt den erwünschten Erfolg.... nach einer Idee von (
API methods and parameters)
Das beantwortet erst einmal nicht die generelle Frage, wie ich über einen http(s) Aufruf dran komme, aber ich kann schon mal weiter machen.
{
"SYNO.WebStation.Default": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"get": {
"allowDemo": true,
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"set": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.ErrorPage": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"import": {
"allowUpload": true,
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"export": {
"allowDownload": true,
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"remove": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"update": {
"allowUpload": true,
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"create": {
"allowUpload": true,
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"list": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.HTTP.VHost": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"list": {
"allowDemo": true,
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"add": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"delete": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"update": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.PHP": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"get": {
"allowDemo": true,
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"set": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"set_advanced": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.PHP.Profile": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"list": {
"allowDemo": true,
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"add": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"update": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"delete": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.Python": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"get_version": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"search": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"get": {
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.Python.Profile": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"delete": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"update": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"add": {
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
},
{
"list": {
"allowDemo": true,
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.Shortcut": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"remove": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"list": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"update": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"create": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.Status": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"get": {
"allowDemo": true,
"cgiProcReusable": true,
"grantByDefault": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.WebService.Portal": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"remove": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"create": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"update": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
},
{
"list": {
"allowDemo": true,
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
},
"SYNO.WebStation.WebService.Service": {
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"appPriv": "",
"authLevel": 1,
"disableSocket": false,
"lib": "/var/packages/WebStation/target/webapi/SYNO.WebStation.so",
"maxVersion": 1,
"methods": {
"1": [
{
"list": {
"allowDemo": true,
"allowUser": [
"admin.local",
"admin.domain",
"admin.ldap"
],
"cgiProcReusable": true,
"grantByUser": false,
"grantable": true,
"systemdSlice": ""
}
}
]
},
"minVersion": 1,
"priority": 10,
"socket": "",
"socketConnTimeout": 600
}
}
Grüße Thomassino