REST API · Library
Author
An author and their works.
GET
/api/v1/library/{lang}/{author}Mirrors the author page /library/{lang}/{author}.
Parameters
| Name | Description |
|---|---|
langstring | RequiredIn the pathLanguage as in site URLs. One of |
authorstring | RequiredIn the pathAuthor slug, as in the site URL. Example |
Response
200 OK with a Author object.
| Name | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
namestring | |||||||||||||||||||||
nativeNamestring or null | |||||||||||||||||||||
langstring | Language code: la (Latin) or grc (Ancient Greek). One of | ||||||||||||||||||||
periodstring or null | |||||||||||||||||||||
urlstring | Absolute URL. | ||||||||||||||||||||
apistring | Absolute URL. | ||||||||||||||||||||
languagestring | |||||||||||||||||||||
markdownstring | Absolute URL. | ||||||||||||||||||||
worksarray of WorkSummary | 10 fields
|
Errors
| Status | When |
|---|---|
400 Bad Request | A parameter is missing or invalid, or the reference isn't a text. |
404 Not Found | Not in the library. |
429 Too Many Requests | Too many requests from one address. Wait a minute. |
500 Internal Server Error | Something went wrong on our side. |
Error bodies are described in Caching, limits and errors.