{ "opencollection": "1.0.0", "info": { "name": "Certifyos Plan API", "version": "1.0.0" }, "items": [ { "info": { "name": "Plan", "type": "folder" }, "items": [ { "info": { "name": "Get all plans", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9000/plans", "headers": [ { "name": "tenant-id", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list of plans for the provided tenant. The plans are returned sorted by creation date, with the most recent plans appearing first." }, { "info": { "name": "Create a new plan", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9000/plans", "headers": [ { "name": "tenant-id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new plan with the provided details" }, { "info": { "name": "Update an existing plan", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9000/plans/:id", "headers": [ { "name": "tenant-id", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Plan ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates a plan identified by ID with the provided details" } ] } ], "bundled": true }