Gravitee · Capability

Gravitee.io - Access Management API — theme

Gravitee.io - Access Management API — theme. 5 operations. Lead operation: List themes on the specified security domain. Self-contained Naftiko capability covering one Gravitee business surface.

Run with Naftiko Graviteetheme

What You Can Do

GET
Listthemes — List themes on the specified security domain
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/themes
POST
Createtheme — Create a theme on the specified security domain
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/themes
GET
Gettheme — Get the theme linked to the specified security domain
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/themes/{themeid}
PUT
Updatetheme — Update a theme on the specified security domain
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/themes/{themeid}
DELETE
Deletetheme — Delete a theme on the specified security domain
/v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/themes/{themeid}

MCP Tools

list-themes-specified-security-domain

List themes on the specified security domain

read-only idempotent
create-theme-specified-security-domain

Create a theme on the specified security domain

get-theme-linked-specified-security

Get the theme linked to the specified security domain

read-only idempotent
update-theme-specified-security-domain

Update a theme on the specified security domain

idempotent
delete-theme-specified-security-domain

Delete a theme on the specified security domain

idempotent

Capability Spec

am-theme.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gravitee.io - Access Management API — theme
  description: 'Gravitee.io - Access Management API — theme. 5 operations. Lead operation: List themes on the specified security
    domain. Self-contained Naftiko capability covering one Gravitee business surface.'
  tags:
  - Gravitee
  - theme
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAVITEE_API_KEY: GRAVITEE_API_KEY
capability:
  consumes:
  - type: http
    namespace: am-theme
    baseUri: ''
    description: Gravitee.io - Access Management API — theme business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organizationId-environments-environmentId-domains-domain-themes
      path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/themes
      operations:
      - name: listthemes
        method: GET
        description: List themes on the specified security domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
      - name: createtheme
        method: POST
        description: Create a theme on the specified security domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organizations-organizationId-environments-environmentId-domains-domain-themes-th
      path: /organizations/{organizationId}/environments/{environmentId}/domains/{domain}/themes/{themeId}
      operations:
      - name: gettheme
        method: GET
        description: Get the theme linked to the specified security domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: themeId
          in: path
          type: string
          required: true
      - name: updatetheme
        method: PUT
        description: Update a theme on the specified security domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: themeId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletetheme
        method: DELETE
        description: Delete a theme on the specified security domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          required: true
        - name: environmentId
          in: path
          type: string
          required: true
        - name: domain
          in: path
          type: string
          required: true
        - name: themeId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.GRAVITEE_API_KEY}}'
  exposes:
  - type: rest
    namespace: am-theme-rest
    port: 8080
    description: REST adapter for Gravitee.io - Access Management API — theme. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/themes
      name: organizations-organizationid-environments-environmentid-domains-domain-themes
      description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-themes.
      operations:
      - method: GET
        name: listthemes
        description: List themes on the specified security domain
        call: am-theme.listthemes
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createtheme
        description: Create a theme on the specified security domain
        call: am-theme.createtheme
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organizationid}/environments/{environmentid}/domains/{domain}/themes/{themeid}
      name: organizations-organizationid-environments-environmentid-domains-domain-themes-th
      description: REST surface for organizations-organizationId-environments-environmentId-domains-domain-themes-th.
      operations:
      - method: GET
        name: gettheme
        description: Get the theme linked to the specified security domain
        call: am-theme.gettheme
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          themeId: rest.themeId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatetheme
        description: Update a theme on the specified security domain
        call: am-theme.updatetheme
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          themeId: rest.themeId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetheme
        description: Delete a theme on the specified security domain
        call: am-theme.deletetheme
        with:
          organizationId: rest.organizationId
          environmentId: rest.environmentId
          domain: rest.domain
          themeId: rest.themeId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: am-theme-mcp
    port: 9090
    transport: http
    description: MCP adapter for Gravitee.io - Access Management API — theme. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-themes-specified-security-domain
      description: List themes on the specified security domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: am-theme.listthemes
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
      outputParameters:
      - type: object
        mapping: $.
    - name: create-theme-specified-security-domain
      description: Create a theme on the specified security domain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: am-theme.createtheme
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-theme-linked-specified-security
      description: Get the theme linked to the specified security domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: am-theme.gettheme
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        themeId: tools.themeId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-theme-specified-security-domain
      description: Update a theme on the specified security domain
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: am-theme.updatetheme
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        themeId: tools.themeId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-theme-specified-security-domain
      description: Delete a theme on the specified security domain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: am-theme.deletetheme
      with:
        organizationId: tools.organizationId
        environmentId: tools.environmentId
        domain: tools.domain
        themeId: tools.themeId
      outputParameters:
      - type: object
        mapping: $.