APIs.io Engineering Platform Amazon API Gateway — Restapis#mode=import

APIs.io Engineering Platform Amazon API Gateway — Restapis#mode=import. 1 operations. Lead operation: Restapis#mode=import. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformRestapis#mode=import

What You Can Do

POST
Importrestapi — A feature of the API Gateway control service for creating a new API from an external API definition file.
/v1/restapis-mode-import

MCP Tools

feature-api-gateway-control-service

A feature of the API Gateway control service for creating a new API from an external API definition file.

Capability Spec

aws-api-gateway-restapis-mode-import.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Amazon API Gateway — Restapis#mode=import
  description: 'APIs.io Engineering Platform Amazon API Gateway — Restapis#mode=import. 1 operations. Lead operation: Restapis#mode=import.
    Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Restapis#mode=import
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: aws-api-gateway-restapis-mode-import
    baseUri: http://apigateway.{region}.amazonaws.com
    description: APIs.io Engineering Platform Amazon API Gateway — Restapis#mode=import business capability. Self-contained,
      no shared references.
    resources:
    - name: restapis#mode=import
      path: /restapis#mode=import
      operations:
      - name: importrestapi
        method: POST
        description: A feature of the API Gateway control service for creating a new API from an external API definition file.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: failonwarnings
          in: query
          type: boolean
          description: A query parameter to indicate whether to rollback the API creation (<code>true</code>) or not (<code>false</code>)
            when a warning is encountered. The default va
        - name: parameters
          in: query
          type: object
          description: <p>A key-value map of context-specific query string parameters specifying the behavior of different
            API importing operations. The following shows operation-spec
        - name: mode
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: aws-api-gateway-restapis-mode-import-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Amazon API Gateway — Restapis#mode=import. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/restapis-mode-import
      name: restapis-mode-import
      description: REST surface for restapis#mode=import.
      operations:
      - method: POST
        name: importrestapi
        description: A feature of the API Gateway control service for creating a new API from an external API definition file.
        call: aws-api-gateway-restapis-mode-import.importrestapi
        with:
          failonwarnings: rest.failonwarnings
          parameters: rest.parameters
          mode: rest.mode
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-api-gateway-restapis-mode-import-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Amazon API Gateway — Restapis#mode=import. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: feature-api-gateway-control-service
      description: A feature of the API Gateway control service for creating a new API from an external API definition file.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-api-gateway-restapis-mode-import.importrestapi
      with:
        failonwarnings: tools.failonwarnings
        parameters: tools.parameters
        mode: tools.mode
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.