StackRox · Capability

API Reference — PingService

API Reference — PingService. 1 operations. Lead operation: PingService. Self-contained Naftiko capability covering one Stackrox business surface.

Run with Naftiko StackroxPingService

What You Can Do

GET
Ping — ping
/v1/v1/ping

MCP Tools

ping

ping

read-only idempotent

Capability Spec

stackrox-pingservice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Reference — PingService
  description: 'API Reference — PingService. 1 operations. Lead operation: PingService. Self-contained Naftiko capability
    covering one Stackrox business surface.'
  tags:
  - Stackrox
  - PingService
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STACKROX_API_KEY: STACKROX_API_KEY
capability:
  consumes:
  - type: http
    namespace: stackrox-pingservice
    baseUri: https://{central-host}
    description: API Reference — PingService business capability. Self-contained, no shared references.
    resources:
    - name: v1-ping
      path: /v1/ping
      operations:
      - name: ping
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.STACKROX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: stackrox-pingservice-rest
    port: 8080
    description: REST adapter for API Reference — PingService. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/ping
      name: v1-ping
      description: REST surface for v1-ping.
      operations:
      - method: GET
        name: ping
        description: ping
        call: stackrox-pingservice.ping
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: stackrox-pingservice-mcp
    port: 9090
    transport: http
    description: MCP adapter for API Reference — PingService. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: ping
      description: ping
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stackrox-pingservice.ping
      outputParameters:
      - type: object
        mapping: $.