Azure Notification Hubs · Capability

Azure Notification Hubs REST API — Registrations

Azure Notification Hubs REST API — Registrations. 2 operations. Lead operation: NH List registrations. Self-contained Naftiko capability covering one Microsoft Azure Notification Hubs business surface.

Run with Naftiko Microsoft Azure Notification HubsRegistrations

What You Can Do

GET
Listregistrations — NH List registrations
/v1/{hub}/registrations
POST
Createregistration — NH Create registration
/v1/{hub}/registrations

MCP Tools

nh-list-registrations

NH List registrations

read-only idempotent
nh-create-registration

NH Create registration

Capability Spec

microsoft-azure-notification-hubs-registrations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Notification Hubs REST API — Registrations
  description: 'Azure Notification Hubs REST API — Registrations. 2 operations. Lead operation: NH List registrations. Self-contained
    Naftiko capability covering one Microsoft Azure Notification Hubs business surface.'
  tags:
  - Microsoft Azure Notification Hubs
  - Registrations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_NOTIFICATION_HUBS_API_KEY: MICROSOFT_AZURE_NOTIFICATION_HUBS_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-azure-notification-hubs-registrations
    baseUri: https://{namespace}.servicebus.windows.net
    description: Azure Notification Hubs REST API — Registrations business capability. Self-contained, no shared references.
    resources:
    - name: hub-registrations
      path: /{hub}/registrations
      operations:
      - name: listregistrations
        method: GET
        description: NH List registrations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createregistration
        method: POST
        description: NH Create registration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.MICROSOFT_AZURE_NOTIFICATION_HUBS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: microsoft-azure-notification-hubs-registrations-rest
    port: 8080
    description: REST adapter for Azure Notification Hubs REST API — Registrations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/{hub}/registrations
      name: hub-registrations
      description: REST surface for hub-registrations.
      operations:
      - method: GET
        name: listregistrations
        description: NH List registrations
        call: microsoft-azure-notification-hubs-registrations.listregistrations
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createregistration
        description: NH Create registration
        call: microsoft-azure-notification-hubs-registrations.createregistration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-azure-notification-hubs-registrations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Notification Hubs REST API — Registrations. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: nh-list-registrations
      description: NH List registrations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-azure-notification-hubs-registrations.listregistrations
      outputParameters:
      - type: object
        mapping: $.
    - name: nh-create-registration
      description: NH Create registration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-azure-notification-hubs-registrations.createregistration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.