naftiko: 1.0.0-alpha2 info: label: NetBird REST API — IDP Google Integrations description: 'NetBird REST API — IDP Google Integrations. 7 operations. Lead operation: Create Google IDP Integration. Self-contained Naftiko capability covering one Netbird business surface.' tags: - Netbird - IDP Google Integrations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NETBIRD_API_KEY: NETBIRD_API_KEY capability: consumes: - type: http namespace: netbird-idp-google-integrations baseUri: https://api.netbird.io description: NetBird REST API — IDP Google Integrations business capability. Self-contained, no shared references. resources: - name: api-integrations-google-idp path: /api/integrations/google-idp operations: - name: creategoogleintegration method: POST description: Create Google IDP Integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: getallgoogleintegrations method: GET description: Get All Google IDP Integrations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-integrations-google-idp-id path: /api/integrations/google-idp/{id} operations: - name: getgoogleintegration method: GET description: Get Google IDP Integration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updategoogleintegration method: PUT description: Update Google IDP Integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletegoogleintegration method: DELETE description: Delete Google IDP Integration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-integrations-google-idp-id-logs path: /api/integrations/google-idp/{id}/logs operations: - name: getgoogleintegrationlogs method: GET description: Get Google Integration Sync Logs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-integrations-google-idp-id-sync path: /api/integrations/google-idp/{id}/sync operations: - name: syncgoogleintegration method: POST description: Sync Google IDP Integration outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.NETBIRD_API_KEY}}' exposes: - type: rest namespace: netbird-idp-google-integrations-rest port: 8080 description: REST adapter for NetBird REST API — IDP Google Integrations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/integrations/google-idp name: api-integrations-google-idp description: REST surface for api-integrations-google-idp. operations: - method: POST name: creategoogleintegration description: Create Google IDP Integration call: netbird-idp-google-integrations.creategoogleintegration with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getallgoogleintegrations description: Get All Google IDP Integrations call: netbird-idp-google-integrations.getallgoogleintegrations outputParameters: - type: object mapping: $. - path: /v1/api/integrations/google-idp/{id} name: api-integrations-google-idp-id description: REST surface for api-integrations-google-idp-id. operations: - method: GET name: getgoogleintegration description: Get Google IDP Integration call: netbird-idp-google-integrations.getgoogleintegration outputParameters: - type: object mapping: $. - method: PUT name: updategoogleintegration description: Update Google IDP Integration call: netbird-idp-google-integrations.updategoogleintegration with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletegoogleintegration description: Delete Google IDP Integration call: netbird-idp-google-integrations.deletegoogleintegration outputParameters: - type: object mapping: $. - path: /v1/api/integrations/google-idp/{id}/logs name: api-integrations-google-idp-id-logs description: REST surface for api-integrations-google-idp-id-logs. operations: - method: GET name: getgoogleintegrationlogs description: Get Google Integration Sync Logs call: netbird-idp-google-integrations.getgoogleintegrationlogs outputParameters: - type: object mapping: $. - path: /v1/api/integrations/google-idp/{id}/sync name: api-integrations-google-idp-id-sync description: REST surface for api-integrations-google-idp-id-sync. operations: - method: POST name: syncgoogleintegration description: Sync Google IDP Integration call: netbird-idp-google-integrations.syncgoogleintegration outputParameters: - type: object mapping: $. - type: mcp namespace: netbird-idp-google-integrations-mcp port: 9090 transport: http description: MCP adapter for NetBird REST API — IDP Google Integrations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-google-idp-integration description: Create Google IDP Integration hints: readOnly: false destructive: false idempotent: false call: netbird-idp-google-integrations.creategoogleintegration with: body: tools.body outputParameters: - type: object mapping: $. - name: get-all-google-idp-integrations description: Get All Google IDP Integrations hints: readOnly: true destructive: false idempotent: true call: netbird-idp-google-integrations.getallgoogleintegrations outputParameters: - type: object mapping: $. - name: get-google-idp-integration description: Get Google IDP Integration hints: readOnly: true destructive: false idempotent: true call: netbird-idp-google-integrations.getgoogleintegration outputParameters: - type: object mapping: $. - name: update-google-idp-integration description: Update Google IDP Integration hints: readOnly: false destructive: false idempotent: true call: netbird-idp-google-integrations.updategoogleintegration with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-google-idp-integration description: Delete Google IDP Integration hints: readOnly: false destructive: true idempotent: true call: netbird-idp-google-integrations.deletegoogleintegration outputParameters: - type: object mapping: $. - name: get-google-integration-sync-logs description: Get Google Integration Sync Logs hints: readOnly: true destructive: false idempotent: true call: netbird-idp-google-integrations.getgoogleintegrationlogs outputParameters: - type: object mapping: $. - name: sync-google-idp-integration description: Sync Google IDP Integration hints: readOnly: false destructive: false idempotent: false call: netbird-idp-google-integrations.syncgoogleintegration outputParameters: - type: object mapping: $.