v1

latestOpenAPI 3.0.12026-07-13149396412.1 KB
MappingRule

get/api/v1/config/mapping-rules

Query parameters

page.max_sizeinteger

Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned.

page.tokenstring

Opaque page token identifying which page to request. An empty token identifies the first page.

slugsstring[]

Filters results by slug, where any MappingRule with a matching slug in the given list (and matches all other filters) is returned.

bucket_slugsstring[]

Filters results by bucket_slug, where any MappingRule with a matching bucket_slug in the given list (and matches all other filters) is returned.

namesstring[]

Filters results by name, where any MappingRule with a matching name in the given list (and matches all other filters) is returned.

Response

A successful response.

Example response

{
  "mapping_rules": [
    {
      "filters": [
        {
          "name": "job",
          "value_glob": "myservice*"
        }
      ]
    }
  ]
}