GET
/
v1
/
projects
/
{project}
/
boxes
/
{name}
/
diff
/
file
Get diff of a specific file against a checkpoint
curl --request GET \
  --url https://api.example.com/v1/projects/{project}/boxes/{name}/diff/file
{
  "path": "<string>",
  "status": "<string>",
  "current": "<string>",
  "diff": "<string>",
  "previous": "<string>"
}

Path Parameters

project
string
required

Project name

name
string
required

Box name

Query Parameters

path
string
required

File path to diff

against
string

Checkpoint to diff against (defaults to latest)

Response

File diff

path
string
required
status
string
required
current
string | null
diff
string | null
previous
string | null