naftiko: 1.0.0-alpha2 info: label: TEGNA Premion OTT Advertising API — OTT Campaigns description: 'TEGNA Premion OTT Advertising API — OTT Campaigns. 3 operations. Lead operation: List OTT Campaigns. Self-contained Naftiko capability covering one Tegna business surface.' tags: - Tegna - OTT Campaigns created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TEGNA_API_KEY: TEGNA_API_KEY capability: consumes: - type: http namespace: premion-ott-campaigns baseUri: https://api.premion.com/v1 description: TEGNA Premion OTT Advertising API — OTT Campaigns business capability. Self-contained, no shared references. resources: - name: campaigns path: /campaigns operations: - name: listottcampaigns method: GET description: List OTT Campaigns outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string - name: page in: query type: integer - name: createottcampaign method: POST description: Create OTT Campaign outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: campaigns-campaignId path: /campaigns/{campaignId} operations: - name: getottcampaign method: GET description: Get OTT Campaign outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: campaignId in: path type: string required: true authentication: type: apikey key: X-API-Key value: '{{env.TEGNA_API_KEY}}' placement: header exposes: - type: rest namespace: premion-ott-campaigns-rest port: 8080 description: REST adapter for TEGNA Premion OTT Advertising API — OTT Campaigns. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/campaigns name: campaigns description: REST surface for campaigns. operations: - method: GET name: listottcampaigns description: List OTT Campaigns call: premion-ott-campaigns.listottcampaigns with: status: rest.status page: rest.page outputParameters: - type: object mapping: $. - method: POST name: createottcampaign description: Create OTT Campaign call: premion-ott-campaigns.createottcampaign with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/campaigns/{campaignid} name: campaigns-campaignid description: REST surface for campaigns-campaignId. operations: - method: GET name: getottcampaign description: Get OTT Campaign call: premion-ott-campaigns.getottcampaign with: campaignId: rest.campaignId outputParameters: - type: object mapping: $. - type: mcp namespace: premion-ott-campaigns-mcp port: 9090 transport: http description: MCP adapter for TEGNA Premion OTT Advertising API — OTT Campaigns. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-ott-campaigns description: List OTT Campaigns hints: readOnly: true destructive: false idempotent: true call: premion-ott-campaigns.listottcampaigns with: status: tools.status page: tools.page outputParameters: - type: object mapping: $. - name: create-ott-campaign description: Create OTT Campaign hints: readOnly: false destructive: false idempotent: false call: premion-ott-campaigns.createottcampaign with: body: tools.body outputParameters: - type: object mapping: $. - name: get-ott-campaign description: Get OTT Campaign hints: readOnly: true destructive: false idempotent: true call: premion-ott-campaigns.getottcampaign with: campaignId: tools.campaignId outputParameters: - type: object mapping: $.