WSO2 · Capability

WSO2 API Manager - Developer Portal — APIs

WSO2 API Manager - Developer Portal — APIs. 9 operations. Lead operation: Retrieve/Search APIs. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2APIs

What You Can Do

GET
Get — Retrieve/Search APIs
/v1/apis
GET
Get — Get Details of an API
/v1/apis/{apiid}
GET
Get — Get async api specification definition
/v1/apis/{apiid}/async-api-specification
POST
Generatedefinitionurl — Generate a URL to download a resource for an API
/v1/apis/{apiid}/generate-definition-url
GET
Get — Get GraphQL Definition
/v1/apis/{apiid}/graphql-schema
GET
Get — Get Details of the Subscription Throttling Policies of an API
/v1/apis/{apiid}/subscription-policies
GET
Get — Get Swagger Definition
/v1/apis/{apiid}/swagger
GET
Get — Get Thumbnail Image
/v1/apis/{apiid}/thumbnail
GET
Getwsdlofapi — Get API WSDL definition
/v1/apis/{apiid}/wsdl

MCP Tools

retrieve-search-apis

Retrieve/Search APIs

read-only idempotent
get-details-api

Get Details of an API

read-only idempotent
get-async-api-specification-definition

Get async api specification definition

read-only idempotent
generate-url-download-resource-api

Generate a URL to download a resource for an API

get-graphql-definition

Get GraphQL Definition

read-only idempotent
get-details-subscription-throttling-policies

Get Details of the Subscription Throttling Policies of an API

read-only idempotent
get-swagger-definition

Get Swagger Definition

read-only idempotent
get-thumbnail-image

Get Thumbnail Image

read-only idempotent
get-api-wsdl-definition

Get API WSDL definition

read-only idempotent

Capability Spec

devportal-apis.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Developer Portal — APIs
  description: 'WSO2 API Manager - Developer Portal — APIs. 9 operations. Lead operation: Retrieve/Search APIs. Self-contained
    Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - APIs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: devportal-apis
    baseUri: https://apis.wso2.com/api/am/devportal/v3
    description: WSO2 API Manager - Developer Portal — APIs business capability. Self-contained, no shared references.
    resources:
    - name: apis
      path: /apis
      operations:
      - name: get
        method: GET
        description: Retrieve/Search APIs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: string
          description: '**Search condition**.'
    - name: apis-apiId
      path: /apis/{apiId}
      operations:
      - name: get
        method: GET
        description: Get Details of an API
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apis-apiId-async-api-specification
      path: /apis/{apiId}/async-api-specification
      operations:
      - name: get
        method: GET
        description: Get async api specification definition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apis-apiId-generate-definition-url
      path: /apis/{apiId}/generate-definition-url
      operations:
      - name: generatedefinitionurl
        method: POST
        description: Generate a URL to download a resource for an API
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apis-apiId-graphql-schema
      path: /apis/{apiId}/graphql-schema
      operations:
      - name: get
        method: GET
        description: Get GraphQL Definition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apis-apiId-subscription-policies
      path: /apis/{apiId}/subscription-policies
      operations:
      - name: get
        method: GET
        description: Get Details of the Subscription Throttling Policies of an API
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apis-apiId-swagger
      path: /apis/{apiId}/swagger
      operations:
      - name: get
        method: GET
        description: Get Swagger Definition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: string
          description: '**Key Manager Specific Swagger Generation**.'
    - name: apis-apiId-thumbnail
      path: /apis/{apiId}/thumbnail
      operations:
      - name: get
        method: GET
        description: Get Thumbnail Image
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apis-apiId-wsdl
      path: /apis/{apiId}/wsdl
      operations:
      - name: getwsdlofapi
        method: GET
        description: Get API WSDL definition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: devportal-apis-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Developer Portal — APIs. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/apis
      name: apis
      description: REST surface for apis.
      operations:
      - method: GET
        name: get
        description: Retrieve/Search APIs
        call: devportal-apis.get
        with:
          query: rest.query
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}
      name: apis-apiid
      description: REST surface for apis-apiId.
      operations:
      - method: GET
        name: get
        description: Get Details of an API
        call: devportal-apis.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}/async-api-specification
      name: apis-apiid-async-api-specification
      description: REST surface for apis-apiId-async-api-specification.
      operations:
      - method: GET
        name: get
        description: Get async api specification definition
        call: devportal-apis.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}/generate-definition-url
      name: apis-apiid-generate-definition-url
      description: REST surface for apis-apiId-generate-definition-url.
      operations:
      - method: POST
        name: generatedefinitionurl
        description: Generate a URL to download a resource for an API
        call: devportal-apis.generatedefinitionurl
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}/graphql-schema
      name: apis-apiid-graphql-schema
      description: REST surface for apis-apiId-graphql-schema.
      operations:
      - method: GET
        name: get
        description: Get GraphQL Definition
        call: devportal-apis.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}/subscription-policies
      name: apis-apiid-subscription-policies
      description: REST surface for apis-apiId-subscription-policies.
      operations:
      - method: GET
        name: get
        description: Get Details of the Subscription Throttling Policies of an API
        call: devportal-apis.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}/swagger
      name: apis-apiid-swagger
      description: REST surface for apis-apiId-swagger.
      operations:
      - method: GET
        name: get
        description: Get Swagger Definition
        call: devportal-apis.get
        with:
          query: rest.query
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}/thumbnail
      name: apis-apiid-thumbnail
      description: REST surface for apis-apiId-thumbnail.
      operations:
      - method: GET
        name: get
        description: Get Thumbnail Image
        call: devportal-apis.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}/wsdl
      name: apis-apiid-wsdl
      description: REST surface for apis-apiId-wsdl.
      operations:
      - method: GET
        name: getwsdlofapi
        description: Get API WSDL definition
        call: devportal-apis.getwsdlofapi
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: devportal-apis-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Developer Portal — APIs. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: retrieve-search-apis
      description: Retrieve/Search APIs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-apis.get
      with:
        query: tools.query
      outputParameters:
      - type: object
        mapping: $.
    - name: get-details-api
      description: Get Details of an API
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-apis.get
      outputParameters:
      - type: object
        mapping: $.
    - name: get-async-api-specification-definition
      description: Get async api specification definition
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-apis.get
      outputParameters:
      - type: object
        mapping: $.
    - name: generate-url-download-resource-api
      description: Generate a URL to download a resource for an API
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: devportal-apis.generatedefinitionurl
      outputParameters:
      - type: object
        mapping: $.
    - name: get-graphql-definition
      description: Get GraphQL Definition
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-apis.get
      outputParameters:
      - type: object
        mapping: $.
    - name: get-details-subscription-throttling-policies
      description: Get Details of the Subscription Throttling Policies of an API
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-apis.get
      outputParameters:
      - type: object
        mapping: $.
    - name: get-swagger-definition
      description: Get Swagger Definition
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-apis.get
      with:
        query: tools.query
      outputParameters:
      - type: object
        mapping: $.
    - name: get-thumbnail-image
      description: Get Thumbnail Image
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-apis.get
      outputParameters:
      - type: object
        mapping: $.
    - name: get-api-wsdl-definition
      description: Get API WSDL definition
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: devportal-apis.getwsdlofapi
      outputParameters:
      - type: object
        mapping: $.