{ "opencollection": "1.0.0", "info": { "name": "Eventuate REST Entities API", "version": "1.0.0" }, "items": [ { "info": { "name": "Entities", "type": "folder" }, "items": [ { "info": { "name": "Create an entity", "type": "http" }, "http": { "method": "POST", "url": "{baseUrl}/entity/:entityType", "params": [ { "name": "entityType", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new event-sourced aggregate entity with initial events." }, { "info": { "name": "Get an entity", "type": "http" }, "http": { "method": "GET", "url": "{baseUrl}/entity/:entityType/:entityId", "params": [ { "name": "entityType", "value": "", "type": "path" }, { "name": "entityId", "value": "", "type": "path" } ] }, "docs": "Returns the current state and events of an aggregate entity." }, { "info": { "name": "Update an entity", "type": "http" }, "http": { "method": "POST", "url": "{baseUrl}/entity/:entityType/:entityId", "params": [ { "name": "entityType", "value": "", "type": "path" }, { "name": "entityId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an entity by appending new events." } ] } ], "bundled": true }