Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.drpn.ai/llms.txt

Use this file to discover all available pages before exploring further.

Darpan backend calls use Moqui JSON-RPC services through /rpc/json. The OpenAPI file in this repo captures the shared JSON-RPC transport shape first. Individual service contracts are added from verified backend facade services.

Current contract

  • Endpoint: /rpc/json
  • Method: POST
  • Request body: JSON-RPC 2.0 envelope
  • Authentication: session cookie
  • CSRF: X-CSRF-Token header for protected calls

Example request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "facade.AuthFacadeServices.get#SessionInfo",
  "params": {}
}

Transport shape

Darpan uses JSON-RPC service methods rather than separate REST resources for the current backend integration surface. For the current backend organization, see Service layer.