openapi: 3.1.0
info:
  title: TrustOps API
  version: 0.4.0
  description: Public read-only trust, authorship, publisher identity, corrections, disclosure, attribution, and policy metadata.
servers:
  - url: https://trustops.platphormnews.com
paths:
  /api/health:
    get:
      summary: Read service health
      responses:
        '200': { description: Service health }
  /api/schema:
    get:
      summary: Read TrustOps structured data
      responses:
        '200': { description: JSON-LD schema }
  /api/docs:
    get:
      summary: Read API documentation metadata
      responses:
        '200': { description: Documentation metadata }
  /api/mcp:
    get:
      summary: Read MCP server metadata and usage
      responses:
        '200': { description: MCP metadata }
    post:
      summary: Execute a public read-only TrustOps JSON-RPC request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200': { description: JSON-RPC response }
        '400': { description: JSON-RPC parse or request error }
