Portals

Lists developer portals defined in this region for this organization. Each developer portal is available at a unique address and has isolated appearance, configuration, developers, and applications.

get/v2/portals#classic

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:100

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.

sort, string

Sorts a collection of portals. Supported sort attributes are:

  • name
  • description
  • is_public
  • rbac_enabled
  • auto_approve_applications
  • auto_approve_developers
  • default_domain
  • custom_domain
  • custom_client_domain
  • created_at
  • updated_at

Response

A paginated list of portals in the current region of an organization.

V2ListPortalsResponse required

A paginated list of portals in the current region in the organization.

meta, PaginatedMeta required

returns the pagination information

data, V2Portal[] required

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 1
    }
  },
  "data": [
    {
      "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "created_at": "2022-02-07T17:46:57.52Z",
      "updated_at": "2022-10-08T17:00:00.52Z",
      "name": "Portal A",
      "display_name": "Developer Portal A",
      "description": "The Portal A",
      "default_domain": "123455678abcd.us.portal.konghq.com",
      "is_public": false,
      "rbac_enabled": true,
      "auto_approve_applications": false,
      "auto_approve_developers": true,
      "custom_domain": "api.example.com",
      "custom_client_domain": "portal.example.com",
      "application_count": 0,
      "developer_count": 0,
      "published_product_count": 0
    }
  ]
}

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