Gravitee · Capability

Gravitee.io - Access Management API — user notifications

Gravitee.io - Access Management API — user notifications. 2 operations. Lead operation: List notifications received by the current user. Self-contained Naftiko capability covering one Gravitee business surface.

Run with Naftiko Graviteeuser notifications

What You Can Do

GET
Listnotifications — List notifications received by the current user
/v1/user/notifications
POST
Marknotificationasread — Mark User notification as read
/v1/user/notifications/{notificationid}/acknowledge

MCP Tools

list-notifications-received-current-user

List notifications received by the current user

read-only idempotent
mark-user-notification-read

Mark User notification as read

Capability Spec

am-user-notifications.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gravitee.io - Access Management API — user notifications
  description: 'Gravitee.io - Access Management API — user notifications. 2 operations. Lead operation: List notifications
    received by the current user. Self-contained Naftiko capability covering one Gravitee business surface.'
  tags:
  - Gravitee
  - user notifications
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAVITEE_API_KEY: GRAVITEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: am-user-notifications
    baseUri: ''
    description: Gravitee.io - Access Management API — user notifications business capability. Self-contained, no shared references.
    resources:
    - name: user-notifications
      path: /user/notifications
      operations:
      - name: listnotifications
        method: GET
        description: List notifications received by the current user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-notifications-notificationId-acknowledge
      path: /user/notifications/{notificationId}/acknowledge
      operations:
      - name: marknotificationasread
        method: POST
        description: Mark User notification as read
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: notificationId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.GRAVITEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: am-user-notifications-rest
    port: 8080
    description: REST adapter for Gravitee.io - Access Management API — user notifications. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/user/notifications
      name: user-notifications
      description: REST surface for user-notifications.
      operations:
      - method: GET
        name: listnotifications
        description: List notifications received by the current user
        call: am-user-notifications.listnotifications
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/notifications/{notificationid}/acknowledge
      name: user-notifications-notificationid-acknowledge
      description: REST surface for user-notifications-notificationId-acknowledge.
      operations:
      - method: POST
        name: marknotificationasread
        description: Mark User notification as read
        call: am-user-notifications.marknotificationasread
        with:
          notificationId: rest.notificationId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: am-user-notifications-mcp
    port: 9090
    transport: http
    description: MCP adapter for Gravitee.io - Access Management API — user notifications. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-notifications-received-current-user
      description: List notifications received by the current user
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: am-user-notifications.listnotifications
      outputParameters:
      - type: object
        mapping: $.
    - name: mark-user-notification-read
      description: Mark User notification as read
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: am-user-notifications.marknotificationasread
      with:
        notificationId: tools.notificationId
      outputParameters:
      - type: object
        mapping: $.