Skip to content

The prescribed-text catalog.

GET
/api/v1/novels
curl --request GET \
--url https://api.utmelab.com/api/v1/novels \
--header 'X-API-Key: <X-API-Key>'
exam
string | null

Scope to an exam.

year
integer | null format: int32

Scope to a prescribed cycle.

featured
boolean | null

Only featured texts. Default: no filter.

category
string | null

Scope to a category, e.g. literature.

page
integer | null format: int32

1-based page. Default: 1.

per_page
integer | null format: int32

Rows per page, clamped to 1..200. Default: 50.

Media typeapplication/json
Array<object>

A prescribed text. One row per (exam, cycle): the set text rotates, so the prescription years are load-bearing, not decorative.

object
author
required
string
category
required

Which paper sets it: reading text or prescribed literature.

string
cover_image
string | null
exam
required
string
featured
required

At most one per exam: the current set text.

boolean
id
required
string
setting_period
required
string
setting_place
required
string
synopsis
required
string
title
required
string
year_prescribed
required

Every cycle this is (or was) the set text for.

Array<integer>
year_published

Unknown for older set texts: absent, not zero.

integer | null format: int32

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.

Media typeapplication/json

Stable body returned by HTTP error responses.

object
code
required
string
error
required
string

Example generated

{
"code": "example",
"error": "example"
}

The API key lacks the required scope.

Media typeapplication/json

Stable body returned by HTTP error responses.

object
code
required
string
error
required
string

Example generated

{
"code": "example",
"error": "example"
}

The caller has exceeded the applicable rate limit.

Media typeapplication/json

Stable body returned by HTTP error responses.

object
code
required
string
error
required
string

Example generated

{
"code": "example",
"error": "example"
}

The API is temporarily unavailable.

Media typeapplication/json

Stable body returned by HTTP error responses.

object
code
required
string
error
required
string

Example generated

{
"code": "example",
"error": "example"
}