aggregate

Gets count of account resources

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/aggregate/account-resources
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/aggregate/account-resources?accountIdentifier=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Gets a ProjectAggregateDTO by identifier

Request
Security:
ApiKey (readwrite)
path Parameters
identifier
required
string
query Parameters
accountIdentifier
required
string
orgIdentifier
string
Default: "default"
Responses
200

successful operation

400

Bad Request

500

Internal server error

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

Gets an OrganizationAggregateDTO by identifier

Request
Security:
ApiKey (readwrite)
path Parameters
identifier
required
string
query Parameters
accountIdentifier
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

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

Get Aggregated User Group list

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
pageIndex
integer <int32>
Default: 0
pageSize
integer <int32> <= 100
Default: 50
sortOrders
Array of strings
searchTerm
string
userSize
integer <int32> <= 20
Default: 6
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/aggregate/acl/usergroups
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/aggregate/acl/usergroups?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&pageIndex=0&pageSize=50&sortOrders=string&searchTerm=string&userSize=6' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get ProjectAggregateDTO list

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
orgIdentifier
string
hasModule
boolean
Default: true
moduleType
string
Enum: "CD" "CI" "CV" "CF" "CE" "CORE" "PMS" "TEMPLATESERVICE"
searchTerm
string
pageIndex
integer <int32>
Default: 0
pageSize
integer <int32> <= 100
Default: 50
sortOrders
Array of strings
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/aggregate/projects
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/aggregate/projects?accountIdentifier=string&orgIdentifier=string&hasModule=true&moduleType=CD&searchTerm=string&pageIndex=0&pageSize=50&sortOrders=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get Aggregated User Group list with filter

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
Request Body schema:
searchTerm
string
resourceGroupFilter
Array of strings unique
roleFilter
Array of strings unique
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/ng/api/aggregate/acl/usergroups/filter
Request samples
{
  • "searchTerm": "string",
  • "resourceGroupFilter": [
    ],
  • "roleFilter": [
    ]
}
Response samples
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get OrganizationAggregateDTO list

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string
searchTerm
string
pageIndex
integer <int32>
Default: 0
pageSize
integer <int32> <= 100
Default: 50
sortOrders
Array of strings
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/aggregate/organizations
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/aggregate/organizations?accountIdentifier=string&searchTerm=string&pageIndex=0&pageSize=50&sortOrders=string' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get Aggregated User Group

Request
Security:
ApiKey (readwrite)
path Parameters
identifier
required
string
query Parameters
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

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