Criteria Templates

List Criteria Templates

Changed on

Returns a paginated collection of criteria templates.

get/v1/criteria-templates

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Query parameters

page[size], integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number], integer
Example:1

Determines which page of the entities to retrieve.

filter, CriteriaTemplateFilterParameters
name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

display_name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

installed, boolean

Filter by a boolean value (true/false).

integration_name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

Filters a collection of criteria templates.

sort, string

The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').

Example:created_at desc

Sorts a collection of criteria templates. Supported sort attributes are:

  • display_name
  • name

Default sort is display_name in ascending order.

Response

A paginated list response for a collection of criteria templates.

object required
meta, PaginatedMeta required

returns the pagination information

data, CriteriaTemplate[] required

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "name": "time_to_merge",
      "category": "Source Code Management"
    }
  ]
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status