library-rpc

List every author.

RPCauthors.list

Returns every author on record, ordered by id. This method takes no parameters and is not paginated.

Servers

•mock: https://mock.api.selfdochub.com/rpc

Responses

result The full list of authors.

application/json

FieldTypeRequiredDescription
authorsarray of objectyes
biostringyesA short biography of the author.
bookIdsarray of stringyesIds of the books this author has written.
idstringyesUnique identifier assigned by the server, prefixed with au_.
namestringyesThe 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"
      }
    ]
  }
}