JSON RPC API

Djib protocol accept HTTP requests using the JSON-RPC 2.0 specification.

JSON is a lightweight data-interchange format. It can represent numbers, strings, ordered sequences of values, and collections of name/value pairs.

JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. Primarily this specification defines several data structures and the rules around their processing. It is transport agnostic in that the concepts can be used within the same process, over sockets, over HTTP, or in many various message passing environments. It uses JSON (RFC 4627) as data format.

Djib API is mainly implemented as JSON RPC 2.0 with two exceptions:

  1. The health check endpoint that provides a health-check mechanism for load balancers or other network infrastructure use.

  2. Regular HTTP post to ensure large file support and multiple files supporting the upload and download endpoint.

Last updated