TEGNA · Capability

TEGNA Premion OTT Advertising API — Inventory

TEGNA Premion OTT Advertising API — Inventory. 1 operations. Lead operation: List OTT Inventory. Self-contained Naftiko capability covering one Tegna business surface.

Run with Naftiko TegnaInventory

What You Can Do

GET
Listottinventory — List OTT Inventory
/v1/inventory

MCP Tools

list-ott-inventory

List OTT Inventory

read-only idempotent

Capability Spec

premion-inventory.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TEGNA Premion OTT Advertising API — Inventory
  description: 'TEGNA Premion OTT Advertising API — Inventory. 1 operations. Lead operation: List OTT Inventory. Self-contained
    Naftiko capability covering one Tegna business surface.'
  tags:
  - Tegna
  - Inventory
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TEGNA_API_KEY: TEGNA_API_KEY
capability:
  consumes:
  - type: http
    namespace: premion-inventory
    baseUri: https://api.premion.com/v1
    description: TEGNA Premion OTT Advertising API — Inventory business capability. Self-contained, no shared references.
    resources:
    - name: inventory
      path: /inventory
      operations:
      - name: listottinventory
        method: GET
        description: List OTT Inventory
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: platform
          in: query
          type: string
          description: Filter by streaming platform.
        - name: genre
          in: query
          type: string
          description: Filter by content genre.
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.TEGNA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: premion-inventory-rest
    port: 8080
    description: REST adapter for TEGNA Premion OTT Advertising API — Inventory. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/inventory
      name: inventory
      description: REST surface for inventory.
      operations:
      - method: GET
        name: listottinventory
        description: List OTT Inventory
        call: premion-inventory.listottinventory
        with:
          platform: rest.platform
          genre: rest.genre
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: premion-inventory-mcp
    port: 9090
    transport: http
    description: MCP adapter for TEGNA Premion OTT Advertising API — Inventory. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-ott-inventory
      description: List OTT Inventory
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: premion-inventory.listottinventory
      with:
        platform: tools.platform
        genre: tools.genre
      outputParameters:
      - type: object
        mapping: $.