Skip to content

Edit metadata (name, notes, env snapshot) for a version

PUT
/apps/{slug}/versions/{id}
curl --request PUT \
--url https://your-server.example/api/apps/example/versions/1 \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "name": "example", "notes": "example", "env_snapshot": "example" }'
slug
required
string

App slug (lowercase, dash-separated).

id
required
integer format: int64
Media typeapplication/json
object
name
string
notes
string
env_snapshot
string

Example generated

{
"name": "example",
"notes": "example",
"env_snapshot": "example"
}

Updated version.

Media typeapplication/json
object
id
integer format: int64
app_id
integer format: int64
version
integer
name
string
notes
string
content

Compose YAML at the time of deploy.

string
env_snapshot
string
created_at
string format: date-time

Example generated

{
"id": 1,
"app_id": 1,
"version": 1,
"name": "example",
"notes": "example",
"content": "example",
"env_snapshot": "example",
"created_at": "2026-04-15T12:00:00Z"
}

Resource not found.

Media typetext/plain
string