It seems that the /api/alpha/deployments/{uuid}/logs endpoint returns all logs of the deployment. We should restrict it to the last X lines to prevent performance issues in both the server and the client.
We should make X configurable both via a query parameter (e.g., /api/alpha/deployments/{uuid}/logs?limit=X) and a configuration property in the application.yml.
It seems that the
/api/alpha/deployments/{uuid}/logs
endpoint returns all logs of the deployment. We should restrict it to the last X lines to prevent performance issues in both the server and the client.We should make X configurable both via a query parameter (e.g.,
/api/alpha/deployments/{uuid}/logs?limit=X
) and a configuration property in the application.yml.