WSO2 · Capability

WSO2 API Manager - Admin — Tenant Theme

WSO2 API Manager - Admin — Tenant Theme. 2 operations. Lead operation: Export a DevPortal Tenant Theme. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2Tenant Theme

What You Can Do

GET
Exporttenanttheme — Export a DevPortal Tenant Theme
/v1/tenant-theme
PUT
Importtenanttheme — Import a DevPortal Tenant Theme
/v1/tenant-theme

MCP Tools

export-devportal-tenant-theme

Export a DevPortal Tenant Theme

read-only idempotent
import-devportal-tenant-theme

Import a DevPortal Tenant Theme

idempotent

Capability Spec

admin-tenant-theme.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — Tenant Theme
  description: 'WSO2 API Manager - Admin — Tenant Theme. 2 operations. Lead operation: Export a DevPortal Tenant Theme. Self-contained
    Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - Tenant Theme
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-tenant-theme
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — Tenant Theme business capability. Self-contained, no shared references.
    resources:
    - name: tenant-theme
      path: /tenant-theme
      operations:
      - name: exporttenanttheme
        method: GET
        description: Export a DevPortal Tenant Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: importtenanttheme
        method: PUT
        description: Import a DevPortal Tenant Theme
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-tenant-theme-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — Tenant Theme. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/tenant-theme
      name: tenant-theme
      description: REST surface for tenant-theme.
      operations:
      - method: GET
        name: exporttenanttheme
        description: Export a DevPortal Tenant Theme
        call: admin-tenant-theme.exporttenanttheme
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: importtenanttheme
        description: Import a DevPortal Tenant Theme
        call: admin-tenant-theme.importtenanttheme
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-tenant-theme-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — Tenant Theme. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: export-devportal-tenant-theme
      description: Export a DevPortal Tenant Theme
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-tenant-theme.exporttenanttheme
      outputParameters:
      - type: object
        mapping: $.
    - name: import-devportal-tenant-theme
      description: Import a DevPortal Tenant Theme
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-tenant-theme.importtenanttheme
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.