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,196 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cma9f9g4dxvs/environments/master/content_types?limit=1000
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/1.2.2
|
12
|
-
Authorization:
|
13
|
-
- Bearer 3e4560614990c9ac47343b9eea762bdaaebd845766f619660d7230787fd545e1
|
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/"d88da8bd0b663c91b528c893d220e530"
|
45
|
-
Server:
|
46
|
-
- Contentful
|
47
|
-
X-Content-Type-Options:
|
48
|
-
- nosniff
|
49
|
-
- nosniff
|
50
|
-
X-Contentful-Request-Id:
|
51
|
-
- 4bfef527dcfdfd29345093a3880ae7b7
|
52
|
-
Content-Length:
|
53
|
-
- '466'
|
54
|
-
Accept-Ranges:
|
55
|
-
- bytes
|
56
|
-
Date:
|
57
|
-
- Thu, 05 Jan 2017 20:41:38 GMT
|
58
|
-
Via:
|
59
|
-
- 1.1 varnish
|
60
|
-
Age:
|
61
|
-
- '0'
|
62
|
-
Connection:
|
63
|
-
- close
|
64
|
-
X-Served-By:
|
65
|
-
- cache-gru7122-GRU
|
66
|
-
X-Cache:
|
67
|
-
- MISS
|
68
|
-
X-Cache-Hits:
|
69
|
-
- '0'
|
70
|
-
X-Timer:
|
71
|
-
- S1483648898.163319,VS0,VE341
|
72
|
-
Vary:
|
73
|
-
- Accept-Encoding
|
74
|
-
body:
|
75
|
-
encoding: ASCII-8BIT
|
76
|
-
string: !binary |-
|
77
|
-
H4sIAAAAAAAAA+VVO2/CMBDe+RXIc0EJUFCyoaqdusHUisEkl8rCsVPbQU0R
|
78
|
-
/72288CBUIrKUtULuTvf3XcPf+x6/T6ShURhf6c/taCKDLSE5kLgAmnd/s7c
|
79
|
-
UVxhqvUjK8kNybTgWYGSlCgt+Z5XKoiC1ER8tRHLuEdpbCqZ4cjkqm+USgeM
|
80
|
-
UVhlDeqZsA0ySQ9Hp2ebZQV6YSMeXSCxqSdKcZAEb5P4YytNWfXZN9+20PKg
|
81
|
-
0keBVE60BsYDZwqYslkdp0gAVhDPTTPQyPOnA98bePdL3wv9cTgOhn4QvLgO
|
82
|
-
eRZf5yBgSyThzHS7AtugRjGRGcXFEwFqKmY5pTU4xHBqp7p0K0IxyEiQTJUR
|
83
|
-
UQMNJSbGYYSmKa0hle1JCAXZ6naTp8PUXix3RojyCFPyCQa2Ejm0jALecyKs
|
84
|
-
LcFUto26ZrymZ4xc76WeR6djvaNuWRcWbasx6nnpZtnOrL7Zw7mUoC5uWUdL
|
85
|
-
BSQggEXn+nrO/p+a+8iUsMzU8YQr7cr+Vk/jDxNQwvmN+GcS+rPhbDb9Mf90
|
86
|
-
OlzDP2iNxYFRagJyK/ot/7gJzLwb9jkx1M9jUaRrTtuU5ZLPKcHcjH0OfzPt
|
87
|
-
HdXSqrfvfQFKIERWiQcAAA==
|
88
|
-
http_version:
|
89
|
-
recorded_at: Thu, 05 Jan 2017 20:41:38 GMT
|
90
|
-
- request:
|
91
|
-
method: get
|
92
|
-
uri: https://cdn.contentful.com/spaces/cma9f9g4dxvs/environments/master/entries?content_type=test&locale=*
|
93
|
-
body:
|
94
|
-
encoding: US-ASCII
|
95
|
-
string: ''
|
96
|
-
headers:
|
97
|
-
User-Agent:
|
98
|
-
- RubyContentfulGem/1.2.2
|
99
|
-
Authorization:
|
100
|
-
- Bearer 3e4560614990c9ac47343b9eea762bdaaebd845766f619660d7230787fd545e1
|
101
|
-
Content-Type:
|
102
|
-
- application/vnd.contentful.delivery.v1+json
|
103
|
-
Accept-Encoding:
|
104
|
-
- gzip
|
105
|
-
Connection:
|
106
|
-
- close
|
107
|
-
Host:
|
108
|
-
- cdn.contentful.com
|
109
|
-
response:
|
110
|
-
status:
|
111
|
-
code: 200
|
112
|
-
message: OK
|
113
|
-
headers:
|
114
|
-
Access-Control-Allow-Headers:
|
115
|
-
- 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
|
116
|
-
Access-Control-Allow-Methods:
|
117
|
-
- GET,HEAD,OPTIONS
|
118
|
-
Access-Control-Allow-Origin:
|
119
|
-
- "*"
|
120
|
-
Access-Control-Expose-Headers:
|
121
|
-
- Etag
|
122
|
-
Access-Control-Max-Age:
|
123
|
-
- '86400'
|
124
|
-
Cache-Control:
|
125
|
-
- max-age=0
|
126
|
-
Content-Encoding:
|
127
|
-
- gzip
|
128
|
-
Content-Type:
|
129
|
-
- application/vnd.contentful.delivery.v1+json
|
130
|
-
Etag:
|
131
|
-
- W/"8edf1404b7716c31b2d3e1ee5e7bcf1d"
|
132
|
-
Server:
|
133
|
-
- Contentful
|
134
|
-
X-Content-Type-Options:
|
135
|
-
- nosniff
|
136
|
-
- nosniff
|
137
|
-
X-Contentful-Request-Id:
|
138
|
-
- cf89553cf35875de7c416bee28f1266b
|
139
|
-
Content-Length:
|
140
|
-
- '1349'
|
141
|
-
Accept-Ranges:
|
142
|
-
- bytes
|
143
|
-
Date:
|
144
|
-
- Thu, 05 Jan 2017 20:41:38 GMT
|
145
|
-
Via:
|
146
|
-
- 1.1 varnish
|
147
|
-
Age:
|
148
|
-
- '0'
|
149
|
-
Connection:
|
150
|
-
- close
|
151
|
-
X-Served-By:
|
152
|
-
- cache-gru7124-GRU
|
153
|
-
X-Cache:
|
154
|
-
- MISS
|
155
|
-
X-Cache-Hits:
|
156
|
-
- '0'
|
157
|
-
X-Timer:
|
158
|
-
- S1483648898.699738,VS0,VE290
|
159
|
-
Vary:
|
160
|
-
- Accept-Encoding
|
161
|
-
body:
|
162
|
-
encoding: ASCII-8BIT
|
163
|
-
string: !binary |-
|
164
|
-
H4sIAAAAAAAAA+1aW3PaOhB+z69g/NKXE5DkO29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|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/1sjfpsn7l90g/environments/master/content_types?limit=1000
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/1.0.0
|
12
|
-
Authorization:
|
13
|
-
- Bearer e451a3cdfced9000220be41ed9c899866e8d52aa430eaf7c35b09df8fc6326f9
|
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-Type:
|
40
|
-
- application/vnd.contentful.delivery.v1+json
|
41
|
-
Etag:
|
42
|
-
- '"a684f9ee6d6e80804ecfc6ad741f3b28"'
|
43
|
-
Server:
|
44
|
-
- Contentful
|
45
|
-
X-Content-Type-Options:
|
46
|
-
- nosniff
|
47
|
-
- nosniff
|
48
|
-
X-Contentful-Request-Id:
|
49
|
-
- eaef9f65adddf842356893d4ff94a061
|
50
|
-
Content-Length:
|
51
|
-
- '809'
|
52
|
-
Accept-Ranges:
|
53
|
-
- bytes
|
54
|
-
Date:
|
55
|
-
- Thu, 29 Sep 2016 22:12:09 GMT
|
56
|
-
Via:
|
57
|
-
- 1.1 varnish
|
58
|
-
Age:
|
59
|
-
- '3732'
|
60
|
-
Connection:
|
61
|
-
- close
|
62
|
-
X-Served-By:
|
63
|
-
- cache-gru7125-GRU
|
64
|
-
X-Cache:
|
65
|
-
- HIT
|
66
|
-
X-Cache-Hits:
|
67
|
-
- '1'
|
68
|
-
X-Timer:
|
69
|
-
- S1475187129.479343,VS0,VE0
|
70
|
-
Vary:
|
71
|
-
- Accept-Encoding
|
72
|
-
body:
|
73
|
-
encoding: ASCII-8BIT
|
74
|
-
string: |
|
75
|
-
{
|
76
|
-
"sys": {
|
77
|
-
"type": "Array"
|
78
|
-
},
|
79
|
-
"total": 1,
|
80
|
-
"skip": 0,
|
81
|
-
"limit": 1000,
|
82
|
-
"items": [
|
83
|
-
{
|
84
|
-
"sys": {
|
85
|
-
"space": {
|
86
|
-
"sys": {
|
87
|
-
"type": "Link",
|
88
|
-
"linkType": "Space",
|
89
|
-
"id": "1sjfpsn7l90g"
|
90
|
-
}
|
91
|
-
},
|
92
|
-
"id": "test",
|
93
|
-
"type": "ContentType",
|
94
|
-
"createdAt": "2016-09-29T14:46:41.071Z",
|
95
|
-
"updatedAt": "2016-09-29T14:46:41.071Z",
|
96
|
-
"revision": 1
|
97
|
-
},
|
98
|
-
"displayField": null,
|
99
|
-
"name": "Test",
|
100
|
-
"description": "",
|
101
|
-
"fields": [
|
102
|
-
{
|
103
|
-
"id": "image",
|
104
|
-
"name": "Image",
|
105
|
-
"type": "Link",
|
106
|
-
"localized": true,
|
107
|
-
"required": false,
|
108
|
-
"disabled": false,
|
109
|
-
"omitted": false,
|
110
|
-
"linkType": "Asset"
|
111
|
-
}
|
112
|
-
]
|
113
|
-
}
|
114
|
-
]
|
115
|
-
}
|
116
|
-
http_version:
|
117
|
-
recorded_at: Thu, 29 Sep 2016 22:12:09 GMT
|
118
|
-
- request:
|
119
|
-
method: get
|
120
|
-
uri: https://cdn.contentful.com/spaces/1sjfpsn7l90g/environments/master/entries?locale=*
|
121
|
-
body:
|
122
|
-
encoding: US-ASCII
|
123
|
-
string: ''
|
124
|
-
headers:
|
125
|
-
User-Agent:
|
126
|
-
- RubyContentfulGem/1.0.0
|
127
|
-
Authorization:
|
128
|
-
- Bearer e451a3cdfced9000220be41ed9c899866e8d52aa430eaf7c35b09df8fc6326f9
|
129
|
-
Content-Type:
|
130
|
-
- application/vnd.contentful.delivery.v1+json
|
131
|
-
Accept-Encoding:
|
132
|
-
- gzip
|
133
|
-
Connection:
|
134
|
-
- close
|
135
|
-
Host:
|
136
|
-
- cdn.contentful.com
|
137
|
-
response:
|
138
|
-
status:
|
139
|
-
code: 200
|
140
|
-
message: OK
|
141
|
-
headers:
|
142
|
-
Access-Control-Allow-Headers:
|
143
|
-
- 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
|
144
|
-
Access-Control-Allow-Methods:
|
145
|
-
- GET,HEAD,OPTIONS
|
146
|
-
Access-Control-Allow-Origin:
|
147
|
-
- "*"
|
148
|
-
Access-Control-Expose-Headers:
|
149
|
-
- Etag
|
150
|
-
Access-Control-Max-Age:
|
151
|
-
- '86400'
|
152
|
-
Cache-Control:
|
153
|
-
- max-age=0
|
154
|
-
Content-Encoding:
|
155
|
-
- gzip
|
156
|
-
Content-Type:
|
157
|
-
- application/vnd.contentful.delivery.v1+json
|
158
|
-
Etag:
|
159
|
-
- W/"d74db949e37697354c70ebc8d3ac5301"
|
160
|
-
Server:
|
161
|
-
- Contentful
|
162
|
-
X-Content-Type-Options:
|
163
|
-
- nosniff
|
164
|
-
- nosniff
|
165
|
-
X-Contentful-Request-Id:
|
166
|
-
- 5a58a9b54ff533c49bab5b96f4654c08
|
167
|
-
Content-Length:
|
168
|
-
- '880'
|
169
|
-
Accept-Ranges:
|
170
|
-
- bytes
|
171
|
-
Date:
|
172
|
-
- Thu, 29 Sep 2016 22:12:14 GMT
|
173
|
-
Via:
|
174
|
-
- 1.1 varnish
|
175
|
-
Age:
|
176
|
-
- '3737'
|
177
|
-
Connection:
|
178
|
-
- close
|
179
|
-
X-Served-By:
|
180
|
-
- cache-gru7120-GRU
|
181
|
-
X-Cache:
|
182
|
-
- HIT
|
183
|
-
X-Cache-Hits:
|
184
|
-
- '20'
|
185
|
-
X-Timer:
|
186
|
-
- S1475187134.558426,VS0,VE0
|
187
|
-
Vary:
|
188
|
-
- Accept-Encoding
|
189
|
-
body:
|
190
|
-
encoding: ASCII-8BIT
|
191
|
-
string: !binary |-
|
192
|
-
H4sIAAAAAAAAA+2WXW/aMBSG7/srUK4HsR0nwb1DVYWqbu06itA2VVVCHDAk
|
193
|
-
ISOhDCr++2yHgCEhoxtrVWm5gPjj2Ofj9eM8n9VqWrJItPPaM3/ljXQRU97S
|
194
|
-
WtOps9B43+qDmJNOUifg/VC2kjGLeQPIRsBCloohkLVZSkOx4He5YLbs3i5y
|
195
|
-
pyR2+mKrfEbWqfgiOmRn7tNHFo01sef24btH4/u1zx254t4E5olwYDLy4ySy
|
196
|
-
AwIGIqr8WW3eZZzZo2U2GI0vR8ubEQmv+gzRRfv2qsPulPU3jl1G6XShDvSn
|
197
|
-
1Emp1xJ50RCAVh2QOiL3EJ+bxrmJGwayv6kGs9h7mcGUPrGETaK8JmvP+5Mo
|
198
|
-
pVG6zsjpUnuhrFua4JQm6YHErvO6SbDmMxp4W80J1zUWOoOCGmhU73b2JFIi
|
199
|
-
pXXsFTKRMt0KpZUkNN0TivBBSsX6EkxG5NPVz9v5AMzR+MeF0+sgNTZ+KFQJ
|
200
|
-
qfnQ6G5cMjb1gK0lJrpP5C/qtT/H8QIHTqvXG3RZrw1Qp3Wsv8vhq+d3OR6G
|
201
|
-
0wu2vJ7dddugG369prhX4e/2iOZKkv+iBg+SQCzqBzNPybyWFThn0JZCpcUo
|
202
|
-
JVHpTFnN48tWxqONzA4RqUpcmUAPFHxHhhuMF5SuVbMJWQ1sQZVN3ONqOpWa
|
203
|
-
qHzaFlBhbAkERHJZGuxjgHfnINBcpz8eTCezyKtLYtSJZTcRqBEL1GwEdgi0
|
204
|
-
kxCfVa2rglIWeTYVt52m63KXpLHmqj8L+Guoq8XTy+uhG8SEyIYQEAqJQ7Hp
|
205
|
-
Iui6AGMXYdegff1ALI88lkceS2MUD4qM8mjqsKAIGel1wpYiecjEBjF2MS3H
|
206
|
-
yyArBuTgnHmpgAHfumjKx4eUDYbiQuMTFPxl1ioQRY9ym66XFwW4cUL5cfFH
|
207
|
-
ke9ebVks+iimO/f53ukpoiMPbVvxEjy/NyIcuLJORgQTk5cSoWjyj4iQYeCJ
|
208
|
-
0XkdQoMgYL4pDMpLoWMLuzYGDml6HAkEmCY2fdv2TMt3DBe5GWfqahin4AA0
|
209
|
-
kFk8zMdxgGOoaKpywMJ/y4Fi7aqD/o8ACdMduOZfreVfVSdDALatlyKgaPJa
|
210
|
-
CMBvi4DSUuhO0ycAmMQ1Xd+zELAJbELso75BPd9xcBEBuPo0HPMpAA3YtN4V
|
211
|
-
An4T9GkQIL8LHvjv6mx19gvB1oxYBREAAA==
|
212
|
-
http_version:
|
213
|
-
recorded_at: Thu, 29 Sep 2016 22:12:14 GMT
|
214
|
-
recorded_with: VCR 3.0.3
|
@@ -1,76 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/content_types/not%20found
|
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: 404
|
25
|
-
message: Not Found
|
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-Type:
|
40
|
-
- application/vnd.contentful.delivery.v1+json
|
41
|
-
Server:
|
42
|
-
- Contentful
|
43
|
-
X-Contentful-Request-Id:
|
44
|
-
- 77047700ec63ba7bdf3b4f3b66770004
|
45
|
-
Content-Length:
|
46
|
-
- '150'
|
47
|
-
Accept-Ranges:
|
48
|
-
- bytes
|
49
|
-
Date:
|
50
|
-
- Tue, 20 Dec 2016 15:32:25 GMT
|
51
|
-
Via:
|
52
|
-
- 1.1 varnish
|
53
|
-
Connection:
|
54
|
-
- close
|
55
|
-
X-Served-By:
|
56
|
-
- cache-fra1234-FRA
|
57
|
-
X-Cache:
|
58
|
-
- MISS
|
59
|
-
X-Cache-Hits:
|
60
|
-
- '0'
|
61
|
-
X-Timer:
|
62
|
-
- S1482247945.558499,VS0,VE107
|
63
|
-
body:
|
64
|
-
encoding: ASCII-8BIT
|
65
|
-
string: |
|
66
|
-
{
|
67
|
-
"sys": {
|
68
|
-
"type": "Error",
|
69
|
-
"id": "NotFound"
|
70
|
-
},
|
71
|
-
"message": "Invalid resource id",
|
72
|
-
"requestId": "77047700ec63ba7bdf3b4f3b66770004"
|
73
|
-
}
|
74
|
-
http_version:
|
75
|
-
recorded_at: Tue, 20 Dec 2016 15:32:24 GMT
|
76
|
-
recorded_with: VCR 3.0.3
|