triannon-client 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.env_example +1 -1
  3. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml +432 -513
  4. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml +432 -513
  5. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml +432 -513
  6. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +432 -513
  7. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trig_.yml +432 -513
  8. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trix_.yml +432 -513
  9. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +432 -513
  10. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +432 -513
  11. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +432 -513
  12. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/n3_.yml +432 -513
  13. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +432 -513
  14. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +432 -513
  15. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +432 -513
  16. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/ld_json_.yml +50 -50
  17. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml +38 -38
  18. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml +37 -37
  19. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +37 -37
  20. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/ld_json_.yml +29 -29
  21. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml +29 -29
  22. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml +29 -29
  23. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml +29 -29
  24. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +29 -29
  25. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml +29 -29
  26. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/trig_.yml +29 -29
  27. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/trix_.yml +29 -29
  28. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +29 -29
  29. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +29 -29
  30. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +29 -29
  31. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml +29 -29
  32. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/n3_.yml +29 -29
  33. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +29 -29
  34. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +29 -29
  35. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +29 -29
  36. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +29 -29
  37. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/checks_the_annotation_ID.yml +29 -29
  38. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/logs_exceptions.yml +29 -29
  39. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_a_nil_ID.yml +29 -29
  40. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_empty_string_ID.yml +29 -29
  41. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_integer_ID.yml +29 -29
  42. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/requests_an_open_annotation_by_ID_accepting_a_default_JSON-LD_content.yml +29 -29
  43. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_EMPTY_RDF_graph_for_a_500_server_response.yml +29 -29
  44. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_EMPTY_RDF_graph_with_a_valid_ID_for_NO_annotation_on_the_server.yml +37 -155
  45. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_RDF_graph_with_a_valid_ID_for_an_annotation_on_the_server.yml +50 -50
  46. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/requests_an_open_annotation_by_ID_using_a_IIIF_profile.yml +29 -29
  47. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +46 -46
  48. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/requests_an_open_annotation_by_ID_using_an_OA_profile.yml +29 -29
  49. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +50 -50
  50. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/does_not_log_exceptions_for_missing_annotations_404_responses_.yml +8 -8
  51. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/does_not_log_exceptions_for_missing_annotations_410_responses_.yml +8 -8
  52. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/logs_exceptions.yml +8 -8
  53. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_FALSE_for_a_500_response_to_a_DELETE_request.yml +12 -11
  54. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_200_response_to_a_DELETE_request.yml +12 -11
  55. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_202_response_to_a_DELETE_request.yml +12 -11
  56. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_204_response_to_a_DELETE_request.yml +12 -11
  57. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_404_response_to_a_DELETE_request.yml +12 -11
  58. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_410_response_to_a_DELETE_request.yml +12 -11
  59. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_when_deleting_an_open_annotation_that_does_NOT_exist.yml +18 -18
  60. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_when_deleting_an_open_annotation_that_exists.yml +38 -38
  61. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/validates_the_annotation_ID.yml +8 -8
  62. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph.yml +24 -24
  63. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +24 -24
  64. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +54 -54
  65. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml +29 -29
  66. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions.yml +1377 -1623
  67. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions_for_RestClient_Exception.yml +1377 -1623
  68. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/returns_a_RestClient_Response_object.yml +29 -29
  69. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_from_the_RDF_URI_of_an_annotation.yml +29 -29
  70. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_that_is_not_empty.yml +29 -29
  71. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uris/returns_an_RDF_URI_that_is_a_valid_URI.yml +38 -38
  72. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uris/returns_an_array_of_RDF_URI_from_an_RDF_Graph_of_an_annotation.yml +29 -29
  73. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/accepts_a_RestClient_Response_instance.yml +41 -41
  74. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_an_empty_String.yml +29 -29
  75. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_nil.yml +29 -29
  76. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/returns_an_RDF_Graph.yml +29 -29
  77. data/triannon-client.gemspec +1 -1
  78. metadata +2 -2
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:3000/annotations/
5
+ uri: http://localhost:3000/annotations/foo/
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: commit=Create%20Annotation&annotation[data]=%7B%22%40context%22%3A%22http%3A%2F%2Fiiif.io%2Fapi%2Fpresentation%2F2%2Fcontext.json%22%2C%22%40graph%22%3A%5B%7B%22%40id%22%3A%22_%3Ag70349699654640%22%2C%22%40type%22%3A%5B%22dctypes%3AText%22%2C%22cnt%3AContentAsText%22%5D%2C%22chars%22%3A%22I%20love%20this!%22%2C%22format%22%3A%22text%2Fplain%22%2C%22language%22%3A%22en%22%7D%2C%7B%22%40type%22%3A%22oa%3AAnnotation%22%2C%22motivation%22%3A%22oa%3Acommenting%22%2C%22on%22%3A%22http%3A%2F%2Fpurl.stanford.edu%2Fkq131cs7229%22%2C%22resource%22%3A%22_%3Ag70349699654640%22%7D%5D%7D
@@ -31,31 +31,31 @@ http_interactions:
31
31
  Content-Type:
32
32
  - application/ld+json; charset=utf-8
33
33
  Etag:
34
- - W/"5feb34e4832b02b348839520bfc58409"
34
+ - W/"04d403951cfadc472b6f289d02353e12"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 4242de62-b096-4cf3-9242-198d3aab0a6a
38
+ - 64cad268-bc4b-4ecf-959d-af6f812b8e13
39
39
  X-Runtime:
40
- - '2.624414'
40
+ - '1.952666'
41
41
  Server:
