REST URL Examples

The table below describes URL patterns and Accept Headers that applications can use to retrieve MeSH linked data in various formats. Users can also append the format to the end of the URL (e.g.: D000900.html) to specify the desired return format.

All URLs assume the prefix

URL Accept Header Return Format
mesh/D000900 text/html html
mesh/D000900.html   html
mesh/D000900 application/rdf+xml rdf
mesh/D000900.rdf   rdf
mesh/D000900 application/rdf+n3 n3
mesh/D000900.n3   n3
mesh/D000900 application/rdf+x-turtle turtle
mesh/D000900.ttl   turtle
mesh/D000900 application/rdf+json json
mesh/D000900.json   json