Hey,
don't know if i am just stupid but I tried getting the project list from my server via websocket in the past couple hours but failed.
What did I do? Create the websocket connection using the api key as authentication, pinged the server to retrieve a session id, list the servers to retrieve server uuid, try to list projects which fails (permission denied). As parameters for projectsGetFolder I used uuid (also tried serveruuid, it wasn't clear to me which one is correct as the API page states both) as well as id (1: root) to list all projects in root folder. I tried the server api as authentification but also the api key of the admin user.
The result is always the same:
<blockquote class="Quote">session: YN!sOK@yMhR7h@ZmCoh9UrKv$GTHOtC
uuid: ff107805-38d3-4881-9e11-77865bddef31
List projects result: {
"callback_id": 2,
"data": {
"error": "Permission denied.",
"ok": false
},
"session": "YN!sOK@yMhR7h@ZmCoh9UrKv$GTHOtC"
}
Hope I am just stupid and this will be a quick fix.