PullChangesFromGit Action
Bring changes fetched from RefreshChangesFromGit to your Dataverse environment
Example
The following example shows using the PullChangesFromGit
action.
Important
The environment must be configured for Git integration as described in Dataverse Git integration setup.
Request
POST [Organization Uri]/api/data/v9.2/PullChangesFromGit
OData-Version: 4.0
If-None-Match: null
Accept: application/json
Content-Type: application/json
{
"SolutionUniqueName": "MySolutionUniqueName"
}
If you want to perform a hard delete on the components marked as removed, send this payload in the body of the request:
{
"SolutionUniqueName": "MySolutionUniqueName"
"AdditionalParameters": {
"DeleteDeletedComponents": true
}
}
When successful, both requests don't return any responses.
Response
HTTP/1.1 204 NoContent
OData-Version: 4.0
Parameters
Parameters allow for data to be passed to the action.
Name | Type | Nullable | Unicode | Description |
---|---|---|---|---|
SolutionUniqueName
|
Edm.String | False | False | The solution unique name of the solution containing the components you seek to pull updates for |
AdditionalParameters
|
PullChangesFromGitParameters | True | True | Additional parameters to govern the behavior of the pull operation. |