{ "opencollection": "1.0.0", "info": { "name": "DMI Backend actions ontology-promotion API", "version": "0.1.0" }, "items": [ { "info": { "name": "ontology-promotion", "type": "folder" }, "items": [ { "info": { "name": "Promote Database", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/ontology/databases/:database_id/promote", "params": [ { "name": "database_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Promote a Database into an OntologyEntity (creates the writeable surface)." }, { "info": { "name": "Demote Entity", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/ontology/entities/:entity_id/demote", "params": [ { "name": "entity_id", "value": "", "type": "path" } ] }, "docs": "Tear down an OntologyEntity, leaving its underlying Database intact.\n\nRefuses with 409 when overlays exist — caller must clear them first." }, { "info": { "name": "Clear Overlays", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/ontology/entities/:entity_id/clear-overlays", "params": [ { "name": "entity_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Type-to-confirm wipe of every overlay row for an entity." } ] } ], "bundled": true }