Oracle GoldenGate · Capability

Oracle GoldenGate REST API — Logs

Oracle GoldenGate REST API — Logs. 4 operations. Lead operation: Oracle Goldengate Retrieve Available Logs. Self-contained Naftiko capability covering one Oracle Goldengate business surface.

Run with Naftiko Oracle GoldengateLogs

What You Can Do

GET
Listlogs — Oracle Goldengate Retrieve Available Logs
/v1/services/v2/logs
GET
Getcriticalevents — Oracle Goldengate Get Critical Events
/v1/services/v2/logs/events
GET
Getlog — Oracle Goldengate Retrieve a Log File
/v1/services/v2/logs/{log}
PATCH
Modifylogproperties — Oracle Goldengate Modify Log Properties
/v1/services/v2/logs/{log}

MCP Tools

oracle-goldengate-retrieve-available-logs

Oracle Goldengate Retrieve Available Logs

read-only idempotent
oracle-goldengate-get-critical-events

Oracle Goldengate Get Critical Events

read-only idempotent
oracle-goldengate-retrieve-log-file

Oracle Goldengate Retrieve a Log File

read-only idempotent
oracle-goldengate-modify-log-properties

Oracle Goldengate Modify Log Properties

idempotent

Capability Spec

rest-logs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Oracle GoldenGate REST API — Logs
  description: 'Oracle GoldenGate REST API — Logs. 4 operations. Lead operation: Oracle Goldengate Retrieve Available Logs.
    Self-contained Naftiko capability covering one Oracle Goldengate business surface.'
  tags:
  - Oracle Goldengate
  - Logs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORACLE_GOLDENGATE_API_KEY: ORACLE_GOLDENGATE_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-logs
    baseUri: https://{goldengate-host}:{port}
    description: Oracle GoldenGate REST API — Logs business capability. Self-contained, no shared references.
    resources:
    - name: services-v2-logs
      path: /services/v2/logs
      operations:
      - name: listlogs
        method: GET
        description: Oracle Goldengate Retrieve Available Logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: services-v2-logs-events
      path: /services/v2/logs/events
      operations:
      - name: getcriticalevents
        method: GET
        description: Oracle Goldengate Get Critical Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: services-v2-logs-log
      path: /services/v2/logs/{log}
      operations:
      - name: getlog
        method: GET
        description: Oracle Goldengate Retrieve a Log File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: log
          in: path
          type: string
          required: true
      - name: modifylogproperties
        method: PATCH
        description: Oracle Goldengate Modify Log Properties
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: log
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.ORACLE_GOLDENGATE_USER}}'
      password: '{{env.ORACLE_GOLDENGATE_PASS}}'
  exposes:
  - type: rest
    namespace: rest-logs-rest
    port: 8080
    description: REST adapter for Oracle GoldenGate REST API — Logs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/services/v2/logs
      name: services-v2-logs
      description: REST surface for services-v2-logs.
      operations:
      - method: GET
        name: listlogs
        description: Oracle Goldengate Retrieve Available Logs
        call: rest-logs.listlogs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/v2/logs/events
      name: services-v2-logs-events
      description: REST surface for services-v2-logs-events.
      operations:
      - method: GET
        name: getcriticalevents
        description: Oracle Goldengate Get Critical Events
        call: rest-logs.getcriticalevents
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/v2/logs/{log}
      name: services-v2-logs-log
      description: REST surface for services-v2-logs-log.
      operations:
      - method: GET
        name: getlog
        description: Oracle Goldengate Retrieve a Log File
        call: rest-logs.getlog
        with:
          log: rest.log
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: modifylogproperties
        description: Oracle Goldengate Modify Log Properties
        call: rest-logs.modifylogproperties
        with:
          log: rest.log
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-logs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Oracle GoldenGate REST API — Logs. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: oracle-goldengate-retrieve-available-logs
      description: Oracle Goldengate Retrieve Available Logs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-logs.listlogs
      outputParameters:
      - type: object
        mapping: $.
    - name: oracle-goldengate-get-critical-events
      description: Oracle Goldengate Get Critical Events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-logs.getcriticalevents
      outputParameters:
      - type: object
        mapping: $.
    - name: oracle-goldengate-retrieve-log-file
      description: Oracle Goldengate Retrieve a Log File
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-logs.getlog
      with:
        log: tools.log
      outputParameters:
      - type: object
        mapping: $.
    - name: oracle-goldengate-modify-log-properties
      description: Oracle Goldengate Modify Log Properties
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-logs.modifylogproperties
      with:
        log: tools.log
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.