Versions Compared

Key

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

RETIREMENT NOTICE. This API will be retired along with Archie. It will be replaced by the Archive API:

Jira
serverJIRA
serverId84faf8a3-76e6-3cf7-862e-a59f68644f2d
keyCIT-1808

SystemEndpointUsecase
RevMan (front end)/rest/reviews/<id>/metadataMultiple CRGs
ReviewDB/rest/reviews (with params) My Reviews
Translate

/rest/reviews

/rest/reviews/<id>/versions

/rest/reviews/<id>/<version>/translations

Determine translation status
EPPI? 20.160.135.113

/rest/reviews?myRole=Author&published=false

?
CRS? 86.188.140.214

/rest/reviews?published=false&status=A&groupId=LIVER

?

Contents

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.

...

Code Block
languagejs
collapsetrue
[
  {
    "language": "fr",
    "title": "Décompression abdominale en cas de suspicion d'une souffrance fœtale/pré-éclampsie",
    "version": "0.0",
    "href": "https://archie.cochrane.org/rest/reviews/047199081020060395/translations/fr"
  },
  {
    "language": "hr",
    "title": "Abdominalna dekompresija kod sumnje na ugrožen fetus ili pre-eklampsiju",
    "version": "5.0",
    "href": "https://archie.cochrane.org/rest/reviews/047199081020060395/translations/hr"
  },
  {
    "language": "ta",
    "title": "கருத்தடை சமரசம் / முன்-எக்லம்ப்சியா என சந்தேகிக்கப்படும் அடிவயிற்று சுருக்க சிகிச்சை.",
    "version": "1.0",
    "href": "https://archie.cochrane.org/rest/reviews/047199081020060395/translations/ta"
  }
]

List translations of any published version using Review ID

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

The response is as described for the previous endpoint.

Get a translation of the latest published version using Review ID

...

Returns the translation as either JATS XML or the full JATS package (as determined by the Accept header - see "Encoding of response" above).

Get a translation of the any published version using Review ID

GET https://archie.cochrane.org/rest/reviews/{Review ID}/{Version}/translations/{language}

The response is as described for the previous endpoint.

Getting lists of reviews / searching

...

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.

...