One syllabus topic, with its examinable objectives.
const url = 'https://api.utmelab.com/api/v1/topics/example/example/example';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/topics/example/example/example \ --header 'X-API-Key: <X-API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Exam code, e.g. JAMB.
Subject slug, e.g. physics.
Topic slug, e.g. mechanics.
Responses
Section titled “Responses”A topic within one exam’s syllabus.
object
object
Canonical position of this reference within its parent.
Examinable statements attached at topic level. Empty where the board states none, never invented.
Marks the board gives this topic. Zero means “not published”, never “worth nothing”. A fabricated weight would reach consumers as a fact.
Example generated
{ "exam": "example", "lesson_refs": [ { "id": "example", "order": 1, "title": "example" } ], "name": "example", "objectives": [ "example" ], "order": 1, "slug": "example", "subject": "example", "weight": 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"}No such topic
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"}