feat: support template bundles as zip archives (#11839)

This commit is contained in:
Marcin Tojek
2024-01-31 14:49:55 +01:00
committed by GitHub
parent b25deaae20
commit 13cbca679e
8 changed files with 248 additions and 18 deletions

10
docs/api/files.md generated
View File

@@ -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