42
42
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Mon, 18 May 2015 20:09:40 GMT
44
+ - Fri, 19 Jun 2015 18:41:45 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=citTUjd6R090ZmRpK0pPRXUyeDd4SXBaWFpncVBmWDAzTEg0SWRabFg4aWRPaU5iRlRVMEI2MFpYeVhmZjUwdEgxaFBCNFJRbVhndDZ5Z2xnUVpRV1JKL2E3SG41d2lvcFdQSGlFVnBjc0JLbXRhOXM1NVZkeHdRM04yeitQRTRScEJOdHlSR1c3Nk1ZcVlBSWl5RFJBRFBhYm9ZMjlNM29DY2hUVVlVVkNIbGtMNHpseHM2MEVuTEk5M3dpQ3BHRXMydlpKemw1RlpLUDBraFRyNHM0cUhTdzVwMHBTTTVVSlFsbksyMzhWeUJDRzFWOUF0ODhFZU5UTnNKOHZMdS0tcUQrSytJT0hGL281QWVxS1Y5ZHNCdz09--00861b128bcef77216ab5037372e7d704aeafc84;
50
+ - _internal_session=TnU3b0tzQzVxOURTNGZTR2p5MU40SW5mQVZiU0VJSkxWVkk5c29mQmFCZEhuYUpzMjR3NlNVYlBtNFhQa2l0WDM1dWhQODAyVVVJMEZJNGt5MXZUK29ZL2tLd25qK09vbzhNejRiY2ZhaFcwdkQ1WkhzVGpDYThadzVwS2NucVVQalVzTlBENkhBUWIzcUNCdTR1UG4rb0IweVlyUUo2YjcyMmdKVmptKy94SGtRY0MzTHlWcGd2OWF6dWF0NnBtaEZUZU9NamRZZkhDV1VZZHhBTGM3N2Zpa1lMS0tKSDZzRmNJTzFCNlVFMmNsNHJuZ0hWR2NnU0hFV01CSlRJTi0tZlFNQU5BK2lCOEk1enI0UGRNdmYxdz09--b28728cf2af92038a7b8e181a2cb7506fffebf73;
51
51
  path=/; HttpOnly
52
52
  - request_method=POST; path=/
53
53
  body:
54
54
  encoding: UTF-8
55
- string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70310878874760","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/87/6d/d5/c5/876dd5c5-15e1-4a98-b331-56dacf0a94aa","@type":"oa:Annotation","hasBody":"_:g70310878874760","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154456098740","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/e0/31/58/42/e0315842-8cd1-4465-bccb-67dee3c4577a","@type":"oa:Annotation","hasBody":"_:g70154456098740","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:09:40 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:41:45 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Temporary Redirect
76
76
  headers:
77
77
  Date:
78
- - Mon, 18 May 2015 20:09:40 GMT
78
+ - Fri, 19 Jun 2015 18:41:45 GMT
79
79
  Server:
80
80
  - Apache/2
81
81
  Location:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  Cache-Control:
84
84
  - max-age=21600
85
85
  Expires:
86
- - Tue, 19 May 2015 02:09:40 GMT
86
+ - Sat, 20 Jun 2015 00:41:45 GMT
87
87
  Content-Length:
88
88
  - '240'
89
89
  Content-Type:
@@ -99,7 +99,7 @@ http_interactions:
99
99
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
100
100
  </body></html>
101
101
  http_version:
102
- recorded_at: Mon, 18 May 2015 20:09:40 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:41:45 GMT
103
103
  - request:
104
104
  method: get
105
105
  uri: http://www.w3.org/ns/oa.jsonld
@@ -121,7 +121,7 @@ http_interactions:
121
121
  message: OK
122
122
  headers:
123
123
  Date:
124
- - Mon, 18 May 2015 20:09:40 GMT
124
+ - Fri, 19 Jun 2015 18:41:46 GMT
125
125
  Server:
126
126
  - Apache/2
127
127
  Last-Modified:
@@ -135,7 +135,7 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - max-age=21600
137
137
  Expires:
138
- - Tue, 19 May 2015 02:09:40 GMT
138
+ - Sat, 20 Jun 2015 00:41:46 GMT
139
139
  P3p:
140
140
  - policyref="http://www.w3.org/2014/08/p3p.xml"
141
141
  Access-Control-Allow-Origin:
@@ -1253,7 +1253,7 @@ http_interactions:
1253
1253
 
1254
1254
 
1255
1255
  http_version:
1256
- recorded_at: Mon, 18 May 2015 20:09:41 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:41:46 GMT
1257
1257
  - request:
1258
1258
  method: get
1259
1259
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -1273,7 +1273,7 @@ http_interactions:
1273
1273
  message: Temporary Redirect
1274
1274
  headers:
1275
1275
  Date:
1276
- - Mon, 18 May 2015 20:09:41 GMT
1276
+ - Fri, 19 Jun 2015 18:41:46 GMT
1277
1277
  Server:
1278
1278
  - Apache/2
1279
1279
  Location:
@@ -1281,7 +1281,7 @@ http_interactions:
1281
1281
  Cache-Control:
1282
1282
  - max-age=21600
1283
1283
  Expires:
1284
- - Tue, 19 May 2015 02:09:41 GMT
1284
+ - Sat, 20 Jun 2015 00:41:46 GMT
1285
1285
  Content-Length:
1286
1286
  - '240'
1287
1287
  Content-Type:
@@ -1297,7 +1297,7 @@ http_interactions:
1297
1297
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
1298
1298
  </body></html>
1299
1299
  http_version:
1300
- recorded_at: Mon, 18 May 2015 20:09:41 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:41:46 GMT
1301
1301
  - request:
1302
1302
  method: get
1303
1303
  uri: http://www.w3.org/ns/oa.jsonld
@@ -1319,7 +1319,7 @@ http_interactions:
1319
1319
  message: OK
1320
1320
  headers:
1321
1321
  Date:
1322
- - Mon, 18 May 2015 20:09:41 GMT
1322
+ - Fri, 19 Jun 2015 18:41:46 GMT
1323
1323
  Server:
1324
1324
  - Apache/2
1325
1325
  Last-Modified:
@@ -1333,7 +1333,7 @@ http_interactions:
1333
1333
  Cache-Control:
1334
1334
  - max-age=21600
1335
1335
  Expires:
1336
- - Tue, 19 May 2015 02:09:41 GMT
1336
+ - Sat, 20 Jun 2015 00:41:46 GMT
1337
1337
  P3p:
