polling

subscribe

Request
Security:
ApiKey (readwrite)
Request Body schema: */*
Array
string <byte> ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[...
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/polling/subscribe
Request samples
curl -i -X POST \
  https://app.harness.io/gateway/ng/api/polling/subscribe \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d string
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

unsubscribe

Request
Security:
ApiKey (readwrite)
Request Body schema: */*
Array
string <byte> ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[...
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/polling/unsubscribe
Request samples
curl -i -X POST \
  https://app.harness.io/gateway/ng/api/polling/unsubscribe \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d string
Response samples
true

processPollingResultNg

Request
Security:
ApiKey (readwrite)
path Parameters
perpetualTaskId
required
string
query Parameters
accountId
string
Request Body schema: */*
Array
string <byte> ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[...
Responses
400

Bad Request

500

Internal server error

post/ng/api/polling/delegate-response/{perpetualTaskId}
Request samples
curl -i -X POST \
  'https://app.harness.io/gateway/ng/api/polling/delegate-response/:perpetualTaskId?accountId=string' \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d string
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}