Obsidian · Capability

Local REST API for Obsidian — System

Local REST API for Obsidian — System. 3 operations. Lead operation: Returns basic details about the server.. Self-contained Naftiko capability covering one Obsidian business surface.

Run with Naftiko ObsidianSystem

What You Can Do

GET
Get — Returns basic details about the server.
/v1
GET
Get — Returns the certificate in use by this API.
/v1/obsidian-local-rest-api-crt
GET
Get — Returns OpenAPI YAML document describing the capabilities of this API.
/v1/openapi-yaml

MCP Tools

returns-basic-details-about-server

Returns basic details about the server.

read-only idempotent
returns-certificate-use-this-api

Returns the certificate in use by this API.

read-only idempotent
returns-openapi-yaml-document-describing

Returns OpenAPI YAML document describing the capabilities of this API.

read-only idempotent

Capability Spec

local-rest-system.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Local REST API for Obsidian — System
  description: 'Local REST API for Obsidian — System. 3 operations. Lead operation: Returns basic details about the server..
    Self-contained Naftiko capability covering one Obsidian business surface.'
  tags:
  - Obsidian
  - System
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OBSIDIAN_API_KEY: OBSIDIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: local-rest-system
    baseUri: https://{host}:{port}
    description: Local REST API for Obsidian — System business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: get
        method: GET
        description: Returns basic details about the server.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: obsidian-local-rest-api.crt
      path: /obsidian-local-rest-api.crt
      operations:
      - name: get
        method: GET
        description: Returns the certificate in use by this API.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: openapi.yaml
      path: /openapi.yaml
      operations:
      - name: get
        method: GET
        description: Returns OpenAPI YAML document describing the capabilities of this API.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.OBSIDIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: local-rest-system-rest
    port: 8080
    description: REST adapter for Local REST API for Obsidian — System. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: GET
        name: get
        description: Returns basic details about the server.
        call: local-rest-system.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/obsidian-local-rest-api-crt
      name: obsidian-local-rest-api-crt
      description: REST surface for obsidian-local-rest-api.crt.
      operations:
      - method: GET
        name: get
        description: Returns the certificate in use by this API.
        call: local-rest-system.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/openapi-yaml
      name: openapi-yaml
      description: REST surface for openapi.yaml.
      operations:
      - method: GET
        name: get
        description: Returns OpenAPI YAML document describing the capabilities of this API.
        call: local-rest-system.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: local-rest-system-mcp
    port: 9090
    transport: http
    description: MCP adapter for Local REST API for Obsidian — System. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: returns-basic-details-about-server
      description: Returns basic details about the server.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: local-rest-system.get
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-certificate-use-this-api
      description: Returns the certificate in use by this API.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: local-rest-system.get
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-openapi-yaml-document-describing
      description: Returns OpenAPI YAML document describing the capabilities of this API.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: local-rest-system.get
      outputParameters:
      - type: object
        mapping: $.