1338
1338
  - policyref="http://www.w3.org/2014/08/p3p.xml"
1339
1339
  Access-Control-Allow-Origin:
@@ -2451,10 +2451,10 @@ http_interactions:
2451
2451
 
2452
2452
 
2453
2453
  http_version:
2454
- recorded_at: Mon, 18 May 2015 20:09:41 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:41:47 GMT
2455
2455
  - request:
2456
2456
  method: delete
2457
- uri: http://localhost:3000/annotations/87%2F6d%2Fd5%2Fc5%2F876dd5c5-15e1-4a98-b331-56dacf0a94aa
2457
+ uri: http://localhost:3000/annotations/foo/e0%2F31%2F58%2F42%2Fe0315842-8cd1-4465-bccb-67dee3c4577a
2458
2458
  body:
2459
2459
  encoding: US-ASCII
2460
2460
  string: ''
@@ -2477,31 +2477,31 @@ http_interactions:
2477
2477
  X-Content-Type-Options:
2478
2478
  - nosniff
2479
2479
  Location:
2480
- - http://localhost:3000/annotations
2480
+ - http://localhost:3000/annotations?anno_root=foo
2481
2481
  Cache-Control:
2482
2482
  - no-cache
2483
2483
  X-Request-Id:
2484
- - 7a6ed2cb-e186-4580-beae-16921b28d10a
2484
+ - 0aa198a1-5b1e-4563-a363-78d13c029c33
2485
2485
  X-Runtime:
2486
- - '0.196192'
2486
+ - '0.202736'
2487
2487
  Server:
2488
2488
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2489
2489
  Date:
2490
- - Mon, 18 May 2015 20:09:42 GMT
2490
+ - Fri, 19 Jun 2015 18:41:47 GMT
2491
2491
  Connection:
2492
2492
  - Keep-Alive
2493
2493
  Set-Cookie:
2494
- - _internal_session=ZDl3Q0cyUlR0Nk45eEJYV3NONytRajVYeWtTZFo2eGFlRVEySDlvZmdhMXcraWdZamIyTWtXSWVlVSt5SjNPU3FUNHBGY1IyMTR5THlXMWpFV0o3cDU1VkppZWV4YUZWTmtoMVV6UFMvREU1WkJTTDhCaXNUT3hxZVFjTFpwMXU4QjJpUlcwVlQ2eFFnOGd5Mmo4UFlUMDdwbUc4aEtkRVpheW53ZXZQZlZOQ0lmMEl0U1dUdTFuUkRwTkJBSVZELS15ajEyMzlpOTJXNGFwV1lWWWQ5ZGh3PT0%3D--859d4ceb0b3152a3e81ca0b8e5f0ac7522283b03;
2494
+ - _internal_session=RVJVcDVLZGZ2Y3R3b2QxWnYzZEJrYWMwRnVSR3FtTzZGQnZwamN4ZFFBM25yQ0xZbmVTSlBibnpibmF3T3ZldEdJbkE5aGlVTmVRQ1RRaUswVXliOEw1MnlJQktVL2JQR3lEeWlHMWpxUXJra3lET2I3N1RhRE1WclloTkN2SlNtV1QwbW03U1dRMTgxM0VjZUp6Wk42SkEyWlZyWk9mVkV5ZHJZVTRnZ1FQek54TE15OGl2M0ZpMkMyZG90alo4LS0ra0xwOWZaOERwRk40TDFZU29YM1RRPT0%3D--7d8ec64a13e31e341ad9dd5d178ba1e084a073f0;
2495
2495
  path=/; HttpOnly
2496
2496
  - request_method=DELETE; path=/
2497
2497
  body:
2498
2498
  encoding: UTF-8
2499
2499
  string: ''
2500
2500
  http_version:
2501
- recorded_at: Mon, 18 May 2015 20:09:42 GMT
2501
+ recorded_at: Fri, 19 Jun 2015 18:41:47 GMT
2502
2502
  - request:
2503
2503
  method: delete
2504
- uri: http://localhost:3000/annotations/87%2F6d%2Fd5%2Fc5%2F876dd5c5-15e1-4a98-b331-56dacf0a94aa
2504
+ uri: http://localhost:3000/annotations/foo/e0%2F31%2F58%2F42%2Fe0315842-8cd1-4465-bccb-67dee3c4577a
2505
2505
  body:
2506
2506
  encoding: US-ASCII
2507
2507
  string: ''
@@ -2528,24 +2528,24 @@ http_interactions:
2528
2528
  Cache-Control:
2529
2529
  - no-cache
2530
2530
  X-Request-Id:
2531
- - 7ad353e1-ee94-48ff-b2fb-29593c306365
2531
+ - 1e60adfe-6364-4dae-b7af-f0d85d20a5cd
2532
2532
  X-Runtime:
2533
- - '0.021903'
2533
+ - '0.019929'
2534
2534
  Server:
2535
2535
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2536
2536
  Date:
2537
- - Mon, 18 May 2015 20:09:42 GMT
2537
+ - Fri, 19 Jun 2015 18:41:47 GMT
2538
2538
  Content-Length:
2539
- - '272'
2539
+ - '280'
2540
2540
  Connection:
2541
2541
  - Keep-Alive
2542
2542
  Set-Cookie:
2543
2543
  - request_method=DELETE; path=/
2544
2544
  body:
2545
2545
  encoding: UTF-8
2546
- string: "<h2>error getting 87/6d/d5/c5/876dd5c5-15e1-4a98-b331-56dacf0a94aa
2547
- from LDP</h2>Discovered tombstone resource at /anno/87/6d/d5/c5/876dd5c5-15e1-4a98-b331-56dacf0a94aa
2548
- {jcr:createdBy=bypassAdmin, jcr:primaryType=fedora:Tombstone, jcr:created=2015-05-18T13:09:41.995-07:00}"
2546
+ string: "<h2>error getting foo/e0/31/58/42/e0315842-8cd1-4465-bccb-67dee3c4577a
2547
+ from LDP</h2>Discovered tombstone resource at /anno/foo/e0/31/58/42/e0315842-8cd1-4465-bccb-67dee3c4577a
2548
+ {jcr:createdBy=bypassAdmin, jcr:primaryType=fedora:Tombstone, jcr:created=2015-06-19T11:41:47.222-07:00}"
2549
2549
  http_version:
