Subversion · Capability

SVN WebDAV HTTP API — Repository

SVN WebDAV HTTP API — Repository. 1 operations. Lead operation: Get Repository Root. Self-contained Naftiko capability covering one Svn business surface.

Run with Naftiko SvnRepository

What You Can Do

GET
Getrepositoryroot — Get Repository Root
/v1

MCP Tools

get-repository-root

Get Repository Root

read-only idempotent

Capability Spec

webdav-repository.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SVN WebDAV HTTP API — Repository
  description: 'SVN WebDAV HTTP API — Repository. 1 operations. Lead operation: Get Repository Root. Self-contained Naftiko
    capability covering one Svn business surface.'
  tags:
  - Svn
  - Repository
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SVN_API_KEY: SVN_API_KEY
capability:
  consumes:
  - type: http
    namespace: webdav-repository
    baseUri: https://svn.example.com/repos/{repository}
    description: SVN WebDAV HTTP API — Repository business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: getrepositoryroot
        method: GET
        description: Get Repository Root
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Accept
          in: header
          type: string
    authentication:
      type: basic
      username: '{{env.SVN_USER}}'
      password: '{{env.SVN_PASS}}'
  exposes:
  - type: rest
    namespace: webdav-repository-rest
    port: 8080
    description: REST adapter for SVN WebDAV HTTP API — Repository. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: GET
        name: getrepositoryroot
        description: Get Repository Root
        call: webdav-repository.getrepositoryroot
        with:
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: webdav-repository-mcp
    port: 9090
    transport: http
    description: MCP adapter for SVN WebDAV HTTP API — Repository. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-repository-root
      description: Get Repository Root
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: webdav-repository.getrepositoryroot
      with:
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.