library-rpc
List every author.
RPC
authors.listReturns every author on record, ordered by id. This method takes no parameters and is not paginated.
Servers
•
mock: https://mock.api.selfdochub.com/rpcResponses
result The full list of authors.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| authors | array of object | yes | |
| bio | string | yes | A short biography of the author. |
| bookIds | array of string | yes | Ids of the books this author has written. |
| id | string | yes | Unique identifier assigned by the server, prefixed with au_. |
| name | string | yes | The author's full name. |
Request example
{
"id": 1,
"jsonrpc": "2.0",
"method": "authors.list",
"params": {}
}Response example
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"authors": [
{
"bio": "bio_393",
"bookIds": [
"bookIds_625"
],
"id": "id_729",
"name": "name_55"
}
]
}
}