Update information object endpoint¶
PUT /api/informationobjects/<slug>
This endpoint will allow updating an information object for a given slug. The following fields are permitted in the body of the request for updates:
- identifier
- level_of_description_id
- parent_id
- title
- description
- format
- source
- rights
- names
- dates
- notes
- types
- level_of_description
- published
Example request¶
curl -v -X PUT http://localhost:63001/api/informationobjects/test-description -H 'Content-Type: application/json' -H 'REST-API-Key: 3e136949f7b9b915' -d '{ "title": "New description title" }'
Example response¶
Example response is truncated and edited for readability.
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: private
{"id":200430, "parent_id": 1}

