Backends

Status: proposal. No deployed gateway implements draft openrevive.social/0.1. The existing VK 1.1 experiment uses its own accounts and database.

Architecture

Original client
  → DNS / optional compatibility TLS
  → Client adapter
  → Canonical service request
  → Independent backend
  → Canonical result
  → Adapter restores the client's wire format

The gateway selects a client profile and translates its protocol. The backend owns accounts, authorization, storage, and service behavior. The goal is to support several client versions without reimplementing every historical format in each backend.

Draft interface

A common envelope identifies the contract, operation, request, client profile, required capabilities, authenticated principal, and parameters. Each service family needs its own typed operations and results.

Request schema · Response schema · Example client profile · Source

Adapter responsibilities

Backend responsibilities

Account/session ownership, permissions, storage and deletion, media handling, rate limits, abuse policy, and supported operations. Gateway/backend communication requires an authenticated transport. A supplied principal or header is not proof of user identity.

Original-provider credentials must not be silently forwarded to a replacement account system. Bridges to current services require permitted access and authorization.

Next steps

  1. Extract verified behavior from the VK 1.1 experiment.
  2. Define typed operations, errors, capability negotiation, and client profiles.
  3. Implement an adapter and an independent reference backend.
  4. Test the same scenarios across multiple clients and backends; publish conformance fixtures before stabilizing the contract.