2550
- recorded_at: Mon, 18 May 2015 20:09:42 GMT
2550
+ recorded_at: Fri, 19 Jun 2015 18:41:47 GMT
2551
2551
  recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:3000/annotations/
5
+ uri: http://localhost:3000/annotations/foo/
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: commit=Create%20Annotation&annotation[data]=%7B%22%40context%22%3A%22http%3A%2F%2Fiiif.io%2Fapi%2Fpresentation%2F2%2Fcontext.json%22%2C%22%40graph%22%3A%5B%7B%22%40id%22%3A%22_%3Ag70349699654640%22%2C%22%40type%22%3A%5B%22dctypes%3AText%22%2C%22cnt%3AContentAsText%22%5D%2C%22chars%22%3A%22I%20love%20this!%22%2C%22format%22%3A%22text%2Fplain%22%2C%22language%22%3A%22en%22%7D%2C%7B%22%40type%22%3A%22oa%3AAnnotation%22%2C%22motivation%22%3A%22oa%3Acommenting%22%2C%22on%22%3A%22http%3A%2F%2Fpurl.stanford.edu%2Fkq131cs7229%22%2C%22resource%22%3A%22_%3Ag70349699654640%22%7D%5D%7D
@@ -31,31 +31,31 @@ http_interactions:
31
31
  Content-Type:
32
32
  - application/ld+json; charset=utf-8
33
33
  Etag:
34
- - W/"5e7c2bf81d4a50b79b80a82b279e11d4"
34
+ - W/"2dc3e1e475fa0201dc93bf203ff31c97"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 23ceebe2-3853-48cc-8ecb-3a6151dc6027
38
+ - f20cbcf9-1251-4e59-b9d6-fd3fb91f2050
39
39
  X-Runtime:
40
- - '1.639153'
40
+ - '2.170626'
41
41
  Server:
42
42
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Mon, 18 May 2015 20:09:36 GMT
44
+ - Fri, 19 Jun 2015 18:41:41 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=UUtVQTBqbWxqWnpnd0dDSXRTR3JMT3ZaTXVZdlptSFhiaTFIejkzZmZicUxrRWNGamVFeWVXL25aZUVpdXl6UHlIb3VRNzZnZVJnbUFheEV1TzJhVEZjRWhPZ3FvQTVvcUUrZWlHbUZ0bXA1S3QxbnVpblRUNGlpSFBERTdxcnRCZ3BFTWtudGRJSlJBb25pWlhSOGlWRUp0TVFmTDdMQ2RDME8zV3VrQlE3a20xZkIzbXI1VWR1L1IybHBpM3RBdFhKOTFRdkQ3aGp6aGFLMzJadmY5UWQrK0lJY1RyTk5LUmFIN20vODJSRzY4V1gxbkJmeUFxZGdiYXY0ZXo5Si0tbzF3NlNndVBrSUs0SlBZazhUUHlHZz09--b5dd8f0f82c9be92d96a6ab7f2c3eda8900633b2;
50
+ - _internal_session=TTRqWWVLbStKQ2c3MVNNa3NLYXhEakx2WDVmQk9SRm5IYjZhdTNReFh0U2huZ2Z1VGhyUW1tSXdnblFwM3BGSDQ0cExsWGRrQnhKWDdIRnl6SE5EdkxZZDR0a081MmlNQnVWT3pEeEI1ZUxlSTV1NUJmVHovcmNtNTlaOEQwY0NYYVNjaXE3TFoyb053L3JYVE43Ly9OZ05HSlJGU2RJUWVDdzNsODB0WHg1NXFFN1diMDVFckZxbitndGwwa2dEQWk3VTRJRnVMclg0VGhNWEJsMVlMRmxOdDNycFdNaS8wSUFsVjVNVWZwTHEwUXdQQmI0a0RDOFVRWXpMeTNldi0tZW1QZlUxOEtDZXc0ZmliOWpkOWdGQT09--e813bb3c9b209d98256911371fdc1c6fa85adcc5;
51
51
  path=/; HttpOnly
52
52
  - request_method=POST; path=/
53
53
  body:
54
54
  encoding: UTF-8
55
- string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70310853254000","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/af/63/2b/47/af632b47-a8f4-4616-92da-c3aa819ef1d4","@type":"oa:Annotation","hasBody":"_:g70310853254000","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154597410500","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/58/75/49/27/58754927-e8bb-48f6-809c-bdb3e8aa4238","@type":"oa:Annotation","hasBody":"_:g70154597410500","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:09:36 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:41:41 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Temporary Redirect
76
76
  headers:
77
77
  Date:
78
- - Mon, 18 May 2015 20:09:36 GMT
78
+ - Fri, 19 Jun 2015 18:41:42 GMT
79
79
  Server:
80
80
  - Apache/2
81
81
  Location:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  Cache-Control:
84
84
  - max-age=21600
85
85
  Expires:
86
- - Tue, 19 May 2015 02:09:36 GMT
86
+ - Sat, 20 Jun 2015 00:41:42 GMT
87
87
  Content-Length:
88
88
  - '240'
89
89
  Content-Type:
@@ -99,7 +99,7 @@ http_interactions:
99
99
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
100
100
  </body></html>
101
101
  http_version:
102
- recorded_at: Mon, 18 May 2015 20:09:36 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:41:42 GMT
103
103
  - request:
104
104
  method: get
105
105
  uri: http://www.w3.org/ns/oa.jsonld
@@ -121,7 +121,7 @@ http_interactions:
121
121
  message: OK
122
122
  headers:
123
123
  Date:
