Get static site repository
Retrieve metadata about the Git repository connected to a static site: the source type, Git provider, repository URL, default branch, and the commit currently deployed (from the latest successful deployment). Call this first to discover the deployed commit SHA, then pass it as the ref to the tree and contents endpoints to inspect exactly the code that is deployed. Static sites always have a privateGit or publicGit source; the 422 response only occurs if the repository URL is missing.
Authorizations
Path Parameters
Response
Default Response
The commit currently deployed from the static site's current repository. Null if the static site has never deployed successfully, or if its repository was changed after the last successful deployment (the deployed commit belongs to the old repo and no longer applies).