Amazon Serverless Application Repository API — Versions

Amazon Serverless Application Repository API — Versions. 2 operations. Lead operation: Amazon Serverless Application Repository List Application Versions. Self-contained Naftiko capability covering one Amazon Serverless Application Repository business surface.

Run with Naftiko Amazon Serverless Application RepositoryVersions

What You Can Do

GET
Listapplicationversions — Amazon Serverless Application Repository List Application Versions
/v1/applications/{applicationid}/versions
POST
Createapplicationversion — Amazon Serverless Application Repository Create Application Version
/v1/applications/{applicationid}/versions

MCP Tools

amazon-serverless-application-repository-list

Amazon Serverless Application Repository List Application Versions

read-only idempotent
amazon-serverless-application-repository-create

Amazon Serverless Application Repository Create Application Version

Capability Spec

amazon-serverless-application-repository-versions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Serverless Application Repository API — Versions
  description: 'Amazon Serverless Application Repository API — Versions. 2 operations. Lead operation: Amazon Serverless Application
    Repository List Application Versions. Self-contained Naftiko capability covering one Amazon Serverless Application Repository
    business surface.'
  tags:
  - Amazon Serverless Application Repository
  - Versions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_SERVERLESS_APPLICATION_REPOSITORY_API_KEY: AMAZON_SERVERLESS_APPLICATION_REPOSITORY_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-serverless-application-repository-versions
    baseUri: https://serverlessrepo.{region}.amazonaws.com
    description: Amazon Serverless Application Repository API — Versions business capability. Self-contained, no shared references.
    resources:
    - name: applications-applicationId-versions
      path: /applications/{applicationId}/versions
      operations:
      - name: listapplicationversions
        method: GET
        description: Amazon Serverless Application Repository List Application Versions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationId
          in: path
          type: string
          description: The Amazon Resource Name (ARN) of the application.
          required: true
        - name: maxItems
          in: query
          type: integer
          description: The total number of items to return.
        - name: nextToken
          in: query
          type: string
          description: A token to specify where to start paginating.
      - name: createapplicationversion
        method: POST
        description: Amazon Serverless Application Repository Create Application Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationId
          in: path
          type: string
          description: The Amazon Resource Name (ARN) of the application.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_SERVERLESS_APPLICATION_REPOSITORY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-serverless-application-repository-versions-rest
    port: 8080
    description: REST adapter for Amazon Serverless Application Repository API — Versions. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/applications/{applicationid}/versions
      name: applications-applicationid-versions
      description: REST surface for applications-applicationId-versions.
      operations:
      - method: GET
        name: listapplicationversions
        description: Amazon Serverless Application Repository List Application Versions
        call: amazon-serverless-application-repository-versions.listapplicationversions
        with:
          applicationId: rest.applicationId
          maxItems: rest.maxItems
          nextToken: rest.nextToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapplicationversion
        description: Amazon Serverless Application Repository Create Application Version
        call: amazon-serverless-application-repository-versions.createapplicationversion
        with:
          applicationId: rest.applicationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-serverless-application-repository-versions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Serverless Application Repository API — Versions. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: amazon-serverless-application-repository-list
      description: Amazon Serverless Application Repository List Application Versions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-serverless-application-repository-versions.listapplicationversions
      with:
        applicationId: tools.applicationId
        maxItems: tools.maxItems
        nextToken: tools.nextToken
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-serverless-application-repository-create
      description: Amazon Serverless Application Repository Create Application Version
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-serverless-application-repository-versions.createapplicationversion
      with:
        applicationId: tools.applicationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.