124
- - Mon, 18 May 2015 20:09:36 GMT
124
+ - Fri, 19 Jun 2015 18:41:42 GMT
125
125
  Server:
126
126
  - Apache/2
127
127
  Last-Modified:
@@ -135,7 +135,7 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - max-age=21600
137
137
  Expires:
138
- - Tue, 19 May 2015 02:09:36 GMT
138
+ - Sat, 20 Jun 2015 00:41:42 GMT
139
139
  P3p:
140
140
  - policyref="http://www.w3.org/2014/08/p3p.xml"
141
141
  Access-Control-Allow-Origin:
@@ -1253,7 +1253,7 @@ http_interactions:
1253
1253
 
1254
1254
 
1255
1255
  http_version:
1256
- recorded_at: Mon, 18 May 2015 20:09:37 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:41:42 GMT
1257
1257
  - request:
1258
1258
  method: get
1259
1259
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -1273,7 +1273,7 @@ http_interactions:
1273
1273
  message: Temporary Redirect
1274
1274
  headers:
1275
1275
  Date:
1276
- - Mon, 18 May 2015 20:09:37 GMT
1276
+ - Fri, 19 Jun 2015 18:41:42 GMT
1277
1277
  Server:
1278
1278
  - Apache/2
1279
1279
  Location:
@@ -1281,7 +1281,7 @@ http_interactions:
1281
1281
  Cache-Control:
1282
1282
  - max-age=21600
1283
1283
  Expires:
1284
- - Tue, 19 May 2015 02:09:37 GMT
1284
+ - Sat, 20 Jun 2015 00:41:42 GMT
1285
1285
  Content-Length:
1286
1286
  - '240'
1287
1287
  Content-Type:
@@ -1297,7 +1297,7 @@ http_interactions:
1297
1297
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
1298
1298
  </body></html>
1299
1299
  http_version:
1300
- recorded_at: Mon, 18 May 2015 20:09:37 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:41:42 GMT
1301
1301
  - request:
1302
1302
  method: get
1303
1303
  uri: http://www.w3.org/ns/oa.jsonld
@@ -1319,7 +1319,7 @@ http_interactions:
1319
1319
  message: OK
1320
1320
  headers:
1321
1321
  Date:
1322
- - Mon, 18 May 2015 20:09:37 GMT
1322
+ - Fri, 19 Jun 2015 18:41:43 GMT
1323
1323
  Server:
1324
1324
  - Apache/2
1325
1325
  Last-Modified:
@@ -1333,7 +1333,7 @@ http_interactions:
1333
1333
  Cache-Control:
1334
1334
  - max-age=21600
1335
1335
  Expires:
1336
- - Tue, 19 May 2015 02:09:37 GMT
1336
+ - Sat, 20 Jun 2015 00:41:43 GMT
1337
1337
  P3p:
1338
1338
  - policyref="http://www.w3.org/2014/08/p3p.xml"
1339
1339
  Access-Control-Allow-Origin:
@@ -2451,10 +2451,10 @@ http_interactions:
2451
2451
 
2452
2452
 
2453
2453
  http_version:
2454
- recorded_at: Mon, 18 May 2015 20:09:37 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:41:43 GMT
2455
2455
  - request:
2456
2456
  method: delete
2457
- uri: http://localhost:3000/annotations/af%2F63%2F2b%2F47%2Faf632b47-a8f4-4616-92da-c3aa819ef1d4
2457
+ uri: http://localhost:3000/annotations/foo/58%2F75%2F49%2F27%2F58754927-e8bb-48f6-809c-bdb3e8aa4238
2458
2458
  body:
2459
2459
  encoding: US-ASCII
2460
2460
  string: ''
@@ -2477,26 +2477,26 @@ http_interactions:
2477
2477
  X-Content-Type-Options:
2478
2478
  - nosniff
2479
2479
  Location:
2480
- - http://localhost:3000/annotations
2480
+ - http://localhost:3000/annotations?anno_root=foo
2481
2481
  Cache-Control:
2482
2482
  - no-cache
2483
2483
  X-Request-Id:
2484
- - e714ecda-f335-46c1-bb18-bb3fe9c44c34
2484
+ - 53a7816d-c92f-4c5a-b117-1b3b4f7b3805
2485
2485
  X-Runtime:
2486
- - '0.186758'
2486
+ - '0.234597'
2487
2487
  Server:
2488
2488
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2489
2489
  Date:
2490
- - Mon, 18 May 2015 20:09:37 GMT
2490
+ - Fri, 19 Jun 2015 18:41:43 GMT
2491
2491
  Connection:
2492
2492
  - Keep-Alive
2493
2493
  Set-Cookie:
2494
- - _internal_session=YW1vblNLYkZUaVo1Ny96eXB2NG9Xcnk0N2V6WElNTWh1N2NHZ1dGY1BXVnpJZGZXU1I5U1VmUEh0c2FZODJ4azU2SXhVRXBQQnRPdWxVcjN3VXhlSWcwNUVTUGxDMFVDYXZGRW5ZNXZ3R0dZS2hmS1NnbGp4YkppUEtkUXZxbll1TmlkMFEvQnFOdkNVREtReFdFTjlTWCtMbjhpb29zSVRIZ1d4N1VqdmpJNzZHcGN2VHVCWkMwSjhPMlArOWJSLS1pb0drRndqTm9iU3YvYWpsWExMWS93PT0%3D--8f8eb06d1414d13c13a3f7eb273f58504a11874a;
2494
+ - _internal_session=ZUhTWEcyWUQ1aDV1eWRPVy9OQmYxZEpqOXFSZFpGVFBMN08vRmJ1VHJ5dWkyZUlQeDFVRUU2SDZBVWdUSTYwUld3aW1DSDhBaGs3Sm12M3plTW5aV250c3pJNXFhU3UzN0dJRmpMdW5uS0RTVDlkU2ZhRHRKekpLdkQxRGxuRWIyVldpZWFWbm5lVFgxd3Y3cGs4L0ZmTDdGK2VRNGp4NnlFbi95anNzaUdmakpoeHFrWDd1TlE3U3Q1MDlVTFpSLS1XSk5sbkY5Zm9NT2lyZTJlSTF2bEd3PT0%3D--55569aee58fa8f7dfa71a38c4492ab89ad071e1f;
2495
2495
  path=/; HttpOnly
