Guzzle Service Rest API#
Welcome to the Guzzle Services Rest API Reference.
Representational State Transfer (REST) APIs are service endpoints that support sets of HTTP operations (methods), which provide create, retrieve, update, or delete access to the service's resources. This article walks you through:
The basic components of a REST API request/response pair.
Overviews of creating and sending a REST request, and handling the response.
Most REST APIs are accessible through our client libraries, which can be used to greatly simplify your client code.
Run Activity#
Run Activity job via Guzzle Service Rest API,below Endpoints allows users to run activity with given parameter
PUT Run Activity#
Query Parameter#
Name | Type | Description |
---|
mode | String | Specify the guzzle mode whether it is git or default |
Body Parameter#
Name | Type | Description |
---|
name | String | activity name which you want to run |
Job Parameters | | |
system | String | Specify the system name |
location | String | Specify the location column name |
business_date | String | Specify the business_date for running activity job |
environment | String | Specify the environment name on which you want to run this batch |
guzzle.spark.name | String | Specify the spark name, guzzle will run batch on specified spark compute |
Responses#
Name | Type | Description |
---|
jobInstanceId | String | Unique ID of the running activity job |
Sample Request#
Request Body
Sample Response#
Run Pipeline#
Run pipeline job via Guzzle Service Rest API. below Endpoints allows users to run activity with given parameter
POST Run Pipeline#
Query Parameter#
Name | Type | Description |
---|
mode | String | Specify the Guzzle mode whether it is git or default |
Body Parameter#
Name | Type | Description |
---|
Parameters | | |
job_group | String | Specify the job group (also known as pipeline) name |
business_date | String | Specify the business_date for running pipeline job |
environment | String | Specify the environment name on which you want to run this pipeline jobs |
guzzle.spark.name | String | Specify the spark name, guzzle will run pipeline on specified spark compute |
Responses#
Name | Type | Description |
---|
jobInstanceId | String | Unique ID of the running pipeline |
Sample Request#
Request Body
Sample Response#
Init Batch#
To initialize the Batch via Guzzle Service Rest API. below Endpoints allows users to initialize the Batch with given parameter
POST Init Batch#
Query Parameter#
Name | Type | Description |
---|
mode | String | Specify the guzzle mode whether it is git or default |
Body Parameter#
Name | Type | Description |
---|
contextParams | | |
system | String | Specify the system batch name |
business_date | String | Specify the business_date for initiate batch job |
environment | String | Specify the environment name on which you want to initiate the batch |
parameters | | |
guzzle.batch.catchup | String | Specify the batch catchup whether true or false, this is optional field |
Responses#
Name | Type | Description |
---|
jobInstanceId | String | Unique ID of the running stage |
Sample Request#
Request Body
Sample Response#
Run Batch#
Run Batch for specific job via Guzzle Service Rest Api. below Endpoints allows users to run stages with given parameter
POST Run Stage/Batch#
Query Parameter#
Name | Type | Description |
---|
mode | String | Specify the guzzle mode whether it is git or default |
Body Parameter#
Name | Type | Description |
---|
environment | String | Specify the environment name on which you want to run this batch |
guzzle.spark.name | String | Specify the spark name, guzzle will run batch on specified spark compute |
stage | String | Specify the stages, for multiple stages are comma separative ex: "STG,FND" |
system | String | Specify the system name |
Responses#
Name | Type | Description |
---|
jobInstanceId | String | Unique ID of the running stage |
Sample Request#
Request Body
Sample Response#
Job Status#
To Get the running Activity/Pipeline status
GET Activity/Pipeline run status#
Path Parameter#
Name | Type | Description |
---|
job_instance_id | String | Specify the job instance id. |
Query Parameter#
Name | Type | Description |
---|
mode | String | Specify the guzzle mode whether it is git or default |
Responses#
Name | Type | Description |
---|
status | String | Status of the running job |
message | String | Job specific messages |
Sample Request#
Sample Response#
To Get the running Stage status
GET Stage run status#
Path Parameter#
Name | Type | Description |
---|
job_instance_id | String | Specify the job instance id. |
Query Parameter#
Name | Type | Description |
---|
mode | String | Specify the guzzle mode whether it is git or default |
Responses#
Name | Type | Description |
---|
status | String | Status of the running job |
message | String | Job specific messages |
Sample Request#
Sample Response#
Job Audit#
To Get Job info and job parameters via Guzzle Service Rest API.
GET Job audit#
Path Parameter#
Name | Type | Description |
---|
job_instance_id | String | Specify the job instance id. |
Query Parameter#
Name | Type | Description |
---|
mode | String | Specify the guzzle mode whether it is git or default |
Responses#
Name | Type | Description |
---|
batchId | String | Unique ID of the running batch |
contextParams | Object | |
business_date | String | business_date of running job |
jobInstanceId | String | Unique ID of the running stage |
name | String | running job name |
module | String | running job module |
tag | String | give job tag |
Sample Request#
Sample Response#