WSO2 · Capability

WSO2 API Manager - Admin — API Category (Individual)

WSO2 API Manager - Admin — API Category (Individual). 3 operations. Lead operation: Add API Category. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2API Category (Individual)

What You Can Do

POST
Post — Add API Category
/v1/api-categories
PUT
Put — Update an API Category
/v1/api-categories/{apicategoryid}
DELETE
Delete — Delete an API Category
/v1/api-categories/{apicategoryid}

MCP Tools

add-api-category

Add API Category

update-api-category

Update an API Category

idempotent
delete-api-category

Delete an API Category

idempotent

Capability Spec

admin-api-category-individual.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — API Category (Individual)
  description: 'WSO2 API Manager - Admin — API Category (Individual). 3 operations. Lead operation: Add API Category. Self-contained
    Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - API Category (Individual)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-api-category-individual
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — API Category (Individual) business capability. Self-contained, no shared references.
    resources:
    - name: api-categories
      path: /api-categories
      operations:
      - name: post
        method: POST
        description: Add API Category
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-categories-apiCategoryId
      path: /api-categories/{apiCategoryId}
      operations:
      - name: put
        method: PUT
        description: Update an API Category
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: delete
        method: DELETE
        description: Delete an API Category
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-api-category-individual-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — API Category (Individual). One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api-categories
      name: api-categories
      description: REST surface for api-categories.
      operations:
      - method: POST
        name: post
        description: Add API Category
        call: admin-api-category-individual.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-categories/{apicategoryid}
      name: api-categories-apicategoryid
      description: REST surface for api-categories-apiCategoryId.
      operations:
      - method: PUT
        name: put
        description: Update an API Category
        call: admin-api-category-individual.put
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Delete an API Category
        call: admin-api-category-individual.delete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-api-category-individual-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — API Category (Individual). One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: add-api-category
      description: Add API Category
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-api-category-individual.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: update-api-category
      description: Update an API Category
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-api-category-individual.put
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-api-category
      description: Delete an API Category
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: admin-api-category-individual.delete
      outputParameters:
      - type: object
        mapping: $.