fix(coderd): document HTTP 201 for workspace and build creation (#27903)

This commit is contained in:
david-fraley
2026-08-05 22:17:59 +00:00
committed by GitHub
parent ed10064748
commit 0d0c6e53ba
6 changed files with 27 additions and 27 deletions
+8 -8
View File
@@ -49,7 +49,7 @@ of the template will be used.
### Example responses
> 200 Response
> 201 Response
```json
{
@@ -328,9 +328,9 @@ of the template will be used.
### Responses
| Status | Meaning | Description | Schema |
|--------|---------------------------------------------------------|-------------|----------------------------------------------------|
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Workspace](schemas.md#codersdkworkspace) |
| Status | Meaning | Description | Schema |
|--------|--------------------------------------------------------------|-------------|----------------------------------------------------|
| 201 | [Created](https://tools.ietf.org/html/rfc7231#section-6.3.2) | Created | [codersdk.Workspace](schemas.md#codersdkworkspace) |
To perform this operation, you must be authenticated. [Learn more](authentication.md).
@@ -748,7 +748,7 @@ of the template will be used.
### Example responses
> 200 Response
> 201 Response
```json
{
@@ -1027,9 +1027,9 @@ of the template will be used.
### Responses
| Status | Meaning | Description | Schema |
|--------|---------------------------------------------------------|-------------|----------------------------------------------------|
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Workspace](schemas.md#codersdkworkspace) |
| Status | Meaning | Description | Schema |
|--------|--------------------------------------------------------------|-------------|----------------------------------------------------|
| 201 | [Created](https://tools.ietf.org/html/rfc7231#section-6.3.2) | Created | [codersdk.Workspace](schemas.md#codersdkworkspace) |
To perform this operation, you must be authenticated. [Learn more](authentication.md).