Channel Admin Controller

List Folders in Channel

Path: /api/channels/{channelRef}/folders

Method: GET

Example Http Request

GET /api/channels/localhost/folders HTTP/1.1
Content-Type: application/json
X-WAL: 0x1371699df678b0d92025bc20fdb91fdef8ce9444
X-SIG: 0x1234567890
X-MES: Message to sign
Host: localhost:8080

Example Http Response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 62

[{"desc":"Public VRMs","folder":"public","bucket-name":"vrm"}]

Example Curl Request

$ curl 'http://localhost:8080/api/channels/localhost/folders' -i -X GET \
    -H 'Content-Type: application/json' \
    -H 'X-WAL: 0x1371699df678b0d92025bc20fdb91fdef8ce9444' \
    -H 'X-SIG: 0x1234567890' \
    -H 'X-MES: Message to sign'

Channel Admin Controller