{ "opencollection": "1.0.0", "info": { "name": "Calyptia Cloud agent pipeline_log API", "version": "1.0" }, "items": [ { "info": { "name": "pipeline_log", "type": "folder" }, "items": [ { "info": { "name": "Pipeline Logs", "type": "http" }, "http": { "method": "GET", "url": "https://cloud-api.calyptia.com/v1/pipelines/:pipelineID/logs", "params": [ { "name": "pipelineID", "value": "", "type": "path", "description": "Parent pipeline ID." }, { "name": "last", "value": "", "type": "query", "description": "Limit to the last logs." }, { "name": "before", "value": "", "type": "query", "description": "Paginate logs before the given cursor." }, { "name": "status", "value": "", "type": "query", "description": "Filter logs by status" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Logs from a pipeline with backward pagination." }, { "info": { "name": "Create Pipeline Log", "type": "http" }, "http": { "method": "POST", "url": "https://cloud-api.calyptia.com/v1/pipelines/:pipelineID/logs", "params": [ { "name": "pipelineID", "value": "", "type": "path", "description": "Parent pipeline ID." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new log within a pipeline.\nThe log will be created with the given `logs` blob of text." }, { "info": { "name": "Pipeline log", "type": "http" }, "http": { "method": "GET", "url": "https://cloud-api.calyptia.com/v1/pipeline_logs/:pipelineLogID", "params": [ { "name": "pipelineLogID", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Pipeline log by ID." }, { "info": { "name": "Update Pipeline Log", "type": "http" }, "http": { "method": "PATCH", "url": "https://cloud-api.calyptia.com/v1/pipeline_logs/:pipelineLogID", "params": [ { "name": "pipelineLogID", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a log given its ID.\nThe log will be updated with the given `logs` blob of text." }, { "info": { "name": "Delete Pipeline Log", "type": "http" }, "http": { "method": "DELETE", "url": "https://cloud-api.calyptia.com/v1/pipeline_logs/:pipelineLogID", "params": [ { "name": "pipelineLogID", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a log given its ID." } ] } ], "bundled": true }