naftiko: 1.0.0-alpha2 info: label: RingCentral API — Subscriptions description: 'RingCentral API — Subscriptions. 6 operations. Lead operation: List Subscriptions. Self-contained Naftiko capability covering one Ringcentral business surface.' tags: - Ringcentral - Subscriptions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RINGCENTRAL_API_KEY: RINGCENTRAL_API_KEY capability: consumes: - type: http namespace: platform-subscriptions baseUri: https://platform.ringcentral.com description: RingCentral API — Subscriptions business capability. Self-contained, no shared references. resources: - name: restapi-v1.0-subscription path: /restapi/v1.0/subscription operations: - name: listsubscriptions method: GET description: List Subscriptions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsubscription method: POST description: Create Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: restapi-v1.0-subscription-subscriptionId path: /restapi/v1.0/subscription/{subscriptionId} operations: - name: readsubscription method: GET description: Get Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatesubscription method: PUT description: Update Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletesubscription method: DELETE description: Cancel Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: restapi-v1.0-subscription-subscriptionId-renew path: /restapi/v1.0/subscription/{subscriptionId}/renew operations: - name: renewsubscription method: POST description: Renew Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.RINGCENTRAL_API_KEY}}' exposes: - type: rest namespace: platform-subscriptions-rest port: 8080 description: REST adapter for RingCentral API — Subscriptions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/restapi/v1-0/subscription name: restapi-v1-0-subscription description: REST surface for restapi-v1.0-subscription. operations: - method: GET name: listsubscriptions description: List Subscriptions call: platform-subscriptions.listsubscriptions outputParameters: - type: object mapping: $. - method: POST name: createsubscription description: Create Subscription call: platform-subscriptions.createsubscription with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/restapi/v1-0/subscription/{subscriptionid} name: restapi-v1-0-subscription-subscriptionid description: REST surface for restapi-v1.0-subscription-subscriptionId. operations: - method: GET name: readsubscription description: Get Subscription call: platform-subscriptions.readsubscription outputParameters: - type: object mapping: $. - method: PUT name: updatesubscription description: Update Subscription call: platform-subscriptions.updatesubscription with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesubscription description: Cancel Subscription call: platform-subscriptions.deletesubscription outputParameters: - type: object mapping: $. - path: /v1/restapi/v1-0/subscription/{subscriptionid}/renew name: restapi-v1-0-subscription-subscriptionid-renew description: REST surface for restapi-v1.0-subscription-subscriptionId-renew. operations: - method: POST name: renewsubscription description: Renew Subscription call: platform-subscriptions.renewsubscription outputParameters: - type: object mapping: $. - type: mcp namespace: platform-subscriptions-mcp port: 9090 transport: http description: MCP adapter for RingCentral API — Subscriptions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-subscriptions description: List Subscriptions hints: readOnly: true destructive: false idempotent: true call: platform-subscriptions.listsubscriptions outputParameters: - type: object mapping: $. - name: create-subscription description: Create Subscription hints: readOnly: false destructive: false idempotent: false call: platform-subscriptions.createsubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: get-subscription description: Get Subscription hints: readOnly: true destructive: false idempotent: true call: platform-subscriptions.readsubscription outputParameters: - type: object mapping: $. - name: update-subscription description: Update Subscription hints: readOnly: false destructive: false idempotent: true call: platform-subscriptions.updatesubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: cancel-subscription description: Cancel Subscription hints: readOnly: false destructive: true idempotent: true call: platform-subscriptions.deletesubscription outputParameters: - type: object mapping: $. - name: renew-subscription description: Renew Subscription hints: readOnly: false destructive: false idempotent: false call: platform-subscriptions.renewsubscription outputParameters: - type: object mapping: $.