2496
2496
  - request_method=DELETE; path=/
2497
2497
  body:
2498
2498
  encoding: UTF-8
2499
2499
  string: ''
2500
2500
  http_version:
2501
- recorded_at: Mon, 18 May 2015 20:09:37 GMT
2501
+ recorded_at: Fri, 19 Jun 2015 18:41:43 GMT
2502
2502
  recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://localhost:3000/annotations/
5
+ uri: http://localhost:3000/annotations/foo/
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: commit=Create%20Annotation&annotation[data]=%7B%22%40context%22%3A%22http%3A%2F%2Fiiif.io%2Fapi%2Fpresentation%2F2%2Fcontext.json%22%2C%22%40graph%22%3A%5B%7B%22%40id%22%3A%22_%3Ag70349699654640%22%2C%22%40type%22%3A%5B%22dctypes%3AText%22%2C%22cnt%3AContentAsText%22%5D%2C%22chars%22%3A%22I%20love%20this!%22%2C%22format%22%3A%22text%2Fplain%22%2C%22language%22%3A%22en%22%7D%2C%7B%22%40type%22%3A%22oa%3AAnnotation%22%2C%22motivation%22%3A%22oa%3Acommenting%22%2C%22on%22%3A%22http%3A%2F%2Fpurl.stanford.edu%2Fkq131cs7229%22%2C%22resource%22%3A%22_%3Ag70349699654640%22%7D%5D%7D
@@ -31,31 +31,31 @@ http_interactions:
31
31
  Content-Type:
32
32
  - application/ld+json; charset=utf-8
33
33
  Etag:
34
- - W/"c6a28d4e672f5bf03d98f68df00a74f6"
34
+ - W/"e778f2e19ef3fd3243090b63f5104d18"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - c0dfe1a6-0b80-4d2a-9505-261e5bf9c06b
38
+ - 5afc790a-0699-4921-b103-18170557b2ee
39
39
  X-Runtime:
40
- - '1.619984'
40
+ - '1.996652'
41
41
  Server:
42
42
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Mon, 18 May 2015 20:09:21 GMT
44
+ - Fri, 19 Jun 2015 18:41:24 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=OWFiSHlmT2svcVlmRjhmcGlUMzF6Uk1aZUdYSSs2S3hmMGlCNEdTdllwVHRCdlZ0ekZDdWw2RENoMUltTUJUZDVlSmVLWHhzOEpEQnJZeC9KQnVKSlg1VlNnZjhYc3NQNWtsREhwNnJramkwclB2bVI5eU5IOVFNNnlaRkU0UlFkdzV4Rmo3aHNrMFcvWmNxSkFyUzhaQWhCSlRCbWs2am54WmdOaHU4U1k1UkpYOG9LNEU2RkpleUtGRE5BQ2t2SXpYQytRWU5HTDQ1aFZJS3IwY040YW05N3U3NVBEV2IyQ2tLZlhhNFZrK2ROYmhxS3pHUmEyQk1CbXZtT1pvSC0tcTJvcUI3Vm5mRWtNbE5SamE3VytsQT09--e9b815d08352dbf8f10e0b01999f3c101a900584;
50
+ - _internal_session=ZXI2bVpvUWJaYzdxUnBoOXNzSGpSRjYvR09MeDRjdHR4OWtEOWtkeC9PMVk1YVJKUEdJb0Fvbzl1STc3WU9jcFZ1Q0RNZEVEZXFxQ2xYRGhUUFZOcXhVMTdta1RMeGpKVFprTlpJcFFHZkl1MUMrR1pidExrenJYREVQVWlDTHBsU3VUSFZnWU04NVY4czRld1F0MFNSVkJqeXhtRTJrQ1pHM3EzMmdTZmxFWE5Fbm41QzZTTGVreS93TGJoTUJpWlI5Y2RTcWpuakt3VkZSYTBJb0dXZ2s4S3hTMXl2TGh0dExuNjVQRml3RUpqYlZnWTVyd0c1aTBrL1lBM0RCdi0tUG5kSmpyNTVPNzJTeWM5b1dvNnlqZz09--89504e2aad501ea37f694000d2796aa4959969aa;
51
51
  path=/; HttpOnly
52
52
  - request_method=POST; path=/
53
53
  body:
54
54
  encoding: UTF-8
55
- string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70310850849700","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/b2/3a/a4/d9/b23aa4d9-9d8c-4ec1-bea2-a44454a523cf","@type":"oa:Annotation","hasBody":"_:g70310850849700","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154567775100","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/9c/00/44/03/9c004403-4d70-4f87-af32-5e6fc51516db","@type":"oa:Annotation","hasBody":"_:g70154567775100","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:09:21 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:41:24 GMT
59
59
  - request:
60
60
  method: get
61
61
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Temporary Redirect
76
76
  headers:
77
77
  Date:
78
- - Mon, 18 May 2015 20:09:21 GMT
78
+ - Fri, 19 Jun 2015 18:41:24 GMT
79
79
  Server:
80
80
  - Apache/2
81
81
  Location:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  Cache-Control:
84
84
  - max-age=21600
85
85
  Expires:
86
- - Tue, 19 May 2015 02:09:21 GMT
86
+ - Sat, 20 Jun 2015 00:41:24 GMT
87
87
  Content-Length:
88
88
  - '240'
89
89
  Content-Type:
@@ -99,7 +99,7 @@ http_interactions:
99
99
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
100
100
  </body></html>
101
101
  http_version:
102
- recorded_at: Mon, 18 May 2015 20:09:21 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:41:24 GMT
103
103
  - request:
104
104
  method: get
