Skip to content

Instantly share code, notes, and snippets.

@judell
Created July 10, 2015 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save judell/bd6267a703ea9a915a3a to your computer and use it in GitHub Desktop.
Save judell/bd6267a703ea9a915a3a to your computer and use it in GitHub Desktop.
Here's an API query that retrieves an annotation:
https://hypothes.is/api/annotations/AC0wFYQFQMGCSDQ9nfFW0A
Looking inside the result we find these equivalences:
"link": [
{
"href": "http://jcs.biologists.org/content/127/14/3052.long"
},
{
"href": "doi:10.1242/jcs.140731"
},
{
"href": "http://jcs.biologists.org/content/127/14/3052.full.pdf",
"type": "application/pdf"
}
]
Here are the corresponding searches that the client makes:
https://hypothes.is/api/search?uri=http:%2F%2Fjcs.biologists.org%2Fcontent%2F127%2F14%2F3052.long -> 0 results
https://hypothes.is/api/search?uri=doi:10.1242%2Fjcs.140731 -> 0 results
https://hypothes.is/api/search?uri=http:%2F%2Fjcs.biologists.org%2Fcontent%2F127%2F14%2F3052.full.pdf -> 0 results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment