Sybase · Capability

Sybase ASE REST API — Backups

Sybase ASE REST API — Backups. 2 operations. Lead operation: List Backup History. Self-contained Naftiko capability covering one Sybase business surface.

Run with Naftiko SybaseBackups

What You Can Do

GET
Listbackups — List Backup History
/v1/servers/{serverid}/backups
POST
Createbackup — Initiate a Database Backup
/v1/servers/{serverid}/backups

MCP Tools

list-backup-history

List Backup History

read-only idempotent
initiate-database-backup

Initiate a Database Backup

Capability Spec

ase-rest-backups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sybase ASE REST API — Backups
  description: 'Sybase ASE REST API — Backups. 2 operations. Lead operation: List Backup History. Self-contained Naftiko capability
    covering one Sybase business surface.'
  tags:
  - Sybase
  - Backups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SYBASE_API_KEY: SYBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: ase-rest-backups
    baseUri: https://{server}:{port}/ase/v1
    description: Sybase ASE REST API — Backups business capability. Self-contained, no shared references.
    resources:
    - name: servers-serverId-backups
      path: /servers/{serverId}/backups
      operations:
      - name: listbackups
        method: GET
        description: List Backup History
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: databaseName
          in: query
          type: string
          description: Filter backup history by database name.
      - name: createbackup
        method: POST
        description: Initiate a Database Backup
        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.SYBASE_API_KEY}}'
  exposes:
  - type: rest
    namespace: ase-rest-backups-rest
    port: 8080
    description: REST adapter for Sybase ASE REST API — Backups. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/servers/{serverid}/backups
      name: servers-serverid-backups
      description: REST surface for servers-serverId-backups.
      operations:
      - method: GET
        name: listbackups
        description: List Backup History
        call: ase-rest-backups.listbackups
        with:
          databaseName: rest.databaseName
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createbackup
        description: Initiate a Database Backup
        call: ase-rest-backups.createbackup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ase-rest-backups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sybase ASE REST API — Backups. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-backup-history
      description: List Backup History
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ase-rest-backups.listbackups
      with:
        databaseName: tools.databaseName
      outputParameters:
      - type: object
        mapping: $.
    - name: initiate-database-backup
      description: Initiate a Database Backup
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: ase-rest-backups.createbackup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.