105
105
  uri: http://www.w3.org/ns/oa.jsonld
@@ -121,7 +121,7 @@ http_interactions:
121
121
  message: OK
122
122
  headers:
123
123
  Date:
124
- - Mon, 18 May 2015 20:09:21 GMT
124
+ - Fri, 19 Jun 2015 18:41:24 GMT
125
125
  Server:
126
126
  - Apache/2
127
127
  Last-Modified:
@@ -135,7 +135,7 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - max-age=21600
137
137
  Expires:
138
- - Tue, 19 May 2015 02:09:21 GMT
138
+ - Sat, 20 Jun 2015 00:41:24 GMT
139
139
  P3p:
140
140
  - policyref="http://www.w3.org/2014/08/p3p.xml"
141
141
  Access-Control-Allow-Origin:
@@ -1253,7 +1253,7 @@ http_interactions:
1253
1253
 
1254
1254
 
1255
1255
  http_version:
1256
- recorded_at: Mon, 18 May 2015 20:09:21 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:41:24 GMT
1257
1257
  - request:
1258
1258
  method: get
1259
1259
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -1273,7 +1273,7 @@ http_interactions:
1273
1273
  message: Temporary Redirect
1274
1274
  headers:
1275
1275
  Date:
1276
- - Mon, 18 May 2015 20:09:22 GMT
1276
+ - Fri, 19 Jun 2015 18:41:25 GMT
1277
1277
  Server:
1278
1278
  - Apache/2
1279
1279
  Location:
@@ -1281,7 +1281,7 @@ http_interactions:
1281
1281
  Cache-Control:
1282
1282
  - max-age=21600
1283
1283
  Expires:
1284
- - Tue, 19 May 2015 02:09:22 GMT
1284
+ - Sat, 20 Jun 2015 00:41:25 GMT
1285
1285
  Content-Length:
1286
1286
  - '240'
1287
1287
  Content-Type:
@@ -1297,7 +1297,7 @@ http_interactions:
1297
1297
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
1298
1298
  </body></html>
1299
1299
  http_version:
1300
- recorded_at: Mon, 18 May 2015 20:09:22 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:41:25 GMT
1301
1301
  - request:
1302
1302
  method: get
1303
1303
  uri: http://www.w3.org/ns/oa.jsonld
@@ -1319,7 +1319,7 @@ http_interactions:
1319
1319
  message: OK
1320
1320
  headers:
1321
1321
  Date:
1322
- - Mon, 18 May 2015 20:09:22 GMT
1322
+ - Fri, 19 Jun 2015 18:41:25 GMT
1323
1323
  Server:
1324
1324
  - Apache/2
1325
1325
  Last-Modified:
@@ -1333,7 +1333,7 @@ http_interactions:
1333
1333
  Cache-Control:
1334
1334
  - max-age=21600
1335
1335
  Expires:
1336
- - Tue, 19 May 2015 02:09:22 GMT
1336
+ - Sat, 20 Jun 2015 00:41:25 GMT
1337
1337
  P3p:
1338
1338
  - policyref="http://www.w3.org/2014/08/p3p.xml"
1339
1339
  Access-Control-Allow-Origin:
@@ -2451,7 +2451,7 @@ http_interactions:
2451
2451
 
2452
2452
 
2453
2453
  http_version:
2454
- recorded_at: Mon, 18 May 2015 20:09:22 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:41:25 GMT
2455
2455
  - request:
2456
2456
  method: get
2457
2457
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -2471,7 +2471,7 @@ http_interactions:
2471
2471
  message: Temporary Redirect
2472
2472
  headers:
2473
2473
  Date:
2474
- - Mon, 18 May 2015 20:09:22 GMT
2474
+ - Fri, 19 Jun 2015 18:41:25 GMT
2475
2475
  Server:
2476
2476
  - Apache/2
2477
2477
  Location:
@@ -2479,7 +2479,7 @@ http_interactions:
2479
2479
  Cache-Control:
2480
2480
  - max-age=21600
2481
2481
  Expires:
2482
- - Tue, 19 May 2015 02:09:22 GMT
2482
+ - Sat, 20 Jun 2015 00:41:25 GMT
2483
2483
  Content-Length:
2484
2484
  - '240'
2485
2485
  Content-Type:
@@ -2495,7 +2495,7 @@ http_interactions:
2495
2495
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
2496
2496
  </body></html>
2497
2497
  http_version:
2498
- recorded_at: Mon, 18 May 2015 20:09:22 GMT
2498
+ recorded_at: Fri, 19 Jun 2015 18:41:25 GMT
2499
2499
  - request:
2500
2500
  method: get
2501
2501
  uri: http://www.w3.org/ns/oa.jsonld
@@ -2517,7 +2517,7 @@ http_interactions:
2517
2517
  message: OK
2518
2518
  headers:
2519
2519
  Date:
2520
- - Mon, 18 May 2015 20:09:22 GMT
2520
+ - Fri, 19 Jun 2015 18:41:26 GMT
2521
2521
  Server:
2522
2522
  - Apache/2
2523
2523
  Last-Modified:
@@ -2531,7 +2531,7 @@ http_interactions:
2531
2531
  Cache-Control:
2532
2532
  - max-age=21600
2533
2533
  Expires:
2534
- - Tue, 19 May 2015 02:09:22 GMT
2534
+ - Sat, 20 Jun 2015 00:41:26 GMT
2535
2535
  P3p:
2536
2536
  - policyref="http://www.w3.org/2014/08/p3p.xml"
2537
2537
  Access-Control-Allow-Origin:
@@ -3649,7 +3649,7 @@ http_interactions:
3649
3649
 
3650
3650
 
3651
3651
  http_version:
3652
- recorded_at: Mon, 18 May 2015 20:09:24 GMT
3652
+ recorded_at: Fri, 19 Jun 2015 18:41:26 GMT
3653
3653
  - request:
3654
3654
  method: get
3655
3655
  uri: http://www.w3.org/ns/oa-context-20130208.json
