Builds
Create workspace build
Changed onpost/api/v2/workspaces/{workspace}/builds
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/workspaces/{workspace}/builds
- AuthAPI key in header Coder-Session-Token
Path parameters
workspacestring uuid required
Workspace ID
Request body
Response
Created
Example response
{
"resources": [
{
"agents": [
{
"health": {
"reason": "agent has lost connection"
}
}
]
}
]
}Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- info
endpoint added
- info