When running a deployment via the API, the response basically just says that the deployment has been queued but there's no way to check the deployment status or get the logs.

Ideally, triggering a deployment would return an id of some sort that can be used on a later request to check the deployment status and its logs (stdout and stderr).

Dennis
Dennis ·

I was wondering, isn't the status column in a site resource showing what you want? That one will display active, deploy-failed, etc.: https://developers.ploi.io/27-getting-started/1375-resource-statuses

Eser DENIZ
Eser DENIZ ·

Ideally, new endpoints at https://ploi.io/api/servers/{server}/sites/{site}/deployments would be great so we can track the status of each deployment.

Dennis
Dennis ·

This is live: deploying a site now returns a deployment_id. Follow that deployment with the new Get deployment endpoint (GET /api/servers/{server}/sites/{site}/deployments/{deployment}): its status is deploying while it runs and success or failed once it finished, with a log_url to the output. List deployments and Get deployment log are documented as well. The deploy-site tool of the MCP server returns the deployment ID too, and the new get-deployment tool reports its status.

Check if a deployment failed or succeeded via the API

6 total votes
  • Dennis moved item to board Live

    1 week ago
  • Dennis moved item to board Planned

    4 years ago
  • boundless moved item to project API Level Requests

    4 years ago
  • boundless created the item

    4 years ago
Quick Actions
Activity
View recent activity and updates
Use arrow keys to navigate