OpenAPI spec at /api/docs with a Scalar viewer, opt-in via FEAT_API_DOCS
This commit is contained in:
6 files changed
+300
-14
No files matched your search
@@ -90,6 +90,7 @@ function createTarArchive(filename: string, content: Uint8Array): Uint8Array {
|
||||
* @openapi
|
||||
* summary: Upload one or more files into a container directory (requires the 'exec' permission)
|
||||
* description: Send `multipart/form-data` with one or more `files` parts; each file is tar-wrapped and written into the target directory. Partial success is reported per file in `uploaded`/`errors`.
|
||||
* body-multipart: files:binary[]! One or more files to write into the target directory
|
||||
* path: id:string! Container ID or name (from GET /api/containers)
|
||||
* query: env:integer The target environment ID (omit for the local/default Docker host) (from GET /api/environments)
|
||||
* query: path:string! Absolute target directory inside the container
|
||||
|
||||
Reference in new issue
Block a user