Label of Controlled Vocabularies

Provides information on access to controlled vocabulary labels.

Endpoint Overview

Listing labels of controlled vocabularies which are used in the metadata schema.

API description

label

Get the labels of controlled vocabularies used in the metadata schema

GET /resources/api/label/{language}
Parameters
name type data type description
language (path) required string Language-code of the labels (ISO-639-1)
field (query) optional string Name of the field to retrieve the labels for. Labels of all fields if this parameter is omitted.
Responses
http code content-type response
200 application/json JSON-response containing all the ID -> LABEL Mappings
Example cURL
curl -X GET https://oersi.org/resources/api/label/de?field=learningResourceType \
  -H "Content-Type: application/json" --user-agent "MyBot/1.0 (https://example.org/mybot/; mybot@example.org)"