WSO2 · Capability
WSO2 API Manager - Developer Portal — Import Export
WSO2 API Manager - Developer Portal — Import Export. 2 operations. Lead operation: Export an Application. Self-contained Naftiko capability covering one Wso2 business surface.
What You Can Do
GET
Get
— Export an Application
/v1/applications/export
POST
Post
— Import an Application
/v1/applications/import
MCP Tools
export-application
Export an Application
read-only
idempotent
import-application
Import an Application
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: WSO2 API Manager - Developer Portal — Import Export
description: 'WSO2 API Manager - Developer Portal — Import Export. 2 operations. Lead operation: Export an Application.
Self-contained Naftiko capability covering one Wso2 business surface.'
tags:
- Wso2
- Import Export
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
WSO2_API_KEY: WSO2_API_KEY
capability:
consumes:
- type: http
namespace: devportal-import-export
baseUri: https://apis.wso2.com/api/am/devportal/v3
description: WSO2 API Manager - Developer Portal — Import Export business capability. Self-contained, no shared references.
resources:
- name: applications-export
path: /applications/export
operations:
- name: get
method: GET
description: Export an Application
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: appName
in: query
type: string
description: Application Name
required: true
- name: appOwner
in: query
type: string
description: Owner of the Application
required: true
- name: withKeys
in: query
type: boolean
description: Export application keys
- name: format
in: query
type: string
description: Format of output documents. Can be YAML or JSON.
- name: applications-import
path: /applications/import
operations:
- name: post
method: POST
description: Import an Application
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: preserveOwner
in: query
type: boolean
description: Preserve Original Creator of the Application
- name: skipSubscriptions
in: query
type: boolean
description: Skip importing Subscriptions of the Application
- name: appOwner
in: query
type: string
description: Expected Owner of the Application in the Import Environment
- name: skipApplicationKeys
in: query
type: boolean
description: Skip importing Keys of the Application
- name: update
in: query
type: boolean
description: Update if application exists
- name: ignoreTier
in: query
type: boolean
description: Ignore tier and proceed with subscribed APIs
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: bearer
token: '{{env.WSO2_API_KEY}}'
exposes:
- type: rest
namespace: devportal-import-export-rest
port: 8080
description: REST adapter for WSO2 API Manager - Developer Portal — Import Export. One Spectral-compliant resource per
consumed operation, prefixed with /v1.
resources:
- path: /v1/applications/export
name: applications-export
description: REST surface for applications-export.
operations:
- method: GET
name: get
description: Export an Application
call: devportal-import-export.get
with:
appName: rest.appName
appOwner: rest.appOwner
withKeys: rest.withKeys
format: rest.format
outputParameters:
- type: object
mapping: $.
- path: /v1/applications/import
name: applications-import
description: REST surface for applications-import.
operations:
- method: POST
name: post
description: Import an Application
call: devportal-import-export.post
with:
preserveOwner: rest.preserveOwner
skipSubscriptions: rest.skipSubscriptions
appOwner: rest.appOwner
skipApplicationKeys: rest.skipApplicationKeys
update: rest.update
ignoreTier: rest.ignoreTier
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: devportal-import-export-mcp
port: 9090
transport: http
description: MCP adapter for WSO2 API Manager - Developer Portal — Import Export. One tool per consumed operation, routed
inline through this capability's consumes block.
tools:
- name: export-application
description: Export an Application
hints:
readOnly: true
destructive: false
idempotent: true
call: devportal-import-export.get
with:
appName: tools.appName
appOwner: tools.appOwner
withKeys: tools.withKeys
format: tools.format
outputParameters:
- type: object
mapping: $.
- name: import-application
description: Import an Application
hints:
readOnly: false
destructive: false
idempotent: false
call: devportal-import-export.post
with:
preserveOwner: tools.preserveOwner
skipSubscriptions: tools.skipSubscriptions
appOwner: tools.appOwner
skipApplicationKeys: tools.skipApplicationKeys
update: tools.update
ignoreTier: tools.ignoreTier
body: tools.body
outputParameters:
- type: object
mapping: $.