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

Add API endpoint to search for a specific deploy preview #380

Open
andrewnicols opened this issue Jun 7, 2022 · 0 comments
Open

Add API endpoint to search for a specific deploy preview #380

andrewnicols opened this issue Jun 7, 2022 · 0 comments

Comments

@andrewnicols
Copy link

As a developer,
I want to find the build status for a build at a specific git commit.

At the moment I must run listSiteBuilds, and filter by the data.sha matching pull/[PR_NUMBER]/head, to get a build information containing a deploy_id which I can then query the status of.

It would be ideal if there were a listSitePreviews function accepting an optional commit head filter and/or pull request filter.

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

1 participant