activityHistory

Get ConnectivityCheck Summary

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
string
orgIdentifier
string
projectIdentifier
string
identifier
string
startTime
required
integer <int64>
endTime
required
integer <int64>
Responses
200

successful operation

get/ng/api/activityHistory/connectivityCheckSummary
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/activityHistory/connectivityCheckSummary?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&identifier=string&startTime=0&endTime=0' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get Activities Summary

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
string
orgIdentifier
string
projectIdentifier
string
identifier
string
startTime
required
integer <int64>
endTime
required
integer <int64>
timeGroupType
required
string
Enum: "HOUR" "DAY" "WEEK"
referredEntityType
required
string
Enum: "Projects" "Pipelines" "PipelineSteps" "Connectors" "Secrets" "Service" "Environment" "InputSets" "CvConfig" "Delegates" "DelegateConfigurations" "CvVerificationJob" "IntegrationStage" "IntegrationSteps" "CvKubernetesActivitySource" "DeploymentSteps" "DeploymentStage" "ApprovalStage" "FeatureFlagStage" "Template" "Triggers" "MonitoredService" "GitRepositories"
referredByEntityType
string
Enum: "Projects" "Pipelines" "PipelineSteps" "Connectors" "Secrets" "Service" "Environment" "InputSets" "CvConfig" "Delegates" "DelegateConfigurations" "CvVerificationJob" "IntegrationStage" "IntegrationSteps" "CvKubernetesActivitySource" "DeploymentSteps" "DeploymentStage" "ApprovalStage" "FeatureFlagStage" "Template" "Triggers" "MonitoredService" "GitRepositories"
Responses
200

successful operation

get/ng/api/activityHistory/summary
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/activityHistory/summary?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&identifier=string&startTime=0&endTime=0&timeGroupType=HOUR&referredEntityType=Projects&referredByEntityType=Projects' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get Activities where this resource was used

Request
Security:
ApiKey (readwrite)
query Parameters
pageIndex
integer <int32>
Default: 0
pageSize
integer <int32>
Default: 100
accountIdentifier
string
orgIdentifier
string
projectIdentifier
string
identifier
string
startTime
required
integer <int64>
endTime
required
integer <int64>
status
string
Enum: "SUCCESS" "FAILED"
referredEntityType
required
string
Enum: "Projects" "Pipelines" "PipelineSteps" "Connectors" "Secrets" "Service" "Environment" "InputSets" "CvConfig" "Delegates" "DelegateConfigurations" "CvVerificationJob" "IntegrationStage" "IntegrationSteps" "CvKubernetesActivitySource" "DeploymentSteps" "DeploymentStage" "ApprovalStage" "FeatureFlagStage" "Template" "Triggers" "MonitoredService" "GitRepositories"
referredByEntityType
string
Enum: "Projects" "Pipelines" "PipelineSteps" "Connectors" "Secrets" "Service" "Environment" "InputSets" "CvConfig" "Delegates" "DelegateConfigurations" "CvVerificationJob" "IntegrationStage" "IntegrationSteps" "CvKubernetesActivitySource" "DeploymentSteps" "DeploymentStage" "ApprovalStage" "FeatureFlagStage" "Template" "Triggers" "MonitoredService" "GitRepositories"
Responses
200

successful operation

get/ng/api/activityHistory
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/activityHistory?pageIndex=0&pageSize=100&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&identifier=string&startTime=0&endTime=0&status=SUCCESS&referredEntityType=Projects&referredByEntityType=Projects' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Saves the activity

Request
Security:
ApiKey (readwrite)
Request Body schema:
accountIdentifier
string
object (EntityDetail)
type
required
string
Enum: "CONNECTIVITY_CHECK" "ENTITY_USAGE" "ENTITY_CREATION" "ENTITY_UPDATE"
activityStatus
required
string
Enum: "SUCCESS" "FAILED"
detail
object (ActivityDetail)
activityTime
required
integer <int64>
description
string
Responses
200

successful operation

post/ng/api/activityHistory
Request samples
{
  • "accountIdentifier": "string",
  • "referredEntity": {
    },
  • "type": "CONNECTIVITY_CHECK",
  • "activityStatus": "SUCCESS",
  • "detail": { },
  • "activityTime": 0,
  • "description": "string"
}
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}