contentful 2.16.0 → 2.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/contentful/version.rb +1 -1
- metadata +3 -370
- data/.gitignore +0 -7
- data/.rspec +0 -1
- data/.rubocop.yml +0 -31
- data/.rubocop_todo.yml +0 -35
- data/.travis.yml +0 -15
- data/.yardopts +0 -4
- data/Gemfile +0 -9
- data/Guardfile +0 -24
- data/RELEASE.md +0 -8
- data/Rakefile +0 -33
- data/contentful.gemspec +0 -44
- data/examples/custom_classes.rb +0 -39
- data/examples/example_queries.rb +0 -26
- data/examples/raise_errors.rb +0 -20
- data/examples/raw_mode.rb +0 -14
- data/spec/array_spec.rb +0 -187
- data/spec/asset_spec.rb +0 -220
- data/spec/auto_includes_spec.rb +0 -12
- data/spec/client_class_spec.rb +0 -86
- data/spec/client_configuration_spec.rb +0 -394
- data/spec/content_type_spec.rb +0 -49
- data/spec/deleted_asset_spec.rb +0 -38
- data/spec/deleted_entry_spec.rb +0 -38
- data/spec/entry_spec.rb +0 -815
- data/spec/error_class_spec.rb +0 -327
- data/spec/error_requests_spec.rb +0 -87
- data/spec/field_spec.rb +0 -95
- data/spec/file_spec.rb +0 -33
- data/spec/fixtures/json_responses/400_details_errors_object.json +0 -14
- data/spec/fixtures/json_responses/400_details_errors_string.json +0 -12
- data/spec/fixtures/json_responses/400_details_string.json +0 -8
- data/spec/fixtures/json_responses/403_reasons.json +0 -13
- data/spec/fixtures/json_responses/404_details_string.json +0 -8
- data/spec/fixtures/json_responses/404_id.json +0 -11
- data/spec/fixtures/json_responses/404_sys_type.json +0 -12
- data/spec/fixtures/json_responses/404_type.json +0 -10
- data/spec/fixtures/json_responses/content_type.json +0 -83
- data/spec/fixtures/json_responses/default_400.json +0 -7
- data/spec/fixtures/json_responses/default_401.json +0 -7
- data/spec/fixtures/json_responses/default_403.json +0 -7
- data/spec/fixtures/json_responses/default_404.json +0 -7
- data/spec/fixtures/json_responses/default_429.json +0 -7
- data/spec/fixtures/json_responses/default_500.json +0 -7
- data/spec/fixtures/json_responses/default_502.json +0 -7
- data/spec/fixtures/json_responses/default_503.json +0 -7
- data/spec/fixtures/json_responses/includes.json +0 -111
- data/spec/fixtures/json_responses/link_array.json +0 -43
- data/spec/fixtures/json_responses/not_found.json +0 -13
- data/spec/fixtures/json_responses/nyancat.json +0 -48
- data/spec/fixtures/json_responses/other_error.json +0 -9
- data/spec/fixtures/json_responses/other_error_no_details.json +0 -8
- data/spec/fixtures/json_responses/other_error_no_message.json +0 -8
- data/spec/fixtures/json_responses/other_error_no_request_id.json +0 -8
- data/spec/fixtures/json_responses/other_error_nothing.json +0 -6
- data/spec/fixtures/json_responses/self_link.json +0 -82
- data/spec/fixtures/json_responses/unparsable.json +0 -13
- data/spec/fixtures/vcr_cassettes/array.yml +0 -288
- data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
- data/spec/fixtures/vcr_cassettes/array/marshal_unpublished.yml +0 -315
- data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
- data/spec/fixtures/vcr_cassettes/arrayField.yml +0 -87
- data/spec/fixtures/vcr_cassettes/array_page_1.yml +0 -106
- data/spec/fixtures/vcr_cassettes/array_page_2.yml +0 -73
- data/spec/fixtures/vcr_cassettes/asset.yml +0 -96
- data/spec/fixtures/vcr_cassettes/asset/select_empty_array.yml +0 -104
- data/spec/fixtures/vcr_cassettes/asset/select_no_sys.yml +0 -119
- data/spec/fixtures/vcr_cassettes/asset/select_one_field.yml +0 -97
- data/spec/fixtures/vcr_cassettes/asset/select_only_sys.yml +0 -88
- data/spec/fixtures/vcr_cassettes/asset/with_tags.yml +0 -138
- data/spec/fixtures/vcr_cassettes/assets/issues_129.yml +0 -90
- data/spec/fixtures/vcr_cassettes/assets/issues_jekyll_46.yml +0 -115
- data/spec/fixtures/vcr_cassettes/bad_request.yml +0 -76
- data/spec/fixtures/vcr_cassettes/content_type.yml +0 -147
- data/spec/fixtures/vcr_cassettes/entries.yml +0 -561
- data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +0 -246
- data/spec/fixtures/vcr_cassettes/entries/issue_117.yml +0 -201
- data/spec/fixtures/vcr_cassettes/entries/issue_125.yml +0 -198
- data/spec/fixtures/vcr_cassettes/entries/rich_text.yml +0 -1707
- data/spec/fixtures/vcr_cassettes/entries/rich_text_hydration_issue.yml +0 -460
- data/spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml +0 -653
- data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +0 -983
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_assets.yml +0 -89
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml +0 -159
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml +0 -167
- data/spec/fixtures/vcr_cassettes/entry.yml +0 -102
- data/spec/fixtures/vcr_cassettes/entry/custom_resource.yml +0 -168
- data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +0 -101
- data/spec/fixtures/vcr_cassettes/entry/include_resolution_uniques.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/json_objects.yml +0 -88
- data/spec/fixtures/vcr_cassettes/entry/json_objects_client.yml +0 -86
- data/spec/fixtures/vcr_cassettes/entry/marshal_138.yml +0 -159
- data/spec/fixtures/vcr_cassettes/entry/marshal_unpublished.yml +0 -303
- data/spec/fixtures/vcr_cassettes/entry/marshall.yml +0 -293
- data/spec/fixtures/vcr_cassettes/entry/raw.yml +0 -201
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_asset.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry_with_custom_query.yml +0 -115
- data/spec/fixtures/vcr_cassettes/entry/select_empty_array.yml +0 -111
- data/spec/fixtures/vcr_cassettes/entry/select_no_sys.yml +0 -102
- data/spec/fixtures/vcr_cassettes/entry/select_one_field.yml +0 -76
- data/spec/fixtures/vcr_cassettes/entry/select_one_field_proper.yml +0 -114
- data/spec/fixtures/vcr_cassettes/entry/select_only_sys.yml +0 -111
- data/spec/fixtures/vcr_cassettes/entry/with_tags.yml +0 -238
- data/spec/fixtures/vcr_cassettes/entry_cache.yml +0 -288
- data/spec/fixtures/vcr_cassettes/entry_locales.yml +0 -104
- data/spec/fixtures/vcr_cassettes/field.yml +0 -147
- data/spec/fixtures/vcr_cassettes/human.yml +0 -118
- data/spec/fixtures/vcr_cassettes/linkField.yml +0 -83
- data/spec/fixtures/vcr_cassettes/locale.yml +0 -83
- data/spec/fixtures/vcr_cassettes/locale_from_environment.yml +0 -121
- data/spec/fixtures/vcr_cassettes/location.yml +0 -193
- data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +0 -196
- data/spec/fixtures/vcr_cassettes/multi_locale_reference.yml +0 -214
- data/spec/fixtures/vcr_cassettes/not_found.yml +0 -76
- data/spec/fixtures/vcr_cassettes/nyancat.yml +0 -102
- data/spec/fixtures/vcr_cassettes/query_array_1.yml +0 -89
- data/spec/fixtures/vcr_cassettes/query_array_2.yml +0 -89
- data/spec/fixtures/vcr_cassettes/ratelimit.yml +0 -64
- data/spec/fixtures/vcr_cassettes/ratelimit_retry.yml +0 -294
- data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +0 -102
- data/spec/fixtures/vcr_cassettes/space.yml +0 -83
- data/spec/fixtures/vcr_cassettes/sync_deleted_asset.yml +0 -174
- data/spec/fixtures/vcr_cassettes/sync_deleted_entry.yml +0 -89
- data/spec/fixtures/vcr_cassettes/sync_deletion.yml +0 -191
- data/spec/fixtures/vcr_cassettes/sync_environment.yml +0 -81
- data/spec/fixtures/vcr_cassettes/sync_page.yml +0 -637
- data/spec/fixtures/vcr_cassettes/sync_page_2.yml +0 -71
- data/spec/fixtures/vcr_cassettes/sync_page_short.yml +0 -106
- data/spec/fixtures/vcr_cassettes/unauthorized.yml +0 -64
- data/spec/fixtures/vcr_cassettes/unavailable.yml +0 -76
- data/spec/link_spec.rb +0 -50
- data/spec/locale_spec.rb +0 -37
- data/spec/location_spec.rb +0 -25
- data/spec/request_spec.rb +0 -57
- data/spec/resource_building_spec.rb +0 -31
- data/spec/response_spec.rb +0 -62
- data/spec/space_spec.rb +0 -31
- data/spec/spec_helper.rb +0 -14
- data/spec/support/client.rb +0 -6
- data/spec/support/json_responses.rb +0 -18
- data/spec/support/vcr.rb +0 -16
- data/spec/sync_page_spec.rb +0 -103
- data/spec/sync_spec.rb +0 -180
@@ -1,102 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?sys.id=nyancat
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/1.2.0
|
12
|
-
Authorization:
|
13
|
-
- Bearer b4c0n73n7fu1
|
14
|
-
Content-Type:
|
15
|
-
- application/vnd.contentful.delivery.v1+json
|
16
|
-
Accept-Encoding:
|
17
|
-
- gzip
|
18
|
-
Connection:
|
19
|
-
- close
|
20
|
-
Host:
|
21
|
-
- cdn.contentful.com
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Access-Control-Allow-Headers:
|
28
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent
|
29
|
-
Access-Control-Allow-Methods:
|
30
|
-
- GET,HEAD,OPTIONS
|
31
|
-
Access-Control-Allow-Origin:
|
32
|
-
- "*"
|
33
|
-
Access-Control-Expose-Headers:
|
34
|
-
- Etag
|
35
|
-
Access-Control-Max-Age:
|
36
|
-
- '86400'
|
37
|
-
Cache-Control:
|
38
|
-
- max-age=0
|
39
|
-
Content-Encoding:
|
40
|
-
- gzip
|
41
|
-
Content-Type:
|
42
|
-
- application/vnd.contentful.delivery.v1+json
|
43
|
-
Etag:
|
44
|
-
- W/"9707115047cc402819250f844939b2aa"
|
45
|
-
Server:
|
46
|
-
- Contentful
|
47
|
-
X-Content-Type-Options:
|
48
|
-
- nosniff
|
49
|
-
- nosniff
|
50
|
-
X-Contentful-Request-Id:
|
51
|
-
- 5d8c70a35f32dff1f29bff44068b19df
|
52
|
-
Content-Length:
|
53
|
-
- '1034'
|
54
|
-
Accept-Ranges:
|
55
|
-
- bytes
|
56
|
-
Date:
|
57
|
-
- Tue, 20 Dec 2016 16:08:26 GMT
|
58
|
-
Via:
|
59
|
-
- 1.1 varnish
|
60
|
-
Age:
|
61
|
-
- '2613'
|
62
|
-
Connection:
|
63
|
-
- close
|
64
|
-
X-Served-By:
|
65
|
-
- cache-fra1246-FRA
|
66
|
-
X-Cache:
|
67
|
-
- HIT
|
68
|
-
X-Cache-Hits:
|
69
|
-
- '1'
|
70
|
-
X-Timer:
|
71
|
-
- S1482250106.761069,VS0,VE0
|
72
|
-
Vary:
|
73
|
-
- Accept-Encoding
|
74
|
-
body:
|
75
|
-
encoding: ASCII-8BIT
|
76
|
-
string: !binary |-
|
77
|
-
H4sIAAAAAAAAA+VX227jNhB9z1cEet1a4kX3NyNo0QDtokC8KJCiCGiJthlL
|
78
|
-
sirRm/Uu8u8lqYtJXZxF1m8rBI5EcsiZwzmHw283t7dWfaqt+PabeBUf/FRS
|
79
|
-
8WUtq4qcLNH2+oscww+cZKIdqq96z0rxAdRHxnLGZRdovhmnuZzwHzVhM+1g
|
80
|
-
FbVSXZJELtWNaBo1X2SDaux8+oMVe0uueX7E6sV+1fr8oGYcDGCpDCfZ0C8k
|
81
|
-
LzNKSiaj6p7X/l3F2TxWY1OcSJEQrk3Ye/JrwauT3pFUlHCaLiUQFgIQL4C/
|
82
|
-
QMEKodj1YxjZHsSPusGxTIcG0QK4KxCJ0TGObIACw6Cin1nNDoVYwNNcTQ4F
|
83
|
-
pwVvIbgelnfavNOICmTeBDI7JCRT+USLxaeHzqDH2towmqXn9JP4WwXJlclH
|
84
|
-
gf/tnbkBGdvTc3K121URVqwPL7Wx9WLqenf28F8Ds+xQyRVaQ31f1rTmv1WM
|
85
|
-
FjJtrgfnMGFUoE2a7UhZnmSevYnmmlV8lwpaNjkGRb7IlBE5BoD4+6B+9WAy
|
86
|
-
9lmhBTEO9PTOyfa6zFvWNdWJooXXsWg6ura1oaH8VftksSLJjqnyvdWlBsBO
|
87
|
-
Vc66MqEsM9oyOVI5ekFfRO9bCtNv5JzGCA3Vg9fZNEwBo69za5w71mW5QcCG
|
88
|
-
AdTVQ/g4FhwIFzBcQS/2whggG8BwYKJJTmh4Ni861wB5XnrOUJt0uYTwjAS1
|
89
|
-
B1urIBMyJNbqhOh3ydCBEqnEGGuRaE52lH5dH6strXRKawIkBx1aCdrKY9YA
|
90
|
-
d1aBroHtOJcuU/USsqYcAbyAYIHCFcIzcqQgawXJJMGEHl0j2ClV6lNoSnYH
|
91
|
-
0fas7fjb/G930mqm/yklaYzslCSJggatoBt7foxdG/lGQSM2YixJoDHxYghj
|
92
|
-
5NrYH6qYJknIyKEfoDlnvKlRZni+YapbLwak85Wshy3HYTJ7a7vVxM0xE6+5
|
93
|
-
ox8GDv7z8a/i+XF1X++X9/f74/FQ39W1g0NE3DDdEJSsoZ+4ARFvAdoEa4TX
|
94
|
-
GxA5XY6+2M/l1lAJ4UBKOWGZWTu1clazr9JjL4pwpKPUcH2SbarrhaV8JwxR
|
95
|
-
gIdmondH2XYnC1wcBdqBJi31A85QVjWtBPBjW9RdDMk8VyyFrPNc0u1MbdRV
|
96
|
-
D52z5y0yLjUdKhMXjmvIzNS1o5eZ9xcF4+uHmLS/no0Kru8goAverAlaAvac
|
97
|
-
HZloBFR3we6xrkHAiYq/TZ8f45+7LX1Oli9/u3f5w/aY/4fo/lPuRCkBSQoj
|
98
|
-
7IcBXIdpgLCLaRh5BIDUh9CR/jyJ0vwJeaD88rSpRBLbZfEOKkI0wakmwUeh
|
99
|
-
Kc70VPTUrdp8zlQUjr2bit8b3SQrJQp6VTt3Vor215vXm/8BI5JeymkQAAA=
|
100
|
-
http_version:
|
101
|
-
recorded_at: Tue, 20 Dec 2016 16:08:26 GMT
|
102
|
-
recorded_with: VCR 3.0.3
|
@@ -1,83 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/0.1.1
|
12
|
-
Authorization:
|
13
|
-
- Bearer b4c0n73n7fu1
|
14
|
-
Content-Type:
|
15
|
-
- application/vnd.contentful.delivery.v1+json
|
16
|
-
Host:
|
17
|
-
- cdn.contentful.com
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Date:
|
24
|
-
- Wed, 16 Apr 2014 09:00:24 GMT
|
25
|
-
Server:
|
26
|
-
- nginx/1.1.19
|
27
|
-
Access-Control-Allow-Headers:
|
28
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization
|
29
|
-
Access-Control-Allow-Methods:
|
30
|
-
- GET,HEAD,OPTIONS
|
31
|
-
Access-Control-Allow-Origin:
|
32
|
-
- "*"
|
33
|
-
Access-Control-Max-Age:
|
34
|
-
- '86400'
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0
|
37
|
-
Content-Type:
|
38
|
-
- application/vnd.contentful.delivery.v1+json
|
39
|
-
Etag:
|
40
|
-
- "\"14a17843cf0cf8b116801f96c1c6fe23\""
|
41
|
-
X-Contentful-Request-Id:
|
42
|
-
- 71a-635716491
|
43
|
-
Content-Length:
|
44
|
-
- '285'
|
45
|
-
Accept-Ranges:
|
46
|
-
- bytes
|
47
|
-
Via:
|
48
|
-
- 1.1 varnish
|
49
|
-
Age:
|
50
|
-
- '2003'
|
51
|
-
X-Served-By:
|
52
|
-
- cache-fra1233-FRA
|
53
|
-
X-Cache:
|
54
|
-
- HIT
|
55
|
-
X-Cache-Hits:
|
56
|
-
- '1'
|
57
|
-
Vary:
|
58
|
-
- Accept-Encoding
|
59
|
-
body:
|
60
|
-
encoding: UTF-8
|
61
|
-
string: |
|
62
|
-
{
|
63
|
-
"sys": {
|
64
|
-
"type": "Space",
|
65
|
-
"id": "cfexampleapi"
|
66
|
-
},
|
67
|
-
"name": "Contentful Example API",
|
68
|
-
"locales": [
|
69
|
-
{
|
70
|
-
"code": "en-US",
|
71
|
-
"default": true,
|
72
|
-
"name": "English"
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"code": "tlh",
|
76
|
-
"default": false,
|
77
|
-
"name": "Klingon"
|
78
|
-
}
|
79
|
-
]
|
80
|
-
}
|
81
|
-
http_version:
|
82
|
-
recorded_at: Wed, 16 Apr 2014 09:00:24 GMT
|
83
|
-
recorded_with: VCR 2.9.0
|
@@ -1,174 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?initial=true&type=DeletedAsset
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/0.1.3
|
12
|
-
Authorization:
|
13
|
-
- Bearer b4c0n73n7fu1
|
14
|
-
Content-Type:
|
15
|
-
- application/vnd.contentful.delivery.v1+json
|
16
|
-
Host:
|
17
|
-
- cdn.contentful.com
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Date:
|
24
|
-
- Mon, 28 Apr 2014 17:19:53 GMT
|
25
|
-
Server:
|
26
|
-
- nginx/1.1.19
|
27
|
-
Access-Control-Allow-Headers:
|
28
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization
|
29
|
-
Access-Control-Allow-Methods:
|
30
|
-
- GET,HEAD,OPTIONS
|
31
|
-
Access-Control-Allow-Origin:
|
32
|
-
- "*"
|
33
|
-
Access-Control-Max-Age:
|
34
|
-
- '86400'
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0
|
37
|
-
Content-Type:
|
38
|
-
- application/vnd.contentful.delivery.v1+json
|
39
|
-
Etag:
|
40
|
-
- '"df9f76f479ba20a61123c025da9126f9"'
|
41
|
-
X-Contentful-Request-Id:
|
42
|
-
- 71a-635793528
|
43
|
-
Content-Length:
|
44
|
-
- '2870'
|
45
|
-
Accept-Ranges:
|
46
|
-
- bytes
|
47
|
-
Via:
|
48
|
-
- 1.1 varnish
|
49
|
-
Age:
|
50
|
-
- '0'
|
51
|
-
X-Served-By:
|
52
|
-
- cache-fra1222-FRA
|
53
|
-
X-Cache:
|
54
|
-
- MISS
|
55
|
-
X-Cache-Hits:
|
56
|
-
- '0'
|
57
|
-
Vary:
|
58
|
-
- Accept-Encoding
|
59
|
-
body:
|
60
|
-
encoding: UTF-8
|
61
|
-
string: |
|
62
|
-
{
|
63
|
-
"sys": {
|
64
|
-
"type": "Array"
|
65
|
-
},
|
66
|
-
"items": [
|
67
|
-
{
|
68
|
-
"sys": {
|
69
|
-
"type": "DeletedAsset",
|
70
|
-
"id": "5c6VY0gWg0gwaIeYkUUiqG",
|
71
|
-
"space": {
|
72
|
-
"sys": {
|
73
|
-
"type": "Link",
|
74
|
-
"linkType": "Space",
|
75
|
-
"id": "cfexampleapi"
|
76
|
-
}
|
77
|
-
},
|
78
|
-
"revision": 1,
|
79
|
-
"createdAt": "2013-09-09T16:17:12.600Z",
|
80
|
-
"updatedAt": "2013-09-09T16:17:12.600Z",
|
81
|
-
"deletedAt": "2013-09-09T16:17:12.600Z"
|
82
|
-
}
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"sys": {
|
86
|
-
"type": "DeletedAsset",
|
87
|
-
"id": "finn",
|
88
|
-
"space": {
|
89
|
-
"sys": {
|
90
|
-
"type": "Link",
|
91
|
-
"linkType": "Space",
|
92
|
-
"id": "cfexampleapi"
|
93
|
-
}
|
94
|
-
},
|
95
|
-
"revision": 1,
|
96
|
-
"createdAt": "2013-09-02T15:10:33.749Z",
|
97
|
-
"updatedAt": "2013-09-02T15:10:33.749Z",
|
98
|
-
"deletedAt": "2013-09-02T15:10:33.749Z"
|
99
|
-
}
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"sys": {
|
103
|
-
"type": "DeletedAsset",
|
104
|
-
"id": "3MZPnjZTIskAIIkuuosCss",
|
105
|
-
"space": {
|
106
|
-
"sys": {
|
107
|
-
"type": "Link",
|
108
|
-
"linkType": "Space",
|
109
|
-
"id": "cfexampleapi"
|
110
|
-
}
|
111
|
-
},
|
112
|
-
"revision": 1,
|
113
|
-
"createdAt": "2013-09-02T14:55:34.645Z",
|
114
|
-
"updatedAt": "2013-09-02T14:55:34.645Z",
|
115
|
-
"deletedAt": "2013-09-02T14:55:34.645Z"
|
116
|
-
}
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"sys": {
|
120
|
-
"type": "DeletedAsset",
|
121
|
-
"id": "4gp6taAwW4CmSgumq2ekUm",
|
122
|
-
"space": {
|
123
|
-
"sys": {
|
124
|
-
"type": "Link",
|
125
|
-
"linkType": "Space",
|
126
|
-
"id": "cfexampleapi"
|
127
|
-
}
|
128
|
-
},
|
129
|
-
"revision": 2,
|
130
|
-
"createdAt": "2013-09-02T14:55:34.623Z",
|
131
|
-
"updatedAt": "2013-09-02T14:55:34.623Z",
|
132
|
-
"deletedAt": "2013-09-02T14:55:34.623Z"
|
133
|
-
}
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"sys": {
|
137
|
-
"type": "DeletedAsset",
|
138
|
-
"id": "1uf1qqyZuEuiwmigoUYkeu",
|
139
|
-
"space": {
|
140
|
-
"sys": {
|
141
|
-
"type": "Link",
|
142
|
-
"linkType": "Space",
|
143
|
-
"id": "cfexampleapi"
|
144
|
-
}
|
145
|
-
},
|
146
|
-
"revision": 1,
|
147
|
-
"createdAt": "2013-09-02T14:55:34.323Z",
|
148
|
-
"updatedAt": "2013-09-02T14:55:34.323Z",
|
149
|
-
"deletedAt": "2013-09-02T14:55:34.323Z"
|
150
|
-
}
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"sys": {
|
154
|
-
"type": "DeletedAsset",
|
155
|
-
"id": "4hlteQAXS8iS0YCMU6QMWg",
|
156
|
-
"space": {
|
157
|
-
"sys": {
|
158
|
-
"type": "Link",
|
159
|
-
"linkType": "Space",
|
160
|
-
"id": "cfexampleapi"
|
161
|
-
}
|
162
|
-
},
|
163
|
-
"revision": 1,
|
164
|
-
"createdAt": "2013-09-02T14:55:34.282Z",
|
165
|
-
"updatedAt": "2013-09-02T14:55:34.282Z",
|
166
|
-
"deletedAt": "2013-09-02T14:55:34.282Z"
|
167
|
-
}
|
168
|
-
}
|
169
|
-
],
|
170
|
-
"nextSyncUrl": "https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?sync_token=w5ZGw6JFwqZmVcKsE8Kow4grw45QdybDscOqw6vDvUcbEzolwqs8UsKNIsOuwozDjFbChi4dLE_DgRYLwpcDw7fCl8KWw4DCgMKDHWZ9IsKSwrd7PCPDnjjCuUNZUMK-wqHCuQkFaTHDtcKBw6ESVMKBB8OY"
|
171
|
-
}
|
172
|
-
http_version:
|
173
|
-
recorded_at: Mon, 28 Apr 2014 17:19:54 GMT
|
174
|
-
recorded_with: VCR 2.9.0
|
@@ -1,89 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?initial=true&type=DeletedEntry
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/0.1.3
|
12
|
-
Authorization:
|
13
|
-
- Bearer b4c0n73n7fu1
|
14
|
-
Content-Type:
|
15
|
-
- application/vnd.contentful.delivery.v1+json
|
16
|
-
Host:
|
17
|
-
- cdn.contentful.com
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Date:
|
24
|
-
- Mon, 28 Apr 2014 20:05:35 GMT
|
25
|
-
Server:
|
26
|
-
- nginx/1.1.19
|
27
|
-
Access-Control-Allow-Headers:
|
28
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization
|
29
|
-
Access-Control-Allow-Methods:
|
30
|
-
- GET,HEAD,OPTIONS
|
31
|
-
Access-Control-Allow-Origin:
|
32
|
-
- "*"
|
33
|
-
Access-Control-Max-Age:
|
34
|
-
- '86400'
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0
|
37
|
-
Content-Type:
|
38
|
-
- application/vnd.contentful.delivery.v1+json
|
39
|
-
Etag:
|
40
|
-
- '"607d9bfac89f4ae4dadf0bb320de2058"'
|
41
|
-
X-Contentful-Request-Id:
|
42
|
-
- 85f-650106849
|
43
|
-
Content-Length:
|
44
|
-
- '233'
|
45
|
-
Accept-Ranges:
|
46
|
-
- bytes
|
47
|
-
Via:
|
48
|
-
- 1.1 varnish
|
49
|
-
Age:
|
50
|
-
- '9941'
|
51
|
-
X-Served-By:
|
52
|
-
- cache-fra1220-FRA
|
53
|
-
X-Cache:
|
54
|
-
- HIT
|
55
|
-
X-Cache-Hits:
|
56
|
-
- '1'
|
57
|
-
Vary:
|
58
|
-
- Accept-Encoding
|
59
|
-
body:
|
60
|
-
encoding: UTF-8
|
61
|
-
string: |
|
62
|
-
{
|
63
|
-
"sys": {
|
64
|
-
"type": "Array"
|
65
|
-
},
|
66
|
-
"items": [
|
67
|
-
{
|
68
|
-
"sys": {
|
69
|
-
"type": "DeletedEntry",
|
70
|
-
"id": "CVebBDcQsSsu6yKKIayy",
|
71
|
-
"space": {
|
72
|
-
"sys": {
|
73
|
-
"type": "Link",
|
74
|
-
"linkType": "Space",
|
75
|
-
"id": "cfexampleapi"
|
76
|
-
}
|
77
|
-
},
|
78
|
-
"revision": 1,
|
79
|
-
"createdAt": "2013-06-23T19:21:38.254Z",
|
80
|
-
"updatedAt": "2013-06-23T19:21:38.254Z",
|
81
|
-
"deletedAt": "2013-06-23T19:21:38.254Z"
|
82
|
-
}
|
83
|
-
}
|
84
|
-
],
|
85
|
-
"nextSyncUrl": "https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?sync_token=wonDrcKnRgcSOF4-wrDCgcKefWzCgsOxwpIjw6fCr8OKUUphKXnCrE1xw7EXSgzDhcKIXMKfw4XDnAZGw5E7wqAkw6sIwpg"
|
86
|
-
}
|
87
|
-
http_version:
|
88
|
-
recorded_at: Mon, 28 Apr 2014 20:05:35 GMT
|
89
|
-
recorded_with: VCR 2.9.0
|