naftiko: 1.0.0-alpha2 info: label: Twilio - Media — PlayerStreamers description: 'Twilio - Media — PlayerStreamers. 6 operations. Lead operation: PlayerStreamers. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - PlayerStreamers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWILIO_API_KEY: TWILIO_API_KEY capability: consumes: - type: http namespace: media-playerstreamers baseUri: https://media.twilio.com description: Twilio - Media — PlayerStreamers business capability. Self-contained, no shared references. resources: - name: v1-PlayerStreamers path: /v1/PlayerStreamers operations: - name: createplayerstreamer method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listplayerstreamer method: GET description: Returns a list of PlayerStreamers. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Order in: query type: string description: 'The sort order of the list by `date_created`. Can be: `asc` (ascending) or `desc` (descending) with `desc` as the default.' - name: Status in: query type: string description: Status to filter by, with possible values `created`, `started`, `ended`, or `failed`. - name: PageSize in: query type: integer description: How many resources to return in each list page. The default is 50, and the maximum is 1000. - name: Page in: query type: integer description: The page index. This value is simply for client state. - name: PageToken in: query type: string description: The page token. This is provided by the API. - name: v1-PlayerStreamers-Sid path: /v1/PlayerStreamers/{Sid} operations: - name: fetchplayerstreamer method: GET description: Returns a single PlayerStreamer resource identified by a SID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The SID of the PlayerStreamer resource to fetch. required: true - name: updateplayerstreamer method: POST description: Updates a PlayerStreamer resource identified by a SID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The SID of the PlayerStreamer resource to update. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-PlayerStreamers-Sid-PlaybackGrant path: /v1/PlayerStreamers/{Sid}/PlaybackGrant operations: - name: createplayerstreamerplaybackgrant method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The unique string generated to identify the PlayerStreamer resource associated with this PlaybackGrant required: true - name: body in: body type: object description: Request body (JSON). required: false - name: fetchplayerstreamerplaybackgrant method: GET description: '**This method is not enabled.** Returns a single PlaybackGrant resource identified by a SID.' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Sid in: path type: string description: The SID of the PlayerStreamer resource to fetch. required: true authentication: type: basic username: '{{env.TWILIO_USER}}' password: '{{env.TWILIO_PASS}}' exposes: - type: rest namespace: media-playerstreamers-rest port: 8080 description: REST adapter for Twilio - Media — PlayerStreamers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/playerstreamers name: v1-playerstreamers description: REST surface for v1-PlayerStreamers. operations: - method: POST name: createplayerstreamer description: createplayerstreamer call: media-playerstreamers.createplayerstreamer with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listplayerstreamer description: Returns a list of PlayerStreamers. call: media-playerstreamers.listplayerstreamer with: Order: rest.Order Status: rest.Status PageSize: rest.PageSize Page: rest.Page PageToken: rest.PageToken outputParameters: - type: object mapping: $. - path: /v1/v1/playerstreamers/{sid} name: v1-playerstreamers-sid description: REST surface for v1-PlayerStreamers-Sid. operations: - method: GET name: fetchplayerstreamer description: Returns a single PlayerStreamer resource identified by a SID. call: media-playerstreamers.fetchplayerstreamer with: Sid: rest.Sid outputParameters: - type: object mapping: $. - method: POST name: updateplayerstreamer description: Updates a PlayerStreamer resource identified by a SID. call: media-playerstreamers.updateplayerstreamer with: Sid: rest.Sid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/playerstreamers/{sid}/playbackgrant name: v1-playerstreamers-sid-playbackgrant description: REST surface for v1-PlayerStreamers-Sid-PlaybackGrant. operations: - method: POST name: createplayerstreamerplaybackgrant description: createplayerstreamerplaybackgrant call: media-playerstreamers.createplayerstreamerplaybackgrant with: Sid: rest.Sid body: rest.body outputParameters: - type: object mapping: $. - method: GET name: fetchplayerstreamerplaybackgrant description: '**This method is not enabled.** Returns a single PlaybackGrant resource identified by a SID.' call: media-playerstreamers.fetchplayerstreamerplaybackgrant with: Sid: rest.Sid outputParameters: - type: object mapping: $. - type: mcp namespace: media-playerstreamers-mcp port: 9090 transport: http description: MCP adapter for Twilio - Media — PlayerStreamers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: createplayerstreamer description: createplayerstreamer hints: readOnly: false destructive: false idempotent: false call: media-playerstreamers.createplayerstreamer with: body: tools.body outputParameters: - type: object mapping: $. - name: returns-list-playerstreamers description: Returns a list of PlayerStreamers. hints: readOnly: true destructive: false idempotent: true call: media-playerstreamers.listplayerstreamer with: Order: tools.Order Status: tools.Status PageSize: tools.PageSize Page: tools.Page PageToken: tools.PageToken outputParameters: - type: object mapping: $. - name: returns-single-playerstreamer-resource-identified description: Returns a single PlayerStreamer resource identified by a SID. hints: readOnly: true destructive: false idempotent: true call: media-playerstreamers.fetchplayerstreamer with: Sid: tools.Sid outputParameters: - type: object mapping: $. - name: updates-playerstreamer-resource-identified-sid description: Updates a PlayerStreamer resource identified by a SID. hints: readOnly: false destructive: false idempotent: false call: media-playerstreamers.updateplayerstreamer with: Sid: tools.Sid body: tools.body outputParameters: - type: object mapping: $. - name: createplayerstreamerplaybackgrant description: createplayerstreamerplaybackgrant hints: readOnly: false destructive: false idempotent: false call: media-playerstreamers.createplayerstreamerplaybackgrant with: Sid: tools.Sid body: tools.body outputParameters: - type: object mapping: $. - name: this-method-is-not-enabled description: '**This method is not enabled.** Returns a single PlaybackGrant resource identified by a SID.' hints: readOnly: true destructive: false idempotent: true call: media-playerstreamers.fetchplayerstreamerplaybackgrant with: Sid: tools.Sid outputParameters: - type: object mapping: $.