daemon_no_auth_rest

🔴 Unstable

This API's output may be changed in the future.


Retrieve all REST resources this festivald allows without authorization, set in the no_auth_rest option

The reason why this method is 🔴 Unstable is because it will output all REST resources, even 🔴 Unstable ones, which may not exist in the future.

Ordering of the resource names should not be relied upon.

Inputs

None

Outputs

FieldTypeDescription
lenunsigned integerTotal amount of methods
restarray of string'sThe names of all the REST resources this festivald allows without authorization

Example Request

festival-cli daemon_no_auth_rest
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"daemon_no_auth_rest"}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "len": 2,
    "rest": [
      "song",
      "art"
    ]
  },
  "id": 0
}