Harbor Compliance · Capability

Harbor Compliance API — Orders

Harbor Compliance API — Orders. 2 operations. Lead operation: Harbor Compliance List service orders. Self-contained Naftiko capability covering one Harbor Compliance business surface.

Run with Naftiko Harbor ComplianceOrders

What You Can Do

GET
Listorders — Harbor Compliance List service orders
/v1/orders
GET
Getorder — Harbor Compliance Get a service order
/v1/orders/{orderid}

MCP Tools

harbor-compliance-list-service-orders

Harbor Compliance List service orders

read-only idempotent
harbor-compliance-get-service-order

Harbor Compliance Get a service order

read-only idempotent

Capability Spec

harbor-compliance-orders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Harbor Compliance API — Orders
  description: 'Harbor Compliance API — Orders. 2 operations. Lead operation: Harbor Compliance List service orders. Self-contained
    Naftiko capability covering one Harbor Compliance business surface.'
  tags:
  - Harbor Compliance
  - Orders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HARBOR_COMPLIANCE_API_KEY: HARBOR_COMPLIANCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: harbor-compliance-orders
    baseUri: https://api.harborcompliance.com/v1
    description: Harbor Compliance API — Orders business capability. Self-contained, no shared references.
    resources:
    - name: orders
      path: /orders
      operations:
      - name: listorders
        method: GET
        description: Harbor Compliance List service orders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: entity_id
          in: query
          type: string
          description: Filter orders by entity identifier.
        - name: status
          in: query
          type: string
          description: Filter by order status.
    - name: orders-orderId
      path: /orders/{orderId}
      operations:
      - name: getorder
        method: GET
        description: Harbor Compliance Get a service order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.HARBOR_COMPLIANCE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: harbor-compliance-orders-rest
    port: 8080
    description: REST adapter for Harbor Compliance API — Orders. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/orders
      name: orders
      description: REST surface for orders.
      operations:
      - method: GET
        name: listorders
        description: Harbor Compliance List service orders
        call: harbor-compliance-orders.listorders
        with:
          entity_id: rest.entity_id
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orders/{orderid}
      name: orders-orderid
      description: REST surface for orders-orderId.
      operations:
      - method: GET
        name: getorder
        description: Harbor Compliance Get a service order
        call: harbor-compliance-orders.getorder
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: harbor-compliance-orders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Harbor Compliance API — Orders. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: harbor-compliance-list-service-orders
      description: Harbor Compliance List service orders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: harbor-compliance-orders.listorders
      with:
        entity_id: tools.entity_id
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: harbor-compliance-get-service-order
      description: Harbor Compliance Get a service order
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: harbor-compliance-orders.getorder
      outputParameters:
      - type: object
        mapping: $.