naftiko: 1.0.0-alpha2 info: label: 'Cal.diy API v2 — Deprecated: Platform OAuth Clients' description: 'Cal.diy API v2 — Deprecated: Platform OAuth Clients. 5 operations. Lead operation: Create an OAuth client. Self-contained Naftiko capability covering one Cal Com business surface.' tags: - Cal Com - 'Deprecated: Platform OAuth Clients' created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CAL_COM_API_KEY: CAL_COM_API_KEY capability: consumes: - type: http namespace: cal-com-deprecated-platform-oauth-clients baseUri: '' description: 'Cal.diy API v2 — Deprecated: Platform OAuth Clients business capability. Self-contained, no shared references.' resources: - name: v2-oauth-clients path: /v2/oauth-clients operations: - name: oauthclientscontrollercreateoauthclient method: POST description: Create an OAuth client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: value must be `Bearer ` where `` is api key prefixed with cal_ required: true - name: body in: body type: object description: Request body (JSON). required: true - name: oauthclientscontrollergetoauthclients method: GET description: Get all OAuth clients outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: value must be `Bearer ` where `` is api key prefixed with cal_ required: true - name: v2-oauth-clients-clientId path: /v2/oauth-clients/{clientId} operations: - name: oauthclientscontrollergetoauthclientbyid method: GET description: Get an OAuth client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: value must be `Bearer ` where `` is api key prefixed with cal_ required: true - name: clientId in: path type: string required: true - name: oauthclientscontrollerupdateoauthclient method: PATCH description: Update an OAuth client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: value must be `Bearer ` where `` is api key prefixed with cal_ required: true - name: clientId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: oauthclientscontrollerdeleteoauthclient method: DELETE description: Delete an OAuth client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: value must be `Bearer ` where `` is api key prefixed with cal_ required: true - name: clientId in: path type: string required: true exposes: - type: rest namespace: cal-com-deprecated-platform-oauth-clients-rest port: 8080 description: 'REST adapter for Cal.diy API v2 — Deprecated: Platform OAuth Clients. One Spectral-compliant resource per consumed operation, prefixed with /v1.' resources: - path: /v1/v2/oauth-clients name: v2-oauth-clients description: REST surface for v2-oauth-clients. operations: - method: POST name: oauthclientscontrollercreateoauthclient description: Create an OAuth client call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollercreateoauthclient with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - method: GET name: oauthclientscontrollergetoauthclients description: Get all OAuth clients call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollergetoauthclients with: Authorization: rest.Authorization outputParameters: - type: object mapping: $. - path: /v1/v2/oauth-clients/{clientid} name: v2-oauth-clients-clientid description: REST surface for v2-oauth-clients-clientId. operations: - method: GET name: oauthclientscontrollergetoauthclientbyid description: Get an OAuth client call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollergetoauthclientbyid with: Authorization: rest.Authorization clientId: rest.clientId outputParameters: - type: object mapping: $. - method: PATCH name: oauthclientscontrollerupdateoauthclient description: Update an OAuth client call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollerupdateoauthclient with: Authorization: rest.Authorization clientId: rest.clientId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: oauthclientscontrollerdeleteoauthclient description: Delete an OAuth client call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollerdeleteoauthclient with: Authorization: rest.Authorization clientId: rest.clientId outputParameters: - type: object mapping: $. - type: mcp namespace: cal-com-deprecated-platform-oauth-clients-mcp port: 9090 transport: http description: 'MCP adapter for Cal.diy API v2 — Deprecated: Platform OAuth Clients. One tool per consumed operation, routed inline through this capability''s consumes block.' tools: - name: create-oauth-client description: Create an OAuth client hints: readOnly: false destructive: false idempotent: false call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollercreateoauthclient with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: get-all-oauth-clients description: Get all OAuth clients hints: readOnly: true destructive: false idempotent: true call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollergetoauthclients with: Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: get-oauth-client description: Get an OAuth client hints: readOnly: true destructive: false idempotent: true call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollergetoauthclientbyid with: Authorization: tools.Authorization clientId: tools.clientId outputParameters: - type: object mapping: $. - name: update-oauth-client description: Update an OAuth client hints: readOnly: false destructive: false idempotent: true call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollerupdateoauthclient with: Authorization: tools.Authorization clientId: tools.clientId body: tools.body outputParameters: - type: object mapping: $. - name: delete-oauth-client description: Delete an OAuth client hints: readOnly: false destructive: true idempotent: true call: cal-com-deprecated-platform-oauth-clients.oauthclientscontrollerdeleteoauthclient with: Authorization: tools.Authorization clientId: tools.clientId outputParameters: - type: object mapping: $.