{ "opencollection": "1.0.0", "info": { "name": "Calyptia Cloud agent pipeline_metadata API", "version": "1.0" }, "items": [ { "info": { "name": "pipeline_metadata", "type": "folder" }, "items": [ { "info": { "name": "Get the metadata associated to a pipeline, keys can be provided or the full metadata will be returned (if none).", "type": "http" }, "http": { "method": "GET", "url": "https://cloud-api.calyptia.com/v1/pipelines/:pipelineID/metadata", "params": [ { "name": "pipelineID", "value": "", "type": "path" }, { "name": "key", "value": "", "type": "query", "description": "List of metadata keys to retrieve." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the metadata associated to a pipeline" }, { "info": { "name": "Updates or creates a new metadata key on the pipeline's metadata", "type": "http" }, "http": { "method": "PATCH", "url": "https://cloud-api.calyptia.com/v1/pipelines/:pipelineID/metadata", "params": [ { "name": "pipelineID", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates a pipeline metadata item by setting the key to a given json object value." } ] } ], "bundled": true }