mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: update /builds transition example (#15657)
This commit is contained in:
Generated
+1
-1
@@ -1458,7 +1458,7 @@ curl -X POST http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
|
||||
],
|
||||
"state": [0],
|
||||
"template_version_id": "0ba39c92-1f1b-4c32-aa3e-9925d7713eb1",
|
||||
"transition": "create"
|
||||
"transition": "start"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Generated
+1
-2
@@ -1400,7 +1400,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
],
|
||||
"state": [0],
|
||||
"template_version_id": "0ba39c92-1f1b-4c32-aa3e-9925d7713eb1",
|
||||
"transition": "create"
|
||||
"transition": "start"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1421,7 +1421,6 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
| Property | Value |
|
||||
| ------------ | -------- |
|
||||
| `log_level` | `debug` |
|
||||
| `transition` | `create` |
|
||||
| `transition` | `start` |
|
||||
| `transition` | `stop` |
|
||||
| `transition` | `delete` |
|
||||
|
||||
Reference in New Issue
Block a user