Edit metadata (name, notes, env snapshot) for a version
PUT
/apps/{slug}/versions/{id}
const url = 'https://your-server.example/api/apps/example/versions/1';const options = { method: 'PUT', headers: {cookie: 'session=<session>', 'Content-Type': 'application/json'}, body: '{"name":"example","notes":"example","env_snapshot":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
App slug (lowercase, dash-separated).
id
required
integer format: int64
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
string
notes
string
env_snapshot
string
Example generated
{ "name": "example", "notes": "example", "env_snapshot": "example"}Responses
Section titled “Responses”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