mirror of
https://github.com/coder/coder.git
synced 2025-08-01 08:28:48 +00:00
feat: support template bundles as zip archives (#11839)
This commit is contained in:
10
docs/api/files.md
generated
10
docs/api/files.md
generated
@@ -22,11 +22,11 @@ file: string
|
||||
|
||||
### Parameters
|
||||
|
||||
| Name | In | Type | Required | Description |
|
||||
| -------------- | ------ | ------ | -------- | ---------------------------------------- |
|
||||
| `Content-Type` | header | string | true | Content-Type must be `application/x-tar` |
|
||||
| `body` | body | object | true | |
|
||||
| `» file` | body | binary | true | File to be uploaded |
|
||||
| Name | In | Type | Required | Description |
|
||||
| -------------- | ------ | ------ | -------- | ------------------------------------------------------------- |
|
||||
| `Content-Type` | header | string | true | Content-Type must be `application/x-tar` or `application/zip` |
|
||||
| `body` | body | object | true | |
|
||||
| `» file` | body | binary | true | File to be uploaded |
|
||||
|
||||
### Example responses
|
||||
|
||||
|
Reference in New Issue
Block a user