Filter
This contains APIs related to Filter as defined in Harness
Lists Filters for the given criteria.
Page number of navigation. If left empty, default value of 0 is assumed.
0Number of entries per page. If left empty, default value of 100 is assumed
100Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Type of Filter
Text to search/filter the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of Filters
GET /gateway/ccm/api/filters?accountIdentifier=text&type=Connector HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Creates a Filter.
Account Identifier for the Entity.
This has details of the Filter entity defined in Harness
Name of the Filter.
Identifier of the Filter.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This indicates visibility of Filter, by default it is Everyone.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns created Filter
POST /gateway/ccm/api/filters?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Content-Type: application/json
Accept: */*
Content-Length: 203
{
"name": "text",
"identifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"filterProperties": {
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"filterType": "Connector"
},
"filterVisibility": "EveryOne"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Updates the filter for the given ID.
Account Identifier for the Entity.
This has details of the Filter entity defined in Harness
Name of the Filter.
Identifier of the Filter.
Organization Identifier for the Entity.
Project Identifier for the Entity.
This indicates visibility of Filter, by default it is Everyone.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the updated Filter
PUT /gateway/ccm/api/filters?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Content-Type: application/json
Accept: */*
Content-Length: 203
{
"name": "text",
"identifier": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"filterProperties": {
"tags": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"filterType": "Connector"
},
"filterVisibility": "EveryOne"
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Returns the settings of a filter for the given ID.
Filter Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Type of Filter
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns Filter having filterIdentifier as specified in request
GET /gateway/ccm/api/filters/{identifier}?accountIdentifier=text&type=Connector HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Deletes a filter for the given ID.
Filter Identifier
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Type of Filter
Bad Request
This is Failure entity as defied in Harness
Internal server error
Boolean status whether request was successful or not
DELETE /gateway/ccm/api/filters/{identifier}?accountIdentifier=text&type=Connector HTTP/1.1
Host: nextgen-ce-66b6b78845-qll9w
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?