Skip to content

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

@andrewnicols

Description

@andrewnicols

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions