Get the metadata associated to a pipeline
OK
const response = await fetch('https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/metadata', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
Updates a pipeline metadata item by setting the key to a given json object value.
metadata key to use
json object to use as value
"{\"value\": \"1\"}\n"
No Content
const response = await fetch('https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/metadata', { method: 'PATCH', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();