Secure Code Warrior · Capability

Secure Code Warrior Portal API — Programs

Secure Code Warrior Portal API — Programs. 1 operations. Lead operation: List Programs. Self-contained Naftiko capability covering one Secure Code Warrior business surface.

Run with Naftiko Secure Code WarriorPrograms

What You Can Do

GET
Listprograms — List Programs
/v1/programs

MCP Tools

list-programs

List Programs

read-only idempotent

Capability Spec

portal-programs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Secure Code Warrior Portal API — Programs
  description: 'Secure Code Warrior Portal API — Programs. 1 operations. Lead operation: List Programs. Self-contained Naftiko
    capability covering one Secure Code Warrior business surface.'
  tags:
  - Secure Code Warrior
  - Programs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SECURE_CODE_WARRIOR_API_KEY: SECURE_CODE_WARRIOR_API_KEY
capability:
  consumes:
  - type: http
    namespace: portal-programs
    baseUri: https://portal-api.securecodewarrior.com/api/v2
    description: Secure Code Warrior Portal API — Programs business capability. Self-contained, no shared references.
    resources:
    - name: programs
      path: /programs
      operations:
      - name: listprograms
        method: GET
        description: List Programs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.SECURE_CODE_WARRIOR_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: portal-programs-rest
    port: 8080
    description: REST adapter for Secure Code Warrior Portal API — Programs. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/programs
      name: programs
      description: REST surface for programs.
      operations:
      - method: GET
        name: listprograms
        description: List Programs
        call: portal-programs.listprograms
        with:
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: portal-programs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Secure Code Warrior Portal API — Programs. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-programs
      description: List Programs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: portal-programs.listprograms
      with:
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.