Changesets

sfp server API reference for Changesets: 11 endpoints.

GET/sfp/api/changesets

Authorization

access-token
AuthorizationBearer <token>

In: header

Query Parameters

projectIdentifier*string

Project identifier

sourceOrgUsername?string

Filter by source org username

Response Body

curl -X GET "https://example.com/sfp/api/changesets?projectIdentifier=string"
Empty
POST/sfp/api/changesets

Authorization

access-token
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/sfp/api/changesets" \  -H "Content-Type: application/json" \  -d '{    "projectIdentifier": "string",    "name": "string",    "sourceOrgUsername": "string",    "selectedComponents": [      {        "metadataType": "string",        "memberName": "string"      }    ]  }'
Empty
GET/sfp/api/changesets/{changesetId}

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string

Query Parameters

projectIdentifier*string

Project identifier

Response Body

curl -X GET "https://example.com/sfp/api/changesets/string?projectIdentifier=string"
Empty
GET/sfp/api/changesets/{changesetId}/materialized-source

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string

Query Parameters

projectIdentifier*string

Project identifier

metadataType*string

Salesforce metadata type to read from the materialized source snapshot

memberName*string

Salesforce metadata member name to read from the materialized source snapshot

Response Body

curl -X GET "https://example.com/sfp/api/changesets/string/materialized-source?projectIdentifier=string&metadataType=string&memberName=string"
Empty
GET/sfp/api/changesets/{changesetId}/deployments

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string

Query Parameters

projectIdentifier*string

Project identifier

Response Body

curl -X GET "https://example.com/sfp/api/changesets/string/deployments?projectIdentifier=string"
Empty
POST/sfp/api/changesets/{changesetId}/retry

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/sfp/api/changesets/string/retry" \  -H "Content-Type: application/json" \  -d '{    "projectIdentifier": "string"  }'
Empty
POST/sfp/api/changesets/{changesetId}/install

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/sfp/api/changesets/string/install" \  -H "Content-Type: application/json" \  -d '{    "projectIdentifier": "string",    "targetOrg": "string"  }'
Empty
POST/sfp/api/changesets/{changesetId}/pull-requests

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/sfp/api/changesets/string/pull-requests" \  -H "Content-Type: application/json" \  -d '{    "projectIdentifier": "string",    "targetBranch": "string"  }'
Empty
POST/sfp/api/changesets/internal/{changesetId}/materialization

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/sfp/api/changesets/internal/string/materialization" \  -H "Content-Type: application/json" \  -d '{    "projectIdentifier": "string",    "status": {}  }'
Empty
POST/sfp/api/changesets/internal/{changesetId}/deployments/{deploymentId}

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string
deploymentId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/sfp/api/changesets/internal/string/deployments/string" \  -H "Content-Type: application/json" \  -d '{    "projectIdentifier": "string",    "status": {}  }'
Empty
POST/sfp/api/changesets/internal/{changesetId}/pull-requests/{pullRequestId}

Authorization

access-token
AuthorizationBearer <token>

In: header

Path Parameters

changesetId*string
pullRequestId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/sfp/api/changesets/internal/string/pull-requests/string" \  -H "Content-Type: application/json" \  -d '{    "projectIdentifier": "string",    "status": {}  }'
Empty