FOSSology · Capability

FOSSology API — Maintenance

FOSSology API — Maintenance. 1 operations. Lead operation: Initiate maintenance operations. Self-contained Naftiko capability covering one Fossology business surface.

Run with Naftiko FossologyMaintenance

What You Can Do

POST
Initiatemaintenance — Initiate maintenance operations
/v1/maintenance

MCP Tools

initiate-maintenance-operations

Initiate maintenance operations

Capability Spec

fossology-maintenance.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FOSSology API — Maintenance
  description: 'FOSSology API — Maintenance. 1 operations. Lead operation: Initiate maintenance operations. Self-contained
    Naftiko capability covering one Fossology business surface.'
  tags:
  - Fossology
  - Maintenance
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FOSSOLOGY_API_KEY: FOSSOLOGY_API_KEY
capability:
  consumes:
  - type: http
    namespace: fossology-maintenance
    baseUri: http://localhost/repo/api/v1
    description: FOSSology API — Maintenance business capability. Self-contained, no shared references.
    resources:
    - name: maintenance
      path: /maintenance
      operations:
      - name: initiatemaintenance
        method: POST
        description: Initiate maintenance operations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.FOSSOLOGY_API_KEY}}'
  exposes:
  - type: rest
    namespace: fossology-maintenance-rest
    port: 8080
    description: REST adapter for FOSSology API — Maintenance. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/maintenance
      name: maintenance
      description: REST surface for maintenance.
      operations:
      - method: POST
        name: initiatemaintenance
        description: Initiate maintenance operations
        call: fossology-maintenance.initiatemaintenance
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fossology-maintenance-mcp
    port: 9090
    transport: http
    description: MCP adapter for FOSSology API — Maintenance. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: initiate-maintenance-operations
      description: Initiate maintenance operations
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fossology-maintenance.initiatemaintenance
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.