OpenEBench REST API


OpenEBench REST API has two endpoints: one for the production './staged' and another one for the sandbox './sandbox'.
/?community_id={community_id}Content-Type: application/json Submit OpenEBench data as an array of json objects. Objects' types and ids are taken from the '_id' and '_schema' attributes.
/{collection}Accept: application/jsonList OpenEBench collection of submitted data.
/{collection}Accept: text/uri-listList all OpenEBench collection data identifiers.
/{collection}Accept: text/x-uriGet the URI of the JSON Schema to validate the collection.
/{collection}Accept: application/schema+jsonGet the JSON Schema to validate the collection.
/{collection}/?community_id={community_id}Content-Type: application/json Submit OpenEBench collection of data as an array of json objects. Objects' identifiers are taken from the object's '_id' attribute.
/{collection}/{id}Check whether the object exists in the submission.
/{collection}/{id}Get OpenEBench submitted data object.
/{collection}/{id}/?community_id={community_id}Content-Type: application/jsonSubmit OpenEBench data object.
/{collection}/{id}Content-Type: application/jsonUpdate OpenEBench data object.
/{collection}/{id}Remove OpenEBench data object.