Get associated rulesets

GET /deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets

Retrieves the rulesets associated with a deployment.

Path parameters

  • association_type string Required

    Association type

  • associated_entity_id string Required

    Associated entity ID

Responses

  • 200 application/json

    Rulesets in the deployment were successfully returned

    Hide response attribute Show response attribute object
    • rulesets array[string] Required

      IDs of the traffic filter rulesets

  • 400 application/json

    Invalid association type. (code: traffic_filter.invalid_association_type)

    Hide headers attribute Show headers attribute
    • x-cloud-error-codes string

      The error codes associated with the response

      Value is traffic_filter.invalid_association_type.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

  • 500 application/json

    Error fetching traffic filter rulesets. (code: traffic_filter.request_execution_failed)

    Hide headers attribute Show headers attribute
    • x-cloud-error-codes string

      The error codes associated with the response

      Value is traffic_filter.request_execution_failed.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

GET /deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets
curl \
 --request GET 'https://{{hostname}}/api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets' \
 --user "username:password"