Skip to main content
GET
/
apps
/
{appId}
/
endpoints
List application endpoints
curl --request GET \
  --url https://api.bunny.net/mc/apps/{appId}/endpoints \
  --header 'AccessKey: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "displayName": "<string>",
      "publicHost": "<string>",
      "type": "CDN",
      "isSslEnabled": true,
      "pullZoneId": "<string>",
      "portMappings": [
        {
          "containerPort": 123,
          "exposedPort": 123,
          "protocols": [
            "Tcp"
          ]
        }
      ],
      "containerName": "<string>",
      "containerId": "<string>",
      "stickySessions": {
        "enabled": true,
        "sessionHeaders": [
          "<string>"
        ],
        "cookieName": "<string>"
      },
      "internalIpAddresses": [
        {
          "address": "<string>",
          "region": "<string>"
        }
      ],
      "publicIpAddresses": [
        {
          "address": "<string>",
          "region": "<string>"
        }
      ]
    }
  ],
  "meta": {
    "totalItems": 123
  },
  "cursor": "<string>"
}

Authorizations

AccessKey
string
header
required

Please enter a valid personal API key.

Path Parameters

appId
string
required

The ID of the application

Response

Endpoints were successfully retrieved.

List endpoints response

items
object[]
meta
object
cursor
string | null