The CID document exchange protocol

Content Interactive Delivery (CID) is a web service protocol which provides rules to exchange contents such as documents and their metadata. CID defines how a server should describe its data exchange processes, and how a client should execute a process.

ProcedureHow does it work ?

  1. Download the manifest

    The CID server must define its processes in a manifest accessible through a simple GET HTTP request.

    Download the manifest
  2. Then, the client must interpret the manifest and follow its steps. Three kind of steps can be used :

    Regular exchange
    Direct interaction
    Content upload

This document is dedicated to the discovery of the CID protocol. It describes some CID example cases from a simple file upload into a remote repository to more complicated cases and introduces some code examples (generic HTML client and PHP servers).