Data Integration
- Data Integration
- All Products
/public/core/v3/pull
Field
| Type
| Required
| Description
|
---|---|---|---|
commitHash
| String
| Yes
| Unique commit hash.
The commit hash is validated during the operation.
If you use a GitHub repository, you can include a partial hash in the request by sending the first 7 characters of the hash instead of the full string.
|
relaxObjectSpecificationValidation
| Boolean
| No
| Whether the sources specified in the objectSpecification object must exist in the assets being pulled. Use one of the following values:
Default is false.
|
objects
| List<Object>
| Yes
| Contains a list of all the objects to be pulled.
|
path
| List<String>
| Yes, if ID is not included
| Include in the objects object.
Full path of the object to be pulled.
|
id
| String
| Yes, if path is not included
| Include in the objects object.
ID of the object.
|
type
| String
| -
| Include in the objects object.
Type of asset to be pulled. If not specified, default is project.
Can be one of the following types:
|
objectSpecification
| List<Object>
| -
| Object specification for connection and runtime environments.
|
source
| Object
| Yes, if objectSpecification object is included and relaxObjectSpecificationValidation value is not true
| Include in the objectSpecification object.
Contains information about the source object.
|
path
| List<String>
| Yes, if objectSpecification object is included
| Include in the source object.
Full path of the connection or runtime environment in the repository.
|
type
| String
| Yes, if objectSpecification object is included
| Include in the source object.
Asset type. Use one of the following values:
|
target
| Object
| Yes, if objectSpecification object is included
| Include in the objectSpecification object.
Contains information about the target object.
Include path and type or include ID. If path, type, and ID are included, ID takes precedence.
|
path
| List<String>
| Yes, if ID is not included
| Include in the target object.
Path of the connection or runtime environment that is being mapped.
Use with type.
|
type
| String
| Yes, if ID is not included
| Include in the target object.
Asset type.
Use with path.
Use one of the following values:
|
id
| String
| Yes, if path and type are not included
| Include in the target object.
ID of the target object.
|
additionalProviderFlags
| Collection <complex type>
| No
| Additional object specifications.
Use key-value pairs to specify additional object specifications, such as in-out parameter values and sequence generator values.
|
Field
| Type
| Description
|
---|---|---|
pullActionId
| String
| ID for the pull operation.
|
status
| Object
| Status of the pull operation.
|
state
| String
| Returned in the status object.
Initial state of the pull operation. For a successful request, value will always be NOT_STARTED.
To see the status after the operation begins, use the
Getting the status of a source control operation resource.
|
message
| String
| Returned in the status object
Descriptive status message for the pull operation.
|
POST <baseApiUrl>/public/core/v3/pull Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "commitHash": "7c525831c247cf792f595d1663396d1ae2c85033", "objects": [ { "path": ["Project2"] }, { "path": ["Default"] } ] }
POST <baseApiUrl>/public/core/v3/pull Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "commitHash": "7c525831c247cf792f595d1663396d1ae2c85033", "objects": [ { "id": "4gmWUVziA1qe7zXbyN1l6E" }, { "id": "4TjbmrAGrk2eal3DOwdIk8" } ] }
POST <baseApiUrl>/public/core/v3/pull Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "commitHash": "1013f61bf318758cccec08f2165f59bbbb41e8f0", "objects": [ { "path": ["Default","Test_Mapping"], "type": "DTEMPLATE" } ] }
POST <baseApiUrl>/public/core/v3/pull Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "commitHash": "1013f61bf318758cccec08f2165f59bbbb41e8f0", "objects": [ { "id": "6wLjSK4tS4rdjKq5uGuC0T" } ] }
POST <baseApiUrl>/public/core/v3/pull Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "commitHash": "1013f61bf318758cccec08f2165f59bbbb41e8f0", "objects": [ { "id": "6wLjSK4tS4rdjKq5uGuC0T" } ], "objectSpecification":[ { "source": { "path":["ff"], "type":"Connection" }, "target": { "path":["target_connection"], "type":"Connection" } } ] }
POST <baseApiUrl>/public/core/v3/pull Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "commitHash": "1013f61bf318758cccec08f2165f59bbbb41e8f0", "objects": [ { "id": "6wLjSK4tS4rdjKq5uGuC0T" } ], "objectSpecification":[ { "source": { "path":["USW1MJ02YNFB"], "type":"AgentGroup" }, "target": { "id":"7UPtJVbrESTj0VkCBYAcUv" } } ] }
{ "pullActionId": "awRrziMMWXol7i42aTm1ih", "status": { "state": "NOT_STARTED", "message": "Initialized" } }