getDeploymentGatingStatusByKey method

Future getDeploymentGatingStatusByKey({
  1. required String pipelineId,
  2. required String environmentId,
  3. required int deploymentSequenceNumber,
})

Retrieve the Deployment gating status for the given pipelineId + environmentId + deploymentSequenceNumber combination. Only apps that define the jiraDeploymentInfoProvider module can access this resource. This resource requires the 'READ' scope.

Implementation

Future<dynamic> getDeploymentGatingStatusByKey(
    {required String pipelineId,
    required String environmentId,
    required int deploymentSequenceNumber}) async {
  return await _client.send(
    'get',
    'rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}/gating-status',
    pathParameters: {
      'pipelineId': pipelineId,
      'environmentId': environmentId,
      'deploymentSequenceNumber': '$deploymentSequenceNumber',
    },
  );
}