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 15:24:54 GMT
|
58
|
-
Via:
|
59
|
-
- 1.1 varnish
|
60
|
-
Age:
|
61
|
-
- '0'
|
62
|
-
Connection:
|
63
|
-
- close
|
64
|
-
X-Served-By:
|
65
|
-
- cache-fra1248-FRA
|
66
|
-
X-Cache:
|
67
|
-
- MISS
|
68
|
-
X-Cache-Hits:
|
69
|
-
- '0'
|
70
|
-
X-Timer:
|
71
|
-
- S1482247493.638006,VS0,VE388
|
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
|
-
LzNKSiaj6p7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laAvac
|
97
|
-
HZloBFR3we6xrkHAiYq/TZ8f45+7LX1Oli9/u3f5w/aY/4fo/lPuRCkBSQoj
|
98
|
-
7IcBXIdpgLCLaRh5BIDUh9CR/jyJ0vwJeaD88rSpRBLbZfEOKkI0wakmwUeh
|
99
|
-
Kc70VPTUrdp8zlQUjr2bit8b3SQrJQp6VTt3Vor215vXm/8BI5JeymkQAAA=
|
100
|
-
http_version:
|
101
|
-
recorded_at: Tue, 20 Dec 2016 15:24:53 GMT
|
102
|
-
recorded_with: VCR 3.0.3
|
@@ -1,89 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?content_type=cat&limit=1
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
X-Contentful-User-Agent:
|
11
|
-
- sdk contentful.rb/2.14.0; platform ruby/2.6.3; os macOS/18;
|
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
|
-
User-Agent:
|
23
|
-
- http.rb/4.1.1
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 200
|
27
|
-
message: OK
|
28
|
-
headers:
|
29
|
-
Connection:
|
30
|
-
- close
|
31
|
-
Content-Length:
|
32
|
-
- '1083'
|
33
|
-
Access-Control-Allow-Headers:
|
34
|
-
- 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,X-Contentful-Enable-Alpha-Feature
|
35
|
-
Access-Control-Allow-Methods:
|
36
|
-
- GET,HEAD,OPTIONS
|
37
|
-
Access-Control-Allow-Origin:
|
38
|
-
- "*"
|
39
|
-
Access-Control-Expose-Headers:
|
40
|
-
- Etag
|
41
|
-
Access-Control-Max-Age:
|
42
|
-
- '86400'
|
43
|
-
Cf-Environment-Id:
|
44
|
-
- master
|
45
|
-
Cf-Environment-Uuid:
|
46
|
-
- b0e55a5c-6ee0-4c81-b32a-3bd22a568e43
|
47
|
-
Cf-Organization-Id:
|
48
|
-
- 7BLDDu2FYCNoN4QIWys1BR
|
49
|
-
Cf-Space-Id:
|
50
|
-
- cfexampleapi
|
51
|
-
Content-Encoding:
|
52
|
-
- gzip
|
53
|
-
Content-Type:
|
54
|
-
- application/vnd.contentful.delivery.v1+json
|
55
|
-
Contentful-Api:
|
56
|
-
- cda_cached
|
57
|
-
Etag:
|
58
|
-
- W/"10877546587147223532"
|
59
|
-
Server:
|
60
|
-
- Contentful
|
61
|
-
X-Content-Type-Options:
|
62
|
-
- nosniff
|
63
|
-
X-Contentful-Region:
|
64
|
-
- us-east-1
|
65
|
-
Accept-Ranges:
|
66
|
-
- bytes
|
67
|
-
Date:
|
68
|
-
- Fri, 15 Nov 2019 09:46:36 GMT
|
69
|
-
Via:
|
70
|
-
- 1.1 varnish
|
71
|
-
Age:
|
72
|
-
- '0'
|
73
|
-
X-Served-By:
|
74
|
-
- cache-bma1646-BMA
|
75
|
-
X-Cache:
|
76
|
-
- MISS
|
77
|
-
X-Cache-Hits:
|
78
|
-
- '0'
|
79
|
-
Vary:
|
80
|
-
- Accept-Encoding
|
81
|
-
X-Contentful-Request-Id:
|
82
|
-
- 1cdde516-8e6a-465f-bdb1-efe27b1dfb07
|
83
|
-
body:
|
84
|
-
encoding: ASCII-8BIT
|
85
|
-
string: !binary |-
|
86
|
-
H4sIAAAAA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VtWX7CDt+nGAUreA8cjzM7zyUeCtkrxIQWF3IvJrP5XoMxZgwTNNhZdoiuaZfhMJuENiB6qQGTlo0yKFXGrMNF0SePOUNL2ND6Hojzh524I1G1ZJi8HaQ0wr/fWxL5pMmDd+NhnSs9VyS9UQt2tVrnbKHHRocaRs7tAfOazBRd+zsmfgflWHvwoUDLirDVMIcify4uFAOHXx3roELfW3z3bRw1uWc4cXrn85d9rDeZf8gsv2UWUGMQRTDwJ77Hlz5sYdsxyZ+4GIA4jmEllDniR/cnpALys9PScVTzizzd4ADIg0BmnQ84uAQHK78R2gKHFyxd4PjUuu0DBFeUE89U3UI73+7ebv5BiVHfZkVEwAA
|
87
|
-
http_version:
|
88
|
-
recorded_at: Fri, 15 Nov 2019 09:46:36 GMT
|
89
|
-
recorded_with: VCR 5.0.0
|
@@ -1,89 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?content_type=cat&limit=1&skip=1
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
X-Contentful-User-Agent:
|
11
|
-
- sdk contentful.rb/2.14.0; platform ruby/2.6.3; os macOS/18;
|
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
|
-
User-Agent:
|
23
|
-
- http.rb/4.1.1
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 200
|
27
|
-
message: OK
|
28
|
-
headers:
|
29
|
-
Connection:
|
30
|
-
- close
|
31
|
-
Content-Length:
|
32
|
-
- '400'
|
33
|
-
Access-Control-Allow-Headers:
|
34
|
-
- 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,X-Contentful-Enable-Alpha-Feature
|
35
|
-
Access-Control-Allow-Methods:
|
36
|
-
- GET,HEAD,OPTIONS
|
37
|
-
Access-Control-Allow-Origin:
|
38
|
-
- "*"
|
39
|
-
Access-Control-Expose-Headers:
|
40
|
-
- Etag
|
41
|
-
Access-Control-Max-Age:
|
42
|
-
- '86400'
|
43
|
-
Cf-Environment-Id:
|
44
|
-
- master
|
45
|
-
Cf-Environment-Uuid:
|
46
|
-
- b0e55a5c-6ee0-4c81-b32a-3bd22a568e43
|
47
|
-
Cf-Organization-Id:
|
48
|
-
- 7BLDDu2FYCNoN4QIWys1BR
|
49
|
-
Cf-Space-Id:
|
50
|
-
- cfexampleapi
|
51
|
-
Content-Encoding:
|
52
|
-
- gzip
|
53
|
-
Content-Type:
|
54
|
-
- application/vnd.contentful.delivery.v1+json
|
55
|
-
Contentful-Api:
|
56
|
-
- cda_cached
|
57
|
-
Etag:
|
58
|
-
- W/"12211725640257057039"
|
59
|
-
Server:
|
60
|
-
- Contentful
|
61
|
-
X-Content-Type-Options:
|
62
|
-
- nosniff
|
63
|
-
X-Contentful-Region:
|
64
|
-
- us-east-1
|
65
|
-
Accept-Ranges:
|
66
|
-
- bytes
|
67
|
-
Date:
|
68
|
-
- Fri, 15 Nov 2019 09:46:47 GMT
|
69
|
-
Via:
|
70
|
-
- 1.1 varnish
|
71
|
-
Age:
|
72
|
-
- '0'
|
73
|
-
X-Served-By:
|
74
|
-
- cache-bma1624-BMA
|
75
|
-
X-Cache:
|
76
|
-
- MISS
|
77
|
-
X-Cache-Hits:
|
78
|
-
- '0'
|
79
|
-
Vary:
|
80
|
-
- Accept-Encoding
|
81
|
-
X-Contentful-Request-Id:
|
82
|
-
- 74c9dc83-4a97-4ac3-8780-8c3d2540f815
|
83
|
-
body:
|
84
|
-
encoding: ASCII-8BIT
|
85
|
-
string: !binary |-
|
86
|
-
H4sIAAAAAAAAA41TTW/CMAy98ytQrhtTGiagvaEJ7bIb7LKJg9cGZjVNqzSgVYj/viT9ChVSySGKndjv2X65TKZTUlYliaYXczSGrgpuLLJWCipifNdn+0bnGoTxz51VplgYI3CGwAx1Z6HmmU337dLVSQcYDqcsILZA7Yva6TGxDudsGX2gTIlF7JfBlumuYbx1GQcPMLHFxAf+B1khOBRoa2rXtTu7KutF6pgjqANykXgZOyobqVXlX8SKg+bJ2vaBMBrMZ3QxY8sdY9HrImL0ZcWCLz/gVCTDgJUNCGhEw4guX0IW3gRweUaVy4xLizHetbqIDErN1bApj3Z042GOdk3xM5aYS8OOec2Mc6kN52ZI47wf5fbm5b0/c9DjoxZ5DMLpncvZ57YN6NRAnAT672EVQiRkLuT9jkIEpryXfyMoASUcJfR09jcNErmy6XIF8ugLmPyg0r+J+YbmNgiXoRVVsNqxeUSNTOiT231VCTw4dHkSwoMQeHbusBliLXu77yfXyT+v5gceBAQAAA==
|
87
|
-
http_version:
|
88
|
-
recorded_at: Fri, 15 Nov 2019 09:46:47 GMT
|
89
|
-
recorded_with: VCR 5.0.0
|
@@ -1,64 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/wrong/environments/master/entries?sys.id=nyancat
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/0.1.1
|
12
|
-
Authorization:
|
13
|
-
- Bearer credentials
|
14
|
-
Content-Type:
|
15
|
-
- application/vnd.contentful.delivery.v1+json
|
16
|
-
Host:
|
17
|
-
- cdn.contentful.com
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 429
|
21
|
-
message: ServiceUnavailable
|
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
|
-
Content-Length:
|
40
|
-
- '179'
|
41
|
-
Accept-Ranges:
|
42
|
-
- bytes
|
43
|
-
Via:
|
44
|
-
- 1.1 varnish
|
45
|
-
X-Served-By:
|
46
|
-
- cache-am72-AMS
|
47
|
-
X-Cache:
|
48
|
-
- MISS
|
49
|
-
X-Cache-Hits:
|
50
|
-
- '0'
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: |
|
54
|
-
{
|
55
|
-
"sys": {
|
56
|
-
"type": "Error",
|
57
|
-
"id": "RateLimitExceeded"
|
58
|
-
},
|
59
|
-
"message": "Ratelimit Exceeded",
|
60
|
-
"requestId": "85f-649640521"
|
61
|
-
}
|
62
|
-
http_version:
|
63
|
-
recorded_at: Wed, 16 Apr 2014 09:00:24 GMT
|
64
|
-
recorded_with: VCR 2.9.0
|
@@ -1,294 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdnorigin.flinkly.com/spaces/164vhtp008kz/environments/master/assets
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- RubyContentfulGem/0.10.0
|
12
|
-
Authorization:
|
13
|
-
- Bearer 7699b6c6f6cee9b6abaa216c71fbcb3eee56cb6f082f57b5e21b2b50f86bdea0
|
14
|
-
Content-Type:
|
15
|
-
- application/vnd.contentful.delivery.v1+json
|
16
|
-
Accept-Encoding:
|
17
|
-
- gzip
|
18
|
-
Cf-No-Cache:
|
19
|
-
- foobar
|
20
|
-
Connection:
|
21
|
-
- close
|
22
|
-
Host:
|
23
|
-
- cdnorigin.flinkly.com
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 429
|
27
|
-
message: Too Many Requests
|
28
|
-
headers:
|
29
|
-
Accept-Ranges:
|
30
|
-
- bytes
|
31
|
-
Access-Control-Allow-Headers:
|
32
|
-
- 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
|
33
|
-
Access-Control-Allow-Methods:
|
34
|
-
- GET,HEAD,OPTIONS
|
35
|
-
Access-Control-Allow-Origin:
|
36
|
-
- "*"
|
37
|
-
Access-Control-Max-Age:
|
38
|
-
- '86400'
|
39
|
-
Cache-Control:
|
40
|
-
- max-age=0
|
41
|
-
Content-Type:
|
42
|
-
- application/vnd.contentful.management.v1+json
|
43
|
-
Date:
|
44
|
-
- Tue, 09 Aug 2016 08:46:00 GMT
|
45
|
-
Server:
|
46
|
-
- nginx
|
47
|
-
X-Contentful-Ratelimit-Reset:
|
48
|
-
- '1'
|
49
|
-
Content-Length:
|
50
|
-
- '304'
|
51
|
-
Connection:
|
52
|
-
- Close
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: |
|
56
|
-
{
|
57
|
-
"sys": {
|
58
|
-
"type": "Error",
|
59
|
-
"id": "RateLimitExceeded"
|
60
|
-
},
|
61
|
-
"message": "You have exceeded the rate limit of the Organization this Space belongs to by making too many API requests within a short timespan. Please wait a moment before trying the request again.",
|
62
|
-
"requestId": "395-766168967"
|
63
|
-
}
|
64
|
-
http_version:
|
65
|
-
recorded_at: Tue, 09 Aug 2016 08:46:00 GMT
|
66
|
-
- request:
|
67
|
-
method: get
|
68
|
-
uri: https://cdnorigin.flinkly.com/spaces/164vhtp008kz/environments/master/assets
|
69
|
-
body:
|
70
|
-
encoding: US-ASCII
|
71
|
-
string: ''
|
72
|
-
headers:
|
73
|
-
User-Agent:
|
74
|
-
- RubyContentfulGem/0.10.0
|
75
|
-
Authorization:
|
76
|
-
- Bearer 7699b6c6f6cee9b6abaa216c71fbcb3eee56cb6f082f57b5e21b2b50f86bdea0
|
77
|
-
Content-Type:
|
78
|
-
- application/vnd.contentful.delivery.v1+json
|
79
|
-
Accept-Encoding:
|
80
|
-
- gzip
|
81
|
-
Cf-No-Cache:
|
82
|
-
- foobar
|
83
|
-
Connection:
|
84
|
-
- close
|
85
|
-
Host:
|
86
|
-
- cdnorigin.flinkly.com
|
87
|
-
response:
|
88
|
-
status:
|
89
|
-
code: 200
|
90
|
-
message: OK
|
91
|
-
headers:
|
92
|
-
Accept-Ranges:
|
93
|
-
- bytes
|
94
|
-
Access-Control-Allow-Headers:
|
95
|
-
- 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
|
96
|
-
Access-Control-Allow-Methods:
|
97
|
-
- GET,HEAD,OPTIONS
|
98
|
-
Access-Control-Allow-Origin:
|
99
|
-
- "*"
|
100
|
-
Access-Control-Expose-Headers:
|
101
|
-
- Etag
|
102
|
-
Access-Control-Max-Age:
|
103
|
-
- '86400'
|
104
|
-
Cache-Control:
|
105
|
-
- max-age=0
|
106
|
-
Content-Type:
|
107
|
-
- application/vnd.contentful.delivery.v1+json
|
108
|
-
Date:
|
109
|
-
- Tue, 09 Aug 2016 08:46:00 GMT
|
110
|
-
Etag:
|
111
|
-
- '"29f2c21be26360c424f617d8592cf6f9"'
|
112
|
-
Server:
|
113
|
-
- nginx
|
114
|
-
Surrogate-Control:
|
115
|
-
- max-age=21600
|
116
|
-
Surrogate-Key:
|
117
|
-
- space-164vhtp008kz organization-7Kp22ygMRaA3DCjACF64PF
|
118
|
-
Vary:
|
119
|
-
- Accept-Encoding
|
120
|
-
X-Content-Type-Options:
|
121
|
-
- nosniff
|
122
|
-
X-Contentful-Request-Id:
|
123
|
-
- 395-766168968
|
124
|
-
Content-Length:
|
125
|
-
- '97'
|
126
|
-
Connection:
|
127
|
-
- Close
|
128
|
-
body:
|
129
|
-
encoding: UTF-8
|
130
|
-
string: |
|
131
|
-
{
|
132
|
-
"sys": {
|
133
|
-
"type": "Array"
|
134
|
-
},
|
135
|
-
"total": 0,
|
136
|
-
"skip": 0,
|
137
|
-
"limit": 100,
|
138
|
-
"items": []
|
139
|
-
}
|
140
|
-
http_version:
|
141
|
-
recorded_at: Tue, 09 Aug 2016 08:46:00 GMT
|
142
|
-
- request:
|
143
|
-
method: get
|
144
|
-
uri: https://cdnorigin.flinkly.com/spaces/164vhtp008kz/environments/master/assets
|
145
|
-
body:
|
146
|
-
encoding: US-ASCII
|
147
|
-
string: ''
|
148
|
-
headers:
|
149
|
-
User-Agent:
|
150
|
-
- RubyContentfulGem/0.10.0
|
151
|
-
Authorization:
|
152
|
-
- Bearer 7699b6c6f6cee9b6abaa216c71fbcb3eee56cb6f082f57b5e21b2b50f86bdea0
|
153
|
-
Content-Type:
|
154
|
-
- application/vnd.contentful.delivery.v1+json
|
155
|
-
Accept-Encoding:
|
156
|
-
- gzip
|
157
|
-
Cf-No-Cache:
|
158
|
-
- foobar
|
159
|
-
Connection:
|
160
|
-
- close
|
161
|
-
Host:
|
162
|
-
- cdnorigin.flinkly.com
|
163
|
-
response:
|
164
|
-
status:
|
165
|
-
code: 200
|
166
|
-
message: OK
|
167
|
-
headers:
|
168
|
-
Accept-Ranges:
|
169
|
-
- bytes
|
170
|
-
Access-Control-Allow-Headers:
|
171
|
-
- 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
|
172
|
-
Access-Control-Allow-Methods:
|
173
|
-
- GET,HEAD,OPTIONS
|
174
|
-
Access-Control-Allow-Origin:
|
175
|
-
- "*"
|
176
|
-
Access-Control-Expose-Headers:
|
177
|
-
- Etag
|
178
|
-
Access-Control-Max-Age:
|
179
|
-
- '86400'
|
180
|
-
Cache-Control:
|
181
|
-
- max-age=0
|
182
|
-
Content-Type:
|
183
|
-
- application/vnd.contentful.delivery.v1+json
|
184
|
-
Date:
|
185
|
-
- Tue, 09 Aug 2016 08:46:00 GMT
|
186
|
-
Etag:
|
187
|
-
- '"29f2c21be26360c424f617d8592cf6f9"'
|
188
|
-
Server:
|
189
|
-
- nginx
|
190
|
-
Surrogate-Control:
|
191
|
-
- max-age=21600
|
192
|
-
Surrogate-Key:
|
193
|
-
- space-164vhtp008kz organization-7Kp22ygMRaA3DCjACF64PF
|
194
|
-
Vary:
|
195
|
-
- Accept-Encoding
|
196
|
-
X-Content-Type-Options:
|
197
|
-
- nosniff
|
198
|
-
X-Contentful-Request-Id:
|
199
|
-
- 395-766168969
|
200
|
-
Content-Length:
|
201
|
-
- '97'
|
202
|
-
Connection:
|
203
|
-
- Close
|
204
|
-
body:
|
205
|
-
encoding: UTF-8
|
206
|
-
string: |
|
207
|
-
{
|
208
|
-
"sys": {
|
209
|
-
"type": "Array"
|
210
|
-
},
|
211
|
-
"total": 0,
|
212
|
-
"skip": 0,
|
213
|
-
"limit": 100,
|
214
|
-
"items": []
|
215
|
-
}
|
216
|
-
http_version:
|
217
|
-
recorded_at: Tue, 09 Aug 2016 08:46:00 GMT
|
218
|
-
- request:
|
219
|
-
method: get
|
220
|
-
uri: https://cdnorigin.flinkly.com/spaces/164vhtp008kz/environments/master/assets
|
221
|
-
body:
|
222
|
-
encoding: US-ASCII
|
223
|
-
string: ''
|
224
|
-
headers:
|
225
|
-
User-Agent:
|
226
|
-
- RubyContentfulGem/0.10.0
|
227
|
-
Authorization:
|
228
|
-
- Bearer 7699b6c6f6cee9b6abaa216c71fbcb3eee56cb6f082f57b5e21b2b50f86bdea0
|
229
|
-
Content-Type:
|
230
|
-
- application/vnd.contentful.delivery.v1+json
|
231
|
-
Accept-Encoding:
|
232
|
-
- gzip
|
233
|
-
Cf-No-Cache:
|
234
|
-
- foobar
|
235
|
-
Connection:
|
236
|
-
- close
|
237
|
-
Host:
|
238
|
-
- cdnorigin.flinkly.com
|
239
|
-
response:
|
240
|
-
status:
|
241
|
-
code: 200
|
242
|
-
message: OK
|
243
|
-
headers:
|
244
|
-
Accept-Ranges:
|
245
|
-
- bytes
|
246
|
-
Access-Control-Allow-Headers:
|
247
|
-
- 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
|
248
|
-
Access-Control-Allow-Methods:
|
249
|
-
- GET,HEAD,OPTIONS
|
250
|
-
Access-Control-Allow-Origin:
|
251
|
-
- "*"
|
252
|
-
Access-Control-Expose-Headers:
|
253
|
-
- Etag
|
254
|
-
Access-Control-Max-Age:
|
255
|
-
- '86400'
|
256
|
-
Cache-Control:
|
257
|
-
- max-age=0
|
258
|
-
Content-Type:
|
259
|
-
- application/vnd.contentful.delivery.v1+json
|
260
|
-
Date:
|
261
|
-
- Tue, 09 Aug 2016 08:46:02 GMT
|
262
|
-
Etag:
|
263
|
-
- '"29f2c21be26360c424f617d8592cf6f9"'
|
264
|
-
Server:
|
265
|
-
- nginx
|
266
|
-
Surrogate-Control:
|
267
|
-
- max-age=21600
|
268
|
-
Surrogate-Key:
|
269
|
-
- space-164vhtp008kz organization-7Kp22ygMRaA3DCjACF64PF
|
270
|
-
Vary:
|
271
|
-
- Accept-Encoding
|
272
|
-
X-Content-Type-Options:
|
273
|
-
- nosniff
|
274
|
-
X-Contentful-Request-Id:
|
275
|
-
- 395-766168970
|
276
|
-
Content-Length:
|
277
|
-
- '97'
|
278
|
-
Connection:
|
279
|
-
- Close
|
280
|
-
body:
|
281
|
-
encoding: UTF-8
|
282
|
-
string: |
|
283
|
-
{
|
284
|
-
"sys": {
|
285
|
-
"type": "Array"
|
286
|
-
},
|
287
|
-
"total": 0,
|
288
|
-
"skip": 0,
|
289
|
-
"limit": 100,
|
290
|
-
"items": []
|
291
|
-
}
|
292
|
-
http_version:
|
293
|
-
recorded_at: Tue, 09 Aug 2016 08:46:02 GMT
|
294
|
-
recorded_with: VCR 3.0.3
|