Skip to content

Instantly share code, notes, and snippets.

@mdlincoln
Last active October 1, 2018 19:39
Show Gist options
  • Save mdlincoln/cb8f92199200dac5cf502bcac5b1e828 to your computer and use it in GitHub Desktop.
Save mdlincoln/cb8f92199200dac5cf502bcac5b1e828 to your computer and use it in GitHub Desktop.
Response from the hypothes.is API to a page rendered by CeTEIcean
{
"updated": "2018-10-01T18:16:02.140402+00:00",
"group": "__world__",
"target": [
{
"source": "http://teic.github.io/CETEIcean/EEBOTest.html",
"selector": [
{
"conformsTo": "https://tools.ietf.org/html/rfc3236",
"type": "FragmentSelector",
"value": "TEI"
},
{
"endContainer": "/div[1]/tei-tei[1]/tei-text[1]/tei-front[1]/tei-div[2]/tei-p[1]",
"startContainer": "/div[1]/tei-tei[1]/tei-text[1]/tei-front[1]/tei-div[2]/tei-p[1]",
"type": "RangeSelector",
"startOffset": 119,
"endOffset": 137
},
{
"type": "TextPositionSelector",
"end": 7702,
"start": 7684
},
{
"exact": "diuers rare things",
"prefix": " vvoorke, of the Portes, and of ",
"type": "TextQuoteSelector",
"suffix": " bothe of the Eaſte and VVeaſt I"
}
]
}
],
"links": {
"json": "https://hypothes.is/api/annotations/jtI3IsWfEeiohJeFyLNmrg",
"html": "https://hypothes.is/a/jtI3IsWfEeiohJeFyLNmrg",
"incontext": "https://hyp.is/jtI3IsWfEeiohJeFyLNmrg/teic.github.io/CETEIcean/EEBOTest.html"
},
"tags": [],
"text": "What does this look like: https://gist.github.com/mdlincoln/cb8f92199200dac5cf502bcac5b1e828",
"created": "2018-10-01T17:29:32.078553+00:00",
"uri": "http://teic.github.io/CETEIcean/EEBOTest.html",
"flagged": false,
"user_info": {
"display_name": {}
},
"user": "acct:mdlincoln@hypothes.is",
"hidden": false,
"document": {},
"id": "jtI3IsWfEeiohJeFyLNmrg",
"permissions": {
"read": [
"group:__world__"
],
"admin": [
"acct:mdlincoln@hypothes.is"
],
"update": [
"acct:mdlincoln@hypothes.is"
],
"delete": [
"acct:mdlincoln@hypothes.is"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment