Atramhasis

Edit the concept or collection with id `c_id`.

Changed on

Edit the concept or collection with id c_id. The response body will contain a representation of the concept or collection after the modifications.

put/conceptschemes/{scheme_id}/c/{c_id}

Request

Path parameters

scheme_idstring required

The identifier for a certain concept scheme.

c_idstring required

The identifier for a certain concept or collection.

Request body

OR

Example request

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

Response

The concept or collection was edited succesfully.

OR

Example response

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

Changes

    • breaking

      the request's body type changed from object to no type

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's property type changed from string to array for status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added to the request body oneOf list

    • info

      removed subschema #2 from the response body allOf list for the response status

    • breaking

      the // request property type changed from integer to string

    • breaking

      the request property type changed from integer to string

    • breaking

      the // request property type changed from integer to string

    • breaking

      the // request property type changed from integer to string

    • breaking

      the // request property type changed from integer to string

    • breaking

      the // request property type changed from integer to string

    • breaking

      the // request property type changed from integer to string

    • breaking

      the ////// response's property type changed from integer to string for status

    • breaking

      the //// response's property type changed from integer to string for status

    • breaking

      the ////// response's property type changed from integer to string for status

    • breaking

      the ////// response's property type changed from integer to string for status

    • breaking

      the ////// response's property type changed from integer to string for status

    • breaking

      the ////// response's property type changed from integer to string for status

    • breaking

      the ////// response's property type changed from integer to string for status

    • breaking

      the / response's property type changed from integer to string for status

    • info

      for the path request parameter c_id, the type was generalized from integer to string