@@ -3669,7 +3669,7 @@ http_interactions:
3669
3669
  message: Temporary Redirect
3670
3670
  headers:
3671
3671
  Date:
3672
- - Mon, 18 May 2015 20:09:24 GMT
3672
+ - Fri, 19 Jun 2015 18:41:26 GMT
3673
3673
  Server:
3674
3674
  - Apache/2
3675
3675
  Location:
@@ -3677,7 +3677,7 @@ http_interactions:
3677
3677
  Cache-Control:
3678
3678
  - max-age=21600
3679
3679
  Expires:
3680
- - Tue, 19 May 2015 02:09:24 GMT
3680
+ - Sat, 20 Jun 2015 00:41:26 GMT
3681
3681
  Content-Length:
3682
3682
  - '240'
3683
3683
  Content-Type:
@@ -3693,7 +3693,7 @@ http_interactions:
3693
3693
  <p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
3694
3694
  </body></html>
3695
3695
  http_version:
3696
- recorded_at: Mon, 18 May 2015 20:09:24 GMT
3696
+ recorded_at: Fri, 19 Jun 2015 18:41:26 GMT
3697
3697
  - request:
3698
3698
  method: get
3699
3699
  uri: http://www.w3.org/ns/oa.jsonld
@@ -3715,7 +3715,7 @@ http_interactions:
3715
3715
  message: OK
3716
3716
  headers:
3717
3717
  Date:
3718
- - Mon, 18 May 2015 20:09:24 GMT
3718
+ - Fri, 19 Jun 2015 18:41:26 GMT
3719
3719
  Server:
3720
3720
  - Apache/2
3721
3721
  Last-Modified:
@@ -3729,7 +3729,7 @@ http_interactions:
3729
3729
  Cache-Control:
3730
3730
  - max-age=21600
3731
3731
  Expires:
3732
- - Tue, 19 May 2015 02:09:24 GMT
3732
+ - Sat, 20 Jun 2015 00:41:26 GMT
3733
3733
  P3p:
3734
3734
  - policyref="http://www.w3.org/2014/08/p3p.xml"
3735
3735
  Access-Control-Allow-Origin:
@@ -4847,10 +4847,10 @@ http_interactions:
4847
4847
 
4848
4848
 
4849
4849
  http_version:
4850
- recorded_at: Mon, 18 May 2015 20:09:24 GMT
4850
+ recorded_at: Fri, 19 Jun 2015 18:41:27 GMT
4851
4851
  - request:
4852
4852
  method: delete
4853
- uri: http://localhost:3000/annotations/b2%2F3a%2Fa4%2Fd9%2Fb23aa4d9-9d8c-4ec1-bea2-a44454a523cf
4853
+ uri: http://localhost:3000/annotations/foo/9c%2F00%2F44%2F03%2F9c004403-4d70-4f87-af32-5e6fc51516db
4854
4854
  body:
4855
4855
  encoding: US-ASCII
4856
4856
  string: ''
@@ -4873,26 +4873,26 @@ http_interactions:
4873
4873
  X-Content-Type-Options:
4874
4874
  - nosniff
4875
4875
  Location:
4876
- - http://localhost:3000/annotations
4876
+ - http://localhost:3000/annotations?anno_root=foo
4877
4877
  Cache-Control:
4878
4878
  - no-cache
4879
4879
  X-Request-Id:
4880
- - 17c97c3c-1057-4abe-80f9-40a28f190bc7
4880
+ - 84154a37-b16c-407b-a453-4a7e4c86adff
4881
4881
  X-Runtime:
4882
- - '0.178756'
4882
+ - '0.258599'
4883
4883
  Server:
4884
4884
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
4885
4885
  Date:
4886
- - Mon, 18 May 2015 20:09:24 GMT
4886
+ - Fri, 19 Jun 2015 18:41:27 GMT
4887
4887
  Connection:
4888
4888
  - Keep-Alive
4889
4889
  Set-Cookie:
4890
- - _internal_session=Z3RBckJTVFM0WDVJWjIyUVYzTFFLbkxsU3RxSWl3cWFMS2FYTk9saFNCZXlBMlJRZnFJakNHWmkySmJ2NU41ZE54Vm1oR3FjY0pYUHk3UDB6WnZGUFJWN0xXQ2doU1FLSUhQbEtlQWhNQkoyWTJQaVZFNHdQUzk5OWV6N3RiWFNPa0h0cTV2QzN6RVkrend1dFdPRSs5NGYxSkNyUVpjUjcyeWlMdDVPbUp5cjBRSU5SOHZwbVEra3dTWVl0MHc0LS14bFh3WDVwT24yK3JrRVdWYy9VdUNnPT0%3D--93f15d2914989f1fe8076ce902f72e35e98b931d;
4890
+ - _internal_session=QmdZcUJOVmlJT0lmMDBNQkpQd205S3MzRUZxRzJJOWhwZHdxWlh6NXIySnpmSmdVNG1KQm1mL1dWTlpUODNZN1hKaDU3b1BtZUVGNDBKTU5XU2RZQWUvb240ZzJaUG1KYXpQSXE1TGplcmNiY3NuRkU3QWJ1em9TdVRRRlcxeE01MFhpdG5IMGY2aGNGcnJlSzQ1bjc4ZGp2QXBRMjFkVVZNcWNVTnBLVGROM1RmQ1QyVlhFK2F4T3NyR1c1Sk9HLS1MMTJYMnpMaTZrZk0vZDRrL1FoNnZRPT0%3D--d1ced23265c2ea2db8cd69ae0c50e51d74e3358b;
4891
4891
  path=/; HttpOnly
4892
4892
  - request_method=DELETE; path=/
4893
4893
  body:
4894
4894
  encoding: UTF-8
4895
4895
  string: ''
4896
4896
  http_version:
4897
- recorded_at: Mon, 18 May 2015 20:09:24 GMT
4897
+ recorded_at: Fri, 19 Jun 2015 18:41:27 GMT
4898
4898
  recorded_with: VCR 2.9.3