naftiko: 1.0.0-alpha2 info: label: Argus Enterprise Webhook API — Subscriptions description: 'Argus Enterprise Webhook API — Subscriptions. 8 operations. Lead operation: Argus Enterprise List Webhook Subscriptions. Self-contained Naftiko capability covering one Argus Enterprise business surface.' tags: - Argus Enterprise - Subscriptions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARGUS_ENTERPRISE_API_KEY: ARGUS_ENTERPRISE_API_KEY capability: consumes: - type: http namespace: webhooks-subscriptions baseUri: https://webhooks.argusenterprise.com/v1 description: Argus Enterprise Webhook API — Subscriptions business capability. Self-contained, no shared references. resources: - name: subscriptions path: /subscriptions operations: - name: listsubscriptions method: GET description: Argus Enterprise List Webhook Subscriptions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by subscription status - name: eventType in: query type: string description: Filter by event type - name: createsubscription method: POST description: Argus Enterprise Create a Webhook Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: subscriptions-subscriptionId path: /subscriptions/{subscriptionId} operations: - name: getsubscription method: GET description: Argus Enterprise Get a Webhook Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatesubscription method: PUT description: Argus Enterprise Update a Webhook Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletesubscription method: DELETE description: Argus Enterprise Delete a Webhook Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-pause path: /subscriptions/{subscriptionId}/pause operations: - name: pausesubscription method: POST description: Argus Enterprise Pause a Webhook Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resume path: /subscriptions/{subscriptionId}/resume operations: - name: resumesubscription method: POST description: Argus Enterprise Resume a Webhook Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-test path: /subscriptions/{subscriptionId}/test operations: - name: testsubscription method: POST description: Argus Enterprise Send a Test Event outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ARGUS_ENTERPRISE_API_KEY}}' exposes: - type: rest namespace: webhooks-subscriptions-rest port: 8080 description: REST adapter for Argus Enterprise Webhook API — Subscriptions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions name: subscriptions description: REST surface for subscriptions. operations: - method: GET name: listsubscriptions description: Argus Enterprise List Webhook Subscriptions call: webhooks-subscriptions.listsubscriptions with: status: rest.status eventType: rest.eventType outputParameters: - type: object mapping: $. - method: POST name: createsubscription description: Argus Enterprise Create a Webhook Subscription call: webhooks-subscriptions.createsubscription with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid} name: subscriptions-subscriptionid description: REST surface for subscriptions-subscriptionId. operations: - method: GET name: getsubscription description: Argus Enterprise Get a Webhook Subscription call: webhooks-subscriptions.getsubscription outputParameters: - type: object mapping: $. - method: PUT name: updatesubscription description: Argus Enterprise Update a Webhook Subscription call: webhooks-subscriptions.updatesubscription with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesubscription description: Argus Enterprise Delete a Webhook Subscription call: webhooks-subscriptions.deletesubscription outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/pause name: subscriptions-subscriptionid-pause description: REST surface for subscriptions-subscriptionId-pause. operations: - method: POST name: pausesubscription description: Argus Enterprise Pause a Webhook Subscription call: webhooks-subscriptions.pausesubscription outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resume name: subscriptions-subscriptionid-resume description: REST surface for subscriptions-subscriptionId-resume. operations: - method: POST name: resumesubscription description: Argus Enterprise Resume a Webhook Subscription call: webhooks-subscriptions.resumesubscription outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/test name: subscriptions-subscriptionid-test description: REST surface for subscriptions-subscriptionId-test. operations: - method: POST name: testsubscription description: Argus Enterprise Send a Test Event call: webhooks-subscriptions.testsubscription outputParameters: - type: object mapping: $. - type: mcp namespace: webhooks-subscriptions-mcp port: 9090 transport: http description: MCP adapter for Argus Enterprise Webhook API — Subscriptions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: argus-enterprise-list-webhook-subscriptions description: Argus Enterprise List Webhook Subscriptions hints: readOnly: true destructive: false idempotent: true call: webhooks-subscriptions.listsubscriptions with: status: tools.status eventType: tools.eventType outputParameters: - type: object mapping: $. - name: argus-enterprise-create-webhook-subscription description: Argus Enterprise Create a Webhook Subscription hints: readOnly: false destructive: false idempotent: false call: webhooks-subscriptions.createsubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: argus-enterprise-get-webhook-subscription description: Argus Enterprise Get a Webhook Subscription hints: readOnly: true destructive: false idempotent: true call: webhooks-subscriptions.getsubscription outputParameters: - type: object mapping: $. - name: argus-enterprise-update-webhook-subscription description: Argus Enterprise Update a Webhook Subscription hints: readOnly: false destructive: false idempotent: true call: webhooks-subscriptions.updatesubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: argus-enterprise-delete-webhook-subscription description: Argus Enterprise Delete a Webhook Subscription hints: readOnly: false destructive: true idempotent: true call: webhooks-subscriptions.deletesubscription outputParameters: - type: object mapping: $. - name: argus-enterprise-pause-webhook-subscription description: Argus Enterprise Pause a Webhook Subscription hints: readOnly: false destructive: false idempotent: false call: webhooks-subscriptions.pausesubscription outputParameters: - type: object mapping: $. - name: argus-enterprise-resume-webhook-subscription description: Argus Enterprise Resume a Webhook Subscription hints: readOnly: false destructive: false idempotent: false call: webhooks-subscriptions.resumesubscription outputParameters: - type: object mapping: $. - name: argus-enterprise-send-test-event description: Argus Enterprise Send a Test Event hints: readOnly: true destructive: false idempotent: false call: webhooks-subscriptions.testsubscription outputParameters: - type: object mapping: $.