Open PaulFarault opened 1 year ago
As stated in #118 for services, canonical logs endpoint return too many infos.
/api/v1/deploy/
// `DeploymentLogWithOperations` schema: [ { id: string - sources: [ string ] - targets: [ string ] start_time: string end_time: string - restart: boolean state: enum - operations: [ operationId: string ] user: string } ]
/api/v1/deploy/{deployment_id}
// `DeploymentLogWithOperations` schema: { id: string sources: [ string ] targets: [ string ] start_time: string end_time: string restart: boolean state: enum operations: [ operation: string start_time: string end_time: string state: enum - logs: string // big string ] user: string }
/api/v1/deploy/{deployment_id}/operation/{operation}
Actual schema seems ok:
// `OperationLog` schema: { operation: string start_time: string end_time: string state: enum logs: string // big string }
As stated in #118 for services, canonical logs endpoint return too many infos.
GET
/api/v1/deploy/
endpointGET
/api/v1/deploy/{deployment_id}
endpointGET
/api/v1/deploy/{deployment_id}/operation/{operation}
endpointActual schema seems ok: