Gravitee · Capability

Gravitee.io - Access Management API — Resource

Gravitee.io - Access Management API — Resource. 3 operations. Lead operation: List resource plugins. Self-contained Naftiko capability covering one Gravitee business surface.

Run with Naftiko GraviteeResource

What You Can Do

GET
Listresourceplugins — List resource plugins
/v1/platform/plugins/resources
GET
Getresource1 — Get a resource plugin
/v1/platform/plugins/resources/{resource}
GET
Getresourceschema — Get a resource plugin's schema
/v1/platform/plugins/resources/{resource}/schema

MCP Tools

list-resource-plugins

List resource plugins

read-only idempotent
get-resource-plugin

Get a resource plugin

read-only idempotent
get-resource-plugin-s-schema

Get a resource plugin's schema

read-only idempotent

Capability Spec

am-resource.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gravitee.io - Access Management API — Resource
  description: 'Gravitee.io - Access Management API — Resource. 3 operations. Lead operation: List resource plugins. Self-contained
    Naftiko capability covering one Gravitee business surface.'
  tags:
  - Gravitee
  - Resource
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAVITEE_API_KEY: GRAVITEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: am-resource
    baseUri: ''
    description: Gravitee.io - Access Management API — Resource business capability. Self-contained, no shared references.
    resources:
    - name: platform-plugins-resources
      path: /platform/plugins/resources
      operations:
      - name: listresourceplugins
        method: GET
        description: List resource plugins
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expand
          in: query
          type: array
    - name: platform-plugins-resources-resource
      path: /platform/plugins/resources/{resource}
      operations:
      - name: getresource1
        method: GET
        description: Get a resource plugin
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resource
          in: path
          type: string
          required: true
    - name: platform-plugins-resources-resource-schema
      path: /platform/plugins/resources/{resource}/schema
      operations:
      - name: getresourceschema
        method: GET
        description: Get a resource plugin's schema
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resource
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.GRAVITEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: am-resource-rest
    port: 8080
    description: REST adapter for Gravitee.io - Access Management API — Resource. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/platform/plugins/resources
      name: platform-plugins-resources
      description: REST surface for platform-plugins-resources.
      operations:
      - method: GET
        name: listresourceplugins
        description: List resource plugins
        call: am-resource.listresourceplugins
        with:
          expand: rest.expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/platform/plugins/resources/{resource}
      name: platform-plugins-resources-resource
      description: REST surface for platform-plugins-resources-resource.
      operations:
      - method: GET
        name: getresource1
        description: Get a resource plugin
        call: am-resource.getresource1
        with:
          resource: rest.resource
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/platform/plugins/resources/{resource}/schema
      name: platform-plugins-resources-resource-schema
      description: REST surface for platform-plugins-resources-resource-schema.
      operations:
      - method: GET
        name: getresourceschema
        description: Get a resource plugin's schema
        call: am-resource.getresourceschema
        with:
          resource: rest.resource
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: am-resource-mcp
    port: 9090
    transport: http
    description: MCP adapter for Gravitee.io - Access Management API — Resource. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-resource-plugins
      description: List resource plugins
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: am-resource.listresourceplugins
      with:
        expand: tools.expand
      outputParameters:
      - type: object
        mapping: $.
    - name: get-resource-plugin
      description: Get a resource plugin
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: am-resource.getresource1
      with:
        resource: tools.resource
      outputParameters:
      - type: object
        mapping: $.
    - name: get-resource-plugin-s-schema
      description: Get a resource plugin's schema
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: am-resource.getresourceschema
      with:
        resource: tools.resource
      outputParameters:
      - type: object
        mapping: $.