Open PaulFarault opened 1 year ago
Hi Paul,
Which values could the new attribute status
take ?
And how could we determine the status of a service ?
Which values could the new attribute
status
take ?
It could be sth like "idle" | "stopped" | "running" | "loading"
how could we determine the status of a service ?
I don't really know how to do so technically (we could discuss it on #116 and #117). It may involve a playbook, checking running process...
Canonical endpoints are returning all data from all of their children which isn't necessary and can cause performances issues.
GET
/api/v1/service
endpointEventually, it would be nice to add
status
andreadableName
for each service (this comment apply for the next endpoints too):GET
/api/v1/service/{service_id}
endpointAs stated before, component could also return
status
andname
.GET
/api/v1/service/{service_id}/component/{component_id}
endpointThis schema is ok.