List Constraint Violations By Type

List Constraint Violations By Type

List all constraintviolations in the System by Type and Optional VimId filter

Request
URI
GET
https://{api_host}/telco/api/securityPolicy/constraintViolations
COPY
Query Parameters
string
violation_type
Optional

The type of the violation AuditTime or AdmissionTime

string
vim_id
Optional

The id of the k8s based Vim

string
filter
Optional

The filter for listing. The format is (comparator,fieldName,value).

string
sort
Optional

The sorting order. The format of the param is ,<asc/dsc>. Defaults to updatedAt,dsc

string
nextpage_opaque_marker
Optional

Opaque marker for paging. This optionally contains ordering as well.

nextpage_opaque_marker example
page_no=2,page_size=2,sort=id:desc
Header Parameters
boolean
x-tca-anymatch
Optional

If false, then the filter expressions are taken in logical AND relation, otherwise OR. Default - false


Responses
200

List of Constraint Violations of given type and optional VimId filter

Returns ConstraintViolations of type(s) application/json
"ConstraintViolations Object"
array of object
ConstraintViolations
Optional

ConstraintViolations

Response Headers

undefined
TotalRowCount

undefined

undefined
Link

undefined


400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

401
Returns Unauthorized of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

500
Returns InternalServerError of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/telco/api/securityPolicy/constraintViolations