Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the Pages Retry Deployment equivalent API #792

Closed
TomOnTime opened this issue Jan 29, 2022 · 1 comment
Closed

Expose the Pages Retry Deployment equivalent API #792

TomOnTime opened this issue Jan 29, 2022 · 1 comment

Comments

@TomOnTime
Copy link

Current cloudflare-go version

latest

Description

I'd like to use the API to do the equivalent of clicking the "Retry Deployment" button on:

Pages -> [click on project name] -> View build -> Manage deployment -> Retry Deployment

I think this is the endpoint:

"https://api.cloudflare.com/client/v4/accounts/{account_id}/pages/projects/{project_name}/deployments";

But it may be:

POST accounts/:account_id/pages/projects/:project_name/deployments/:deployment_id/retry

Use cases

Use case: We're building a control-panel that needs to have a "re-generate web site" button.

Potential cloudflare-go usage

n/a

References

No response

@jacobbednarz
Copy link
Member

closed by #765

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants