Config history

Pipeline configuration history

Configuration history from a pipeline. Every time a pipeline config is updated, a new history entry with the change is created.

GEThttps://cloud-api.calyptia.com/v1/aggregator_pipelines/{pipeline}/config_history
Authorization
Path parameters
pipeline*string (uuid)
Query parameters
Response

OK

Body
id*string (uuid)
rawConfig*string
configFormat*enum
inijsonyaml
createdAt*string (date-time)
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/aggregator_pipelines/{pipeline}/config_history', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "rawConfig": "text",
    "configFormat": "ini",
    "createdAt": "2024-10-16T10:38:49.269Z"
  }
]