This section will contain a more detailed description soon. For the time being, you can feel free to rely on the auto-generated information to get started!
Successfully found static sites
No or invalid API key provided to the request
Could not find the static sites or the user does not have permissions to retrieve data
Error occurred while retrieving static sites
{- "company": {
- "static_sites": {
- "items": [
- {
- "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
- "name": "first-static-site",
- "display_name": "First static site",
- "status": "deploymentSuccess"
}
]
}
}
}
Successfully found static site
No or invalid API key provided to the request
Could not find the static site or the user does not have permissions to retrieve data
Error occurred while retrieving static site by ID
{- "static_site": {
- "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
- "name": "first-static-site",
- "display_name": "First static site",
- "status": "deploymentSuccess",
- "default_branch": "main",
- "auto_deploy": false,
- "remote_repository_id": "012345678",
- "git_repository_id": "4978765082",
- "git_type": "github",
- "build_command": "make build",
- "created_at": 1667489138845,
- "updated_at": 1667489138845,
- "deployments": [
- {
- "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
- "status": "success",
- "branch": "main",
- "commit_message": "Merge pull request #123",
- "created_at": 1665382600770
}
]
}
}
Static site updated successfully
No or invalid API key provided to the request
Error occurred while updating static site
{- "display_name": "My static site",
- "auto_deploy": true,
- "default_branch": "main",
- "build_command": "npm run build",
- "node_version": "18.16.0",
- "published_directory": "dist"
}
{- "static_site": {
- "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
- "display_name": "My static site",
- "auto_deploy": true,
- "default_branch": "main",
- "build_command": "npm run build",
- "node_version": "20.2.0",
- "published_directory": "dist",
- "updated_at": 1695300630620,
- "status": "deploymentInProgress"
}
}
Response object of static site requests
No or invalid API key provided to the request
Could not find the static site or the user does not have required permissions
Error occurred while deleting static site
{- "transaction_id": "8097788359944597"
}