latestOpenAPI 3.1.02026-08-1076186318.8 KB
ab648a80ca4d
Static Sites
Get static site by ID
get/static-sites/{id}
Path parameters
idstring uuid required
Example:54fb80af-576c-4fdc-ba4f-b596c83f15a1
Response
Successfully found static site
Example response
{
"static_site": {
"id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
"name": "first-static-site",
"display_name": "First static site",
"status": "deploymentSuccess",
"repo_url": "https://github.com/user/project",
"default_branch": "main",
"remote_repository_id": "012345678",
"git_repository_id": "4978765082",
"git_type": "github",
"hostname": "http://example.com",
"build_command": "make build",
"created_at": 1667489138845,
"updated_at": 1667489138845,
"deployments": [
{
"id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
"status": "success",
"repo_url": "https://github.com/user/project",
"branch": "main",
"commit_message": "Merge pull request #123",
"created_at": 1665382600770
}
]
}
}