naftiko: 1.0.0-alpha2 info: label: RingCentral API — Call Blocking description: 'RingCentral API — Call Blocking. 7 operations. Lead operation: Get Caller Blocking Settings. Self-contained Naftiko capability covering one Ringcentral business surface.' tags: - Ringcentral - Call Blocking created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RINGCENTRAL_API_KEY: RINGCENTRAL_API_KEY capability: consumes: - type: http namespace: platform-call-blocking baseUri: https://platform.ringcentral.com description: RingCentral API — Call Blocking business capability. Self-contained, no shared references. resources: - name: restapi-v1.0-account-accountId-extension-extensionId-caller-blocking path: /restapi/v1.0/account/{accountId}/extension/{extensionId}/caller-blocking operations: - name: readcallerblockingsettings method: GET description: Get Caller Blocking Settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatecallerblockingsettings method: PUT description: Update Caller Blocking Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: restapi-v1.0-account-accountId-extension-extensionId-caller-blocking-phone-numbe path: /restapi/v1.0/account/{accountId}/extension/{extensionId}/caller-blocking/phone-numbers operations: - name: listblockedallowednumbers method: GET description: List Blocked/Allowed Phone Numbers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string - name: createblockedallowednumber method: POST description: Add Blocked/Allowed Number 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-account-accountId-extension-extensionId-caller-blocking-phone-numbe path: /restapi/v1.0/account/{accountId}/extension/{extensionId}/caller-blocking/phone-numbers/{blockedNumberId} operations: - name: readblockedallowednumber method: GET description: Get Blocked/Allowed Number outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateblockedallowednumber method: PUT description: Update Blocked/Allowed Number outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deleteblockedallowednumber method: DELETE description: Delete Blocked/Allowed Number outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.RINGCENTRAL_API_KEY}}' exposes: - type: rest namespace: platform-call-blocking-rest port: 8080 description: REST adapter for RingCentral API — Call Blocking. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/restapi/v1-0/account/{accountid}/extension/{extensionid}/caller-blocking name: restapi-v1-0-account-accountid-extension-extensionid-caller-blocking description: REST surface for restapi-v1.0-account-accountId-extension-extensionId-caller-blocking. operations: - method: GET name: readcallerblockingsettings description: Get Caller Blocking Settings call: platform-call-blocking.readcallerblockingsettings outputParameters: - type: object mapping: $. - method: PUT name: updatecallerblockingsettings description: Update Caller Blocking Settings call: platform-call-blocking.updatecallerblockingsettings with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/restapi/v1-0/account/{accountid}/extension/{extensionid}/caller-blocking/phone-numbers name: restapi-v1-0-account-accountid-extension-extensionid-caller-blocking-phone-numbe description: REST surface for restapi-v1.0-account-accountId-extension-extensionId-caller-blocking-phone-numbe. operations: - method: GET name: listblockedallowednumbers description: List Blocked/Allowed Phone Numbers call: platform-call-blocking.listblockedallowednumbers with: status: rest.status outputParameters: - type: object mapping: $. - method: POST name: createblockedallowednumber description: Add Blocked/Allowed Number call: platform-call-blocking.createblockedallowednumber with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/restapi/v1-0/account/{accountid}/extension/{extensionid}/caller-blocking/phone-numbers/{blockednumberid} name: restapi-v1-0-account-accountid-extension-extensionid-caller-blocking-phone-numbe description: REST surface for restapi-v1.0-account-accountId-extension-extensionId-caller-blocking-phone-numbe. operations: - method: GET name: readblockedallowednumber description: Get Blocked/Allowed Number call: platform-call-blocking.readblockedallowednumber outputParameters: - type: object mapping: $. - method: PUT name: updateblockedallowednumber description: Update Blocked/Allowed Number call: platform-call-blocking.updateblockedallowednumber with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteblockedallowednumber description: Delete Blocked/Allowed Number call: platform-call-blocking.deleteblockedallowednumber outputParameters: - type: object mapping: $. - type: mcp namespace: platform-call-blocking-mcp port: 9090 transport: http description: MCP adapter for RingCentral API — Call Blocking. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-caller-blocking-settings description: Get Caller Blocking Settings hints: readOnly: true destructive: false idempotent: true call: platform-call-blocking.readcallerblockingsettings outputParameters: - type: object mapping: $. - name: update-caller-blocking-settings description: Update Caller Blocking Settings hints: readOnly: false destructive: false idempotent: true call: platform-call-blocking.updatecallerblockingsettings with: body: tools.body outputParameters: - type: object mapping: $. - name: list-blocked-allowed-phone-numbers description: List Blocked/Allowed Phone Numbers hints: readOnly: true destructive: false idempotent: true call: platform-call-blocking.listblockedallowednumbers with: status: tools.status outputParameters: - type: object mapping: $. - name: add-blocked-allowed-number description: Add Blocked/Allowed Number hints: readOnly: false destructive: false idempotent: false call: platform-call-blocking.createblockedallowednumber with: body: tools.body outputParameters: - type: object mapping: $. - name: get-blocked-allowed-number description: Get Blocked/Allowed Number hints: readOnly: true destructive: false idempotent: true call: platform-call-blocking.readblockedallowednumber outputParameters: - type: object mapping: $. - name: update-blocked-allowed-number description: Update Blocked/Allowed Number hints: readOnly: false destructive: false idempotent: true call: platform-call-blocking.updateblockedallowednumber with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-blocked-allowed-number description: Delete Blocked/Allowed Number hints: readOnly: false destructive: true idempotent: true call: platform-call-blocking.deleteblockedallowednumber outputParameters: - type: object mapping: $.