Inconsistent url in API query "/tags"
When I send the query "https://api.zotero.org/users/<userid>/tags?key=<user-key>", I get something like this:
[
{
tag: "rue",
links: {
self: {
href: "https://api.zotero.org/users/<userid>/tags/rue",
type: "application/json"
},
alternate: {
href: "http://zotero.org/users/<userid>/tags/rue",
type: "text/html"
}
},
meta: {
type: 0,
numItems: 2
}
},
Unfortunetely, the "alternate" url "http://zotero.org/users/<userid>/tags/rue" is rejected by the server.
[
{
tag: "rue",
links: {
self: {
href: "https://api.zotero.org/users/<userid>/tags/rue",
type: "application/json"
},
alternate: {
href: "http://zotero.org/users/<userid>/tags/rue",
type: "text/html"
}
},
meta: {
type: 0,
numItems: 2
}
},
Unfortunetely, the "alternate" url "http://zotero.org/users/<userid>/tags/rue" is rejected by the server.
-
dstillmanBetter to post API questions to zotero-dev — we try to keep technical discussions there.
-
dstillmanedited September 12, 2016Oh, but this is more about the website, I guess. I'm not sure there's ever been a working tags URL on the website. @fcheslack would know if there's something that could be changed to. Otherwise we should just remove the rel="alternate" link in API responses.
-
fcheslackedited September 12, 2016No, I don't think there's ever been a working tags/<tag> (or even a pure tags page that is at all useful)