get streaming endpoint.md

Get Streaming Endpoint

Media API · Streaming Endpoints

GET https://app.mk.io/api/v1/projects/{project_name}/media/streamingEndpoints/{endpoint_name}

Retrieves a single Streaming Endpoint.

RBAC Capability Required: ams.streamingendpoint.get

Authentication

Path parameters

Name Type Required Description
project_name string Yes
endpoint_name string Yes

Example request

curl -X GET "https://app.mk.io/api/v1/projects/{project_name}/media/streamingEndpoints/{endpoint_name}" \
  -H "Authorization: Bearer <token>"

Responses

200 — A single Streaming Endpoint

Example:

{
  "location": "string",
  "name": "name",
  "properties": {
    "accessControl": {
      "akamai": {
        "akamaiSignatureHeaderAuthenticationKeyList": [
          {
            "base64Key": "string",
            "expiration": "string",
            "identifier": "string"
          }
        ]
      },
      "ip": {
        "allow": [
          {
            "address": "string",
            "name": "",
            "subnetPrefixLength": 32
          }
        ]
      }
    },
    "advancedSettingsName": "string",
    "cdnBasePath": "string",
    "cdnEnabled": false,
    "cdnProfile": "string",
    "cdnProvider": "StandardAkamai",
    "created": "2024-01-01T00:00:00Z",
    "crossSiteAccessPolicies": {
      "clientAccessPolicy": "string",
      "crossDomainPolicy": "string"
    },
    "customHostNames": [
      "string"
    ],
    "description": "string",
    "hostName": "string",
    "lastModified": "2024-01-01T00:00:00Z",
    "maxCacheAge": 86400,
    "maxManifestCacheAge": 60,
    "provisioningState": "InProgress",
    "publicName": "string",
    "resourceState": "Creating",
    "scaleUnits": 0,
    "shieldCache": {
      "scaleUnits": 0
    },
    "sku": {
      "capacity": 0,
      "name": "Standard"
    },
    "urlStyle": "string"
  },
  "tags": {
    "key": "string"
  }
}

400 — Bad Request

401 — Unauthorized

403 — Forbidden

404 — Not Found

429 — Too Many Requests

500 — Internal Server Error


Source spec: media-api · operationId: [get]_/api/v1/projects/{project_name}/media/streamingEndpoints/{endpoint_name}