API Attributes

List API Attributes

Changed on

List attributes across all apis

get/v3/api-attributes

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, ApiAttributeFilterParameters
id, UuidFieldFilter

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

key, UuidFieldFilter

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

created_at, union

Filters on the given datetime (RFC-3339) field value.

updated_at, union

Filters on the given datetime (RFC-3339) field value.

Filters API attributes in the response.

{
  "created_at": {
    "eq": "2022-03-30T07:20:50Z"
  },
  "updated_at": {
    "eq": "2022-03-30T07:20:50Z"
  }
}
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 API attributes. Supported sort attributes are:

  • id
  • key
  • created_at
  • updated_at

Response

Paginated list of API attributes

object required
meta, PaginatedMeta required

returns the pagination information

data, ApiAttributeListItem[] required

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_at": "2022-11-04T20:10:06.927Z",
      "key": "kind",
      "values": [
        {
          "value": "REST"
        }
      ]
    }
  ]
}

Changes

    • warning

      added the new 401.00 enum value to the status response property for the response status

    • warning

      added the new 403.00 enum value to the status response property for the response status

    • warning

      added the new 404.00 enum value to the status response property for the response status