{ "opencollection": "1.0.0", "info": { "name": "COR Attachments Contracts API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Contracts", "type": "folder" }, "items": [ { "info": { "name": "Get contracts", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectcor.com/v1/contracts", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number (default: 1). Set to `false` to disable pagination." }, { "name": "perPage", "value": "", "type": "query", "description": "Number of items per page (default: 20)." }, { "name": "filters", "value": "", "type": "query", "description": "URL-encoded JSON object with filter criteria." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Retrieves a paginated list of contracts." }, { "info": { "name": "Create contract", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectcor.com/v1/contracts/:contract_id", "params": [ { "name": "contract_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a contract using the provided contract identifier." }, { "info": { "name": "Update contract", "type": "http" }, "http": { "method": "PUT", "url": "https://api.projectcor.com/v1/contracts/:contract_id", "params": [ { "name": "contract_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified contract." }, { "info": { "name": "Delete contract", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.projectcor.com/v1/contracts/:contract_id", "params": [ { "name": "contract_id", "value": "", "type": "path" } ] }, "docs": "Deletes the specified contract." } ] } ], "bundled": true }