latestSwagger 2.02026-08-1095121164.0 KB

94758829689e

sites

Commit Environment Changes

Commits changes made via SFTP to the git repository.

post/v0/sites/{site_id}/environments/{env_id}/code/commit

Path parameters

site_idstring required

Site UUID

env_idstring required

Environment ID

Request body

committer_emailstring required

Committer email

committer_namestring required

Committer name

messagestring required

Commit message

Example request

{
  "committer_email": "developer@example.com",
  "committer_name": "Developer Name",
  "message": "Commit changes from SFTP"
}

Response

active_descriptionstring

Active description of the workflow

idstring required

Workflow ID

number_of_tasksinteger

Number of tasks in the workflow

Example response

{
  "active_description": "Creating database backup",
  "id": "12345678-1234-1234-1234-123456789012",
  "number_of_tasks": 5
}