{ "opencollection": "1.0.0", "info": { "name": "Ceramic Config Interests API", "version": "0.58.0" }, "items": [ { "info": { "name": "Interests", "type": "folder" }, "items": [ { "info": { "name": "Register interest for a sort key", "type": "http" }, "http": { "method": "POST", "url": "/ceramic/interests/:sort_key/:sort_value", "params": [ { "name": "sort_key", "value": "", "type": "path", "description": "name of the sort_key" }, { "name": "sort_value", "value": "", "type": "path", "description": "value associated with the sort key" }, { "name": "controller", "value": "", "type": "query", "description": "the controller to register interest for" }, { "name": "streamId", "value": "", "type": "query", "description": "the stream to register interest for" } ] }, "docs": "Register interest for a sort key" }, { "info": { "name": "cors", "type": "http" }, "http": { "method": "OPTIONS", "url": "/ceramic/interests/:sort_key/:sort_value", "params": [ { "name": "sort_key", "value": "", "type": "path", "description": "Name of the field in the Events header that holds the separator value e.g. 'model'" }, { "name": "sort_value", "value": "", "type": "path", "description": "The value of the field in the Events header indicated by the separator key e.g. multibase encoded model ID" } ] }, "docs": "cors" }, { "info": { "name": "Register interest for a sort key", "type": "http" }, "http": { "method": "POST", "url": "/ceramic/interests", "body": { "type": "json", "data": "{}" } }, "docs": "Register interest for a sort key" }, { "info": { "name": "cors", "type": "http" }, "http": { "method": "OPTIONS", "url": "/ceramic/interests" }, "docs": "cors" } ] } ], "bundled": true }