SwaggerHub · Capability
SwaggerHub Registry API — Integrations
SwaggerHub Registry API — Integrations. 4 operations. Lead operation: List Integrations. Self-contained Naftiko capability covering one Swaggerhub business surface.
What You Can Do
GET
Listintegrations
— List Integrations
/v1/apis/{owner}/{api}/{version}/integrations
POST
Createintegration
— Create Integration
/v1/apis/{owner}/{api}/{version}/integrations
DELETE
Deleteintegration
— Delete Integration
/v1/apis/{owner}/{api}/{version}/integrations/{integrationid}
POST
Executeintegration
— Execute Integration
/v1/apis/{owner}/{api}/{version}/integrations/{integrationid}/execute
MCP Tools
list-integrations
List Integrations
read-only
idempotent
create-integration
Create Integration
delete-integration
Delete Integration
idempotent
execute-integration
Execute Integration
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: SwaggerHub Registry API — Integrations
description: 'SwaggerHub Registry API — Integrations. 4 operations. Lead operation: List Integrations. Self-contained Naftiko
capability covering one Swaggerhub business surface.'
tags:
- Swaggerhub
- Integrations
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
SWAGGERHUB_API_KEY: SWAGGERHUB_API_KEY
capability:
consumes:
- type: http
namespace: registry-integrations
baseUri: https://api.swaggerhub.com
description: SwaggerHub Registry API — Integrations business capability. Self-contained, no shared references.
resources:
- name: apis-owner-api-version-integrations
path: /apis/{owner}/{api}/{version}/integrations
operations:
- name: listintegrations
method: GET
description: List Integrations
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: owner
in: path
type: string
required: true
- name: api
in: path
type: string
required: true
- name: version
in: path
type: string
required: true
- name: createintegration
method: POST
description: Create Integration
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: owner
in: path
type: string
required: true
- name: api
in: path
type: string
required: true
- name: version
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: apis-owner-api-version-integrations-integrationId
path: /apis/{owner}/{api}/{version}/integrations/{integrationId}
operations:
- name: deleteintegration
method: DELETE
description: Delete Integration
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: owner
in: path
type: string
required: true
- name: api
in: path
type: string
required: true
- name: version
in: path
type: string
required: true
- name: integrationId
in: path
type: string
required: true
- name: apis-owner-api-version-integrations-integrationId-execute
path: /apis/{owner}/{api}/{version}/integrations/{integrationId}/execute
operations:
- name: executeintegration
method: POST
description: Execute Integration
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: owner
in: path
type: string
required: true
- name: api
in: path
type: string
required: true
- name: version
in: path
type: string
required: true
- name: integrationId
in: path
type: string
required: true
authentication:
type: apikey
key: Authorization
value: '{{env.SWAGGERHUB_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: registry-integrations-rest
port: 8080
description: REST adapter for SwaggerHub Registry API — Integrations. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/apis/{owner}/{api}/{version}/integrations
name: apis-owner-api-version-integrations
description: REST surface for apis-owner-api-version-integrations.
operations:
- method: GET
name: listintegrations
description: List Integrations
call: registry-integrations.listintegrations
with:
owner: rest.owner
api: rest.api
version: rest.version
outputParameters:
- type: object
mapping: $.
- method: POST
name: createintegration
description: Create Integration
call: registry-integrations.createintegration
with:
owner: rest.owner
api: rest.api
version: rest.version
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/apis/{owner}/{api}/{version}/integrations/{integrationid}
name: apis-owner-api-version-integrations-integrationid
description: REST surface for apis-owner-api-version-integrations-integrationId.
operations:
- method: DELETE
name: deleteintegration
description: Delete Integration
call: registry-integrations.deleteintegration
with:
owner: rest.owner
api: rest.api
version: rest.version
integrationId: rest.integrationId
outputParameters:
- type: object
mapping: $.
- path: /v1/apis/{owner}/{api}/{version}/integrations/{integrationid}/execute
name: apis-owner-api-version-integrations-integrationid-execute
description: REST surface for apis-owner-api-version-integrations-integrationId-execute.
operations:
- method: POST
name: executeintegration
description: Execute Integration
call: registry-integrations.executeintegration
with:
owner: rest.owner
api: rest.api
version: rest.version
integrationId: rest.integrationId
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: registry-integrations-mcp
port: 9090
transport: http
description: MCP adapter for SwaggerHub Registry API — Integrations. One tool per consumed operation, routed inline through
this capability's consumes block.
tools:
- name: list-integrations
description: List Integrations
hints:
readOnly: true
destructive: false
idempotent: true
call: registry-integrations.listintegrations
with:
owner: tools.owner
api: tools.api
version: tools.version
outputParameters:
- type: object
mapping: $.
- name: create-integration
description: Create Integration
hints:
readOnly: false
destructive: false
idempotent: false
call: registry-integrations.createintegration
with:
owner: tools.owner
api: tools.api
version: tools.version
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: delete-integration
description: Delete Integration
hints:
readOnly: false
destructive: true
idempotent: true
call: registry-integrations.deleteintegration
with:
owner: tools.owner
api: tools.api
version: tools.version
integrationId: tools.integrationId
outputParameters:
- type: object
mapping: $.
- name: execute-integration
description: Execute Integration
hints:
readOnly: false
destructive: false
idempotent: false
call: registry-integrations.executeintegration
with:
owner: tools.owner
api: tools.api
version: tools.version
integrationId: tools.integrationId
outputParameters:
- type: object
mapping: $.