Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes the basic REST API for working with reviews stored in Archie. This API is interfacing with Archie's XML review document store and is therefore also XML based and works on whole reviews (in RM5 format or JATS).

The Review Database ReviewDB API provides more granular access to review content and data.

...

GET https://archie.cochrane.org/rest/reviews/{Review ID}/roles

Returned MIME Returned MIME type is "application/json".

Generate a forest plot

GET https://archie.cochrane.org/rest/reviews/{CD Number}/graphics/forestplot/{Comparison ID}/{Outcome ID}

Returned MIME type is "image/png".

Return asset from JATS package

The following return assets referenced from the main JATS XML.

EndpointMIME type
GET https://archie.cochrane.org/rest/reviews/{Review ID}/{Version}/{Asset path}.svg"image/svg+xml"
GET https://archie.cochrane.org/rest/reviews/{Review ID}/{Version}/{Asset path}.png"image/png"
GET https://archie.cochrane.org/rest/reviews/{Review ID}/{Version}/{Asset path}.jpg"image/jpeg"
GET https://archie.cochrane.org/rest/reviews/{Review ID}/{Version}/{Asset path}.(xml | rm5)"application/xml;charset=utf-8", "application/xml;charset=UTF-8"
GET https://archie.cochrane.org/rest/reviews/{Review ID}/{Version}/{Asset path}.html"text/html"
GET https://archie.cochrane.org/rest/reviews/{Review ID}/{Version}/{Asset path}.zip"application/zip"

Review Groups IDs

For use with the groupId parameter.

...