...
You can specify an Accept header to control the returned encoding, e.g:
Accept header | Description |
---|---|
application/xml;charset=iso-8859-1 | Review in rm5 format, iso-8859-1 charset |
application/xml;charset=utf-8 | Review in rm5 format, utf-8 charset |
application/x-jats+xml;charset=utf-8 | Review in JATS format, utf-8 charset |
application/x-dar+zip | Download DAR archive |
If you don't specify an Accept header you must be able to deal with either encoding.
...
Endpoint | MIME 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/jpgjpeg" |
GET https://archie.cochrane.org/rest/reviews/{Review ID}/{Version}/{Asset path}.(xml | rm5) | "application/xml;charset=utf-8", "application/xml;charset=UTF-8" |
...