cURL
curl --request GET \ --url https://api.sevalla.com/v2/static-sites/{id} \ --header 'Authorization: Bearer <token>'
{ "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", "auto_deploy": false, "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 } ] } }
Retrieve detailed information about a specific static site.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"54fb80af-576c-4fdc-ba4f-b596c83f15a1"
Successfully found static site
Show child attributes
Was this page helpful?