{ "opencollection": "1.0.0", "info": { "name": "Certifyos Contracts API", "version": "1.0.0" }, "items": [ { "info": { "name": "Contracts", "type": "folder" }, "items": [ { "info": { "name": "Find Contract by filter criteria with pagination", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9000/contracts", "headers": [ { "name": "tenant-id", "value": "" } ], "params": [ { "name": "endAtId", "value": "", "type": "query", "description": "End at document ID, for backward cursor-based pagination" }, { "name": "page", "value": "", "type": "query", "description": "Page number (0-based), for offset-based pagination" }, { "name": "size", "value": "", "type": "query", "description": "Page size" }, { "name": "startAfterId", "value": "", "type": "query", "description": "Start after document ID, for forward cursor-based pagination" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a paginated filtered list of all Contracts based on the provided criteria. Supports both offset-based (page/size) and cursor-based (startAfter/endAt) pagination." }, { "info": { "name": "Create a new Contract", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:9000/contracts", "headers": [ { "name": "tenant-id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new Contract with the provided details" }, { "info": { "name": "Find a Contract by their ID", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:9000/contracts/:id", "headers": [ { "name": "tenant-id", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of Contract to fetch" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a single Contract by their ID" }, { "info": { "name": "Update (replace) an existing Contract", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:9000/contracts/:id", "headers": [ { "name": "tenant-id", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Replace the data for an existing Contract" }, { "info": { "name": "Delete a Contract", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:9000/contracts/:id", "headers": [ { "name": "tenant-id", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of Contract to delete" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a Contract by their ID" } ] } ], "bundled": true }