IBM WebSphere · Capability

WebSphere Application Server Admin REST API — Configuration

WebSphere Application Server Admin REST API — Configuration. 7 operations. Lead operation: List Configuration Resource Types. Self-contained Naftiko capability covering one Websphere business surface.

Run with Naftiko WebsphereConfiguration

What You Can Do

GET
Listconfigresources — List Configuration Resource Types
/v1/config
GET
Getconfigresources — List Resources of a Specific Type
/v1/config/{resourcetype}
POST
Createconfigresource — Create a New Configuration Resource
/v1/config/{resourcetype}
GET
Getconfigresource — Get a Specific Configuration Resource
/v1/config/{resourcetype}/{resourceid}
PUT
Updateconfigresource — Update a Configuration Resource
/v1/config/{resourcetype}/{resourceid}
DELETE
Deleteconfigresource — Delete a Configuration Resource
/v1/config/{resourcetype}/{resourceid}
GET
Getapiexplorer — Access the Api Explorer
/v1/explorer

MCP Tools

list-configuration-resource-types

List Configuration Resource Types

read-only idempotent
list-resources-specific-type

List Resources of a Specific Type

read-only idempotent
create-new-configuration-resource

Create a New Configuration Resource

get-specific-configuration-resource

Get a Specific Configuration Resource

read-only idempotent
update-configuration-resource

Update a Configuration Resource

idempotent
delete-configuration-resource

Delete a Configuration Resource

idempotent
access-api-explorer

Access the Api Explorer

read-only idempotent

Capability Spec

admin-rest-configuration.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WebSphere Application Server Admin REST API — Configuration
  description: 'WebSphere Application Server Admin REST API — Configuration. 7 operations. Lead operation: List Configuration
    Resource Types. Self-contained Naftiko capability covering one Websphere business surface.'
  tags:
  - Websphere
  - Configuration
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBSPHERE_API_KEY: WEBSPHERE_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-rest-configuration
    baseUri: https://localhost:9443/ibm/api
    description: WebSphere Application Server Admin REST API — Configuration business capability. Self-contained, no shared
      references.
    resources:
    - name: config
      path: /config
      operations:
      - name: listconfigresources
        method: GET
        description: List Configuration Resource Types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: config-resourceType
      path: /config/{resourceType}
      operations:
      - name: getconfigresources
        method: GET
        description: List Resources of a Specific Type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createconfigresource
        method: POST
        description: Create a New Configuration Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: config-resourceType-resourceId
      path: /config/{resourceType}/{resourceId}
      operations:
      - name: getconfigresource
        method: GET
        description: Get a Specific Configuration Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateconfigresource
        method: PUT
        description: Update a Configuration Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteconfigresource
        method: DELETE
        description: Delete a Configuration Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: explorer
      path: /explorer
      operations:
      - name: getapiexplorer
        method: GET
        description: Access the Api Explorer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: LtpaToken2
      value: '{{env.WEBSPHERE_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: admin-rest-configuration-rest
    port: 8080
    description: REST adapter for WebSphere Application Server Admin REST API — Configuration. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/config
      name: config
      description: REST surface for config.
      operations:
      - method: GET
        name: listconfigresources
        description: List Configuration Resource Types
        call: admin-rest-configuration.listconfigresources
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/config/{resourcetype}
      name: config-resourcetype
      description: REST surface for config-resourceType.
      operations:
      - method: GET
        name: getconfigresources
        description: List Resources of a Specific Type
        call: admin-rest-configuration.getconfigresources
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createconfigresource
        description: Create a New Configuration Resource
        call: admin-rest-configuration.createconfigresource
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/config/{resourcetype}/{resourceid}
      name: config-resourcetype-resourceid
      description: REST surface for config-resourceType-resourceId.
      operations:
      - method: GET
        name: getconfigresource
        description: Get a Specific Configuration Resource
        call: admin-rest-configuration.getconfigresource
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateconfigresource
        description: Update a Configuration Resource
        call: admin-rest-configuration.updateconfigresource
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteconfigresource
        description: Delete a Configuration Resource
        call: admin-rest-configuration.deleteconfigresource
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/explorer
      name: explorer
      description: REST surface for explorer.
      operations:
      - method: GET
        name: getapiexplorer
        description: Access the Api Explorer
        call: admin-rest-configuration.getapiexplorer
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-rest-configuration-mcp
    port: 9090
    transport: http
    description: MCP adapter for WebSphere Application Server Admin REST API — Configuration. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-configuration-resource-types
      description: List Configuration Resource Types
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-rest-configuration.listconfigresources
      outputParameters:
      - type: object
        mapping: $.
    - name: list-resources-specific-type
      description: List Resources of a Specific Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-rest-configuration.getconfigresources
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-configuration-resource
      description: Create a New Configuration Resource
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-rest-configuration.createconfigresource
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-specific-configuration-resource
      description: Get a Specific Configuration Resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-rest-configuration.getconfigresource
      outputParameters:
      - type: object
        mapping: $.
    - name: update-configuration-resource
      description: Update a Configuration Resource
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: admin-rest-configuration.updateconfigresource
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-configuration-resource
      description: Delete a Configuration Resource
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: admin-rest-configuration.deleteconfigresource
      outputParameters:
      - type: object
        mapping: $.
    - name: access-api-explorer
      description: Access the Api Explorer
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-rest-configuration.getapiexplorer
      outputParameters:
      - type: object
        mapping: $.