For the complete documentation index, see llms.txt. This page is also available as Markdown.

Changesets

List project-scoped changesets

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
projectIdentifierstringRequired

Project identifier

sourceOrgUsernamestringOptional

Filter by source org username

Responses
200

Changesets returned

No content

get/sfp/api/changesets

No content

Create and materialize a changeset from selected org components

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
projectIdentifierstringRequired

Project identifier for the current Codev project

repositoryIdentifierstringOptional

Repository identifier. Defaults to projectIdentifier when omitted.

namestringRequired

User-defined changeset display name

sourceOrgUsernamestringRequired

Source org username selected in Org Explorer

sourceEnvironmentNamestringOptional

Source environment name when the source org is a managed environment

templateIdstringOptional

Changeset template identifier used to govern this changeset

Responses
201

Changeset created and materialization dispatched

No content

post/sfp/api/changesets

No content

Get a changeset and its deployment history

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
Query parameters
projectIdentifierstringRequired

Project identifier

Responses
200

Changeset returned

No content

get/sfp/api/changesets/{changesetId}

No content

Get materialized source files for a changeset component

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
Query parameters
projectIdentifierstringRequired

Project identifier

metadataTypestringRequired

Salesforce metadata type to read from the materialized source snapshot

memberNamestringRequired

Salesforce metadata member name to read from the materialized source snapshot

Responses
200

Materialized component source returned

No content

get/sfp/api/changesets/{changesetId}/materialized-source

No content

List deployments for a changeset

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
Query parameters
projectIdentifierstringRequired

Project identifier

Responses
200

Deployment records returned

No content

get/sfp/api/changesets/{changesetId}/deployments

No content

Retry materialization for a failed changeset

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
Body
projectIdentifierstringRequired

Project identifier

Responses
200

Materialization retry dispatched

No content

post/sfp/api/changesets/{changesetId}/retry

No content

Install or validate a changeset artifact in a target org

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
Body
projectIdentifierstringRequired

Project identifier

repositoryIdentifierstringOptional

Repository identifier. Defaults to projectIdentifier when omitted.

targetOrgstringRequired

Target org username or alias

targetEnvironmentNamestringOptional

Target environment name when known

checkOnlybooleanOptional

Validate deployment without committing changes

Default: false
Responses
201

Install changeset workflow dispatched

No content

post/sfp/api/changesets/{changesetId}/install

No content

Create a pull request from the materialized changeset source

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
Body
projectIdentifierstringRequired

Project identifier

repositoryIdentifierstringOptional

Deprecated compatibility field. When provided, it must match the changeset repository.

targetBranchstringRequired

Tracked target branch for the pull request

titlestringOptional

Pull request title. Defaults to a changeset-generated title.

descriptionstringOptional

Pull request body markdown. Defaults to a changeset-generated body.

draftbooleanOptional

Create as draft pull request

Default: false
Responses
201

Changeset pull request workflow dispatched

No content

post/sfp/api/changesets/{changesetId}/pull-requests

No content

Internal worker callback for changeset materialization status

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
Body
projectIdentifierstringRequired

Project identifier

statusobjectRequired

Materialization status

taskExecutionIdstringOptional
artifactNamestringOptional
artifactVersionstringOptional
artifactCoordinatesstringOptional
errorstringOptional
Responses
403

Forbidden - Requires role: application

No content

post/sfp/api/changesets/internal/{changesetId}/materialization
403

Forbidden - Requires role: application

No content

Internal worker callback for changeset deployment status

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
deploymentIdstringRequired
Body
projectIdentifierstringRequired

Project identifier

statusobjectRequired

Deployment status

taskExecutionIdstringOptional
errorstringOptional
Responses
403

Forbidden - Requires role: application

No content

post/sfp/api/changesets/internal/{changesetId}/deployments/{deploymentId}
403

Forbidden - Requires role: application

No content

Internal worker callback for changeset pull request status

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
changesetIdstringRequired
pullRequestIdstringRequired
Body
projectIdentifierstringRequired

Project identifier

statusobjectRequired

Pull request creation status

taskExecutionIdstringOptional
sourceBranchstringOptional
prUrlstringOptional
prNumbernumberOptional
errorstringOptional
Responses
403

Forbidden - Requires role: application

No content

post/sfp/api/changesets/internal/{changesetId}/pull-requests/{pullRequestId}
403

Forbidden - Requires role: application

No content

Last updated

Was this helpful?