Information Object Detail¶
The information object detail REST API endpoint provides data about information objects that exist in the system and allows modification and deletion.
-
GET
/api/informationobjects/<id>
¶ Summary of information object data.
Example request:
GET /api/informationobjects/528 HTTP/1.1 Host: example.com
Example response:
HTTP/1.1 200 OK Content-Type: application/json { "id": 528, "level_of_description_id": 376, "parent_id": 527, "parent": "Play Dead; Real Time", "title": "MoMA 2012" }
Status Codes: - 200 OK – no error
-
PUT
/api/informationobjects/<id>
¶ Update information object data.
Example request:
PUT /api/informationobjects/528 HTTP/1.1 Host: example.com { "title": "Play Dead" }
Example response:
HTTP/1.1 200 OK Content-Type: application/json { "id":528, "parent_id":527 }
Status Codes: - 200 OK – no error