Versions Compared

Key

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

...

Accept headerDescription
application/xml;charset=iso-8859-1Review in rm5 format, iso-8859-1 charset
application/xml;charset=utf-8Review in rm5 format, utf-8 charset
application/x-jats+xml;charset=utf-8Review in JATS format, utf-8 charset (NOTE: not yet available on production)
application/x-dar+zipDownload DAR archive (NOTE: not yet available on production)

If you don't specify an Accept header the behaviour of this API is undefined (i.e. you may get any of the above content types or encodings).

...

Returned MIME type is "image/png".

Return asset from

...

JATS package

The following return assets referenced from the main JATS XML. (NOTE: not yet available on production)

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"

...