The prescribed-text catalog.
const url = 'https://api.utmelab.com/api/v1/novels';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.utmelab.com/api/v1/novels \ --header 'X-API-Key: <X-API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Scope to an exam.
Scope to a prescribed cycle.
Only featured texts. Default: no filter.
Scope to a category, e.g. literature.
1-based page. Default: 1.
Rows per page, clamped to 1..200. Default: 50.
Responses
Section titled “Responses”A prescribed text. One row per (exam, cycle): the set text rotates, so the prescription years are load-bearing, not decorative.
object
Which paper sets it: reading text or prescribed literature.
At most one per exam: the current set text.
Every cycle this is (or was) the set text for.
Unknown for older set texts: absent, not zero.
Example generated
[ { "author": "example", "category": "example", "cover_image": "example", "exam": "example", "featured": true, "id": "example", "setting_period": "example", "setting_place": "example", "synopsis": "example", "title": "example", "year_prescribed": [ 1 ], "year_published": 1 }]An API key is missing or invalid.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The API key lacks the required scope.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The caller has exceeded the applicable rate limit.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The API is temporarily unavailable.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}