Talk:Wikibase/EntityData
Add topicThis page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
N-Triples
[edit]RESOLVED | |
MIME types were incorrectly documented |
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Why does it say "application/nt" when the official MIME type is ""application/n-triples" ? WikiData also uses the correct "application/n-triples" in generated HTML pages
<link rel="alternate" href="https://www.wikidata.org/wiki/Special:EntityData/P2963.nt" type="application/n-triples"/> 109.193.244.89 (talk) 08:02, 12 May 2018 (UTC)
- There were several errors in the list. I’ve fixed them now (I hope). Lucas Werkmeister (WMDE) (talk) 16:42, 26 November 2018 (UTC)
Get error response in JSON?
[edit]If I'm retrieving JSON of a Wikidata item it's possible to use e.g.
https://www.wikidata.org/wiki/Special:EntityData/Q123.json
and get JSON back (which is great). But if there's an error, for example:
https://www.wikidata.org/wiki/Special:EntityData/Q123foo.json
then the response is HTML. Am I missing a request parameter or something, that would mean I get the error response in JSON as well? Sam Wilson 06:11, 18 October 2019 (UTC)