mirror of
https://github.com/Dvorinka/Containr.git
synced 2026-10-28 07:41:27 +00:00
Merge remote-tracking branch 'origin/main' into feat/backup-import
# Conflicts: # docs/guides/CLI.md
This commit is contained in:
commit
e3676bd89a
16 files changed
+649
-20
No files matched your search
@@ -2795,6 +2795,78 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
/projects/{id}/variables:
|
||||
get:
|
||||
tags:
|
||||
- Projects
|
||||
summary: List shared project variables
|
||||
description: Project-level variables shared across services. Services reference them as `${{shared.KEY}}` in environment values — resolved at deploy/reconcile, not live-updated. Secret values are masked.
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
responses:
|
||||
'200':
|
||||
description: Variables retrieved
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
variables:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ServiceVariable'
|
||||
'404':
|
||||
description: Project not found
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
put:
|
||||
tags:
|
||||
- Projects
|
||||
summary: Replace shared project variables
|
||||
description: Replace the full shared-variable set for a project. Fetch the current list first and merge — the server replaces wholesale. Masked secret placeholders (`********`) keep the stored value.
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/UpdateVariablesRequest'
|
||||
responses:
|
||||
'200':
|
||||
description: Variables updated
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
variables:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/ServiceVariable'
|
||||
'400':
|
||||
description: Invalid input
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Error'
|
||||
|
||||
# Git integration
|
||||
/git/github-app/install-url:
|
||||
get:
|
||||
|
||||
@@ -47,6 +47,7 @@ deployments list|get|logs|rollback|cancel
|
||||
logs <service-id> [--follow] runtime logs (SSE follow)
|
||||
exec <service-id> -- <cmd> one-off container command
|
||||
variables list|set|unset env vars (secrets masked; --redeploy applies them)
|
||||
variables shared list|set|unset project shared vars — referenced as ${{shared.KEY}}
|
||||
databases list|get|create|update|delete|action|backup|restore|download-backup|import-backup
|
||||
import-backup <id> <file.tar.gz|-> uploads an archive as a restore
|
||||
point; ships offsite too when a backup target is assigned
|
||||
|
||||
Reference in new issue
Block a user