collection_brief_songs
🟢 Stable
This API is stable since festivald v1.0.0.
Retrieve an array of every Song title in the current Collection.
The returned array of string's is in lexicographical order.
Inputs
None
Outputs
| Field | Type | Description |
|---|---|---|
| len | unsigned integer | How many Song's there are |
| songs | array of string's | The title of every Song in the Collection |
Example Request
festival-cli collection_brief_songs
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"collection_brief_songs"}'
Example Response
{
"jsonrpc": "2.0",
"result": {
"len": 3,
"songs": [
"aaa",
"bbb",
"ccc"
]
},
"id": 0
}