Hosts
This contains APIs related to Hosts as defined in Harness
Page Index of the results to fetch.Default Value: 0
0Results per page(max 100)Default Value: 50
50Page Token of the next results to fetch.Default Value: ''
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Connector Identifier
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of hosts filtered by accountIdentifier and connectorIdentifier
POST /gateway/ng/api/hosts/filter?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"type": "All",
"filter": "text",
"matchCriteria": "text"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Secret Identifier
Host validation parameters, including host names and delegate tags.
Hosts to be validated
Delegate tags (optional)
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns validation response
POST /gateway/ng/api/hosts/validate?accountIdentifier=text&identifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"hosts": [
"text"
],
"tags": [
"text"
]
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?