v1

latestOpenAPI 3.0.32026-07-17463044.1 KB
Atramhasis

Add a concept or collection to a conceptscheme.

Add a concept or collection to a conceptscheme. The response body will contain a representation of the concept or collection after is has been added to the conceptscheme.

post/conceptschemes/{scheme_id}/c

Path parameters

scheme_idstring required

The identifier for a certain concept scheme.

Request body

OR

Example request

{
  "labels": [
    {
      "type": "prefLabel",
      "language": "en",
      "label": "Apple"
    }
  ]
}

Response

The concept or collection was added succesfully.

OR

Example response

{
  "labels": [
    {
      "type": "prefLabel",
      "language": "en",
      "label": "Apple"
    }
  ],
  "concept_scheme": {
    "labels": [
      {
        "type": "prefLabel",
        "language": "en",
        "label": "Apple"
      }
    ]
  }
}