get
https://COMPANY.my.bluecanvas.io/apis/rest/v1/deployments//files
Returns one file of a deployment request as it would deploy: the target version, the source version, the patch between them and the file's override.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Returns one of a deployment's files. Works for drafts.
Response fields
| Field | Description |
|---|---|
status | What deploying the file does to the target: ADD, MODIFY, DELETE or UNCHANGED. |
binary | true for a binary file, which carries no text and no patch. |
additions, deletions | Lines added and removed by patch. |
patch | Unified diff from the target version to the source version. It does not include the override. Line numbers for inline comments refer to this patch. |
target | The file in the target branch: commit and text (null when absent or binary). |
source | The file as the deployment takes it from the source: commit and text. For a Real-time deployment this is the version pulled from the org. |
override | null, or {deleted, text} when an override replaces the source version in this deployment. See Set a file override. |
