contentful 2.16.0 → 2.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/lib/contentful/version.rb +1 -1
  4. metadata +3 -370
  5. data/.gitignore +0 -7
  6. data/.rspec +0 -1
  7. data/.rubocop.yml +0 -31
  8. data/.rubocop_todo.yml +0 -35
  9. data/.travis.yml +0 -15
  10. data/.yardopts +0 -4
  11. data/Gemfile +0 -9
  12. data/Guardfile +0 -24
  13. data/RELEASE.md +0 -8
  14. data/Rakefile +0 -33
  15. data/contentful.gemspec +0 -44
  16. data/examples/custom_classes.rb +0 -39
  17. data/examples/example_queries.rb +0 -26
  18. data/examples/raise_errors.rb +0 -20
  19. data/examples/raw_mode.rb +0 -14
  20. data/spec/array_spec.rb +0 -187
  21. data/spec/asset_spec.rb +0 -220
  22. data/spec/auto_includes_spec.rb +0 -12
  23. data/spec/client_class_spec.rb +0 -86
  24. data/spec/client_configuration_spec.rb +0 -394
  25. data/spec/content_type_spec.rb +0 -49
  26. data/spec/deleted_asset_spec.rb +0 -38
  27. data/spec/deleted_entry_spec.rb +0 -38
  28. data/spec/entry_spec.rb +0 -815
  29. data/spec/error_class_spec.rb +0 -327
  30. data/spec/error_requests_spec.rb +0 -87
  31. data/spec/field_spec.rb +0 -95
  32. data/spec/file_spec.rb +0 -33
  33. data/spec/fixtures/json_responses/400_details_errors_object.json +0 -14
  34. data/spec/fixtures/json_responses/400_details_errors_string.json +0 -12
  35. data/spec/fixtures/json_responses/400_details_string.json +0 -8
  36. data/spec/fixtures/json_responses/403_reasons.json +0 -13
  37. data/spec/fixtures/json_responses/404_details_string.json +0 -8
  38. data/spec/fixtures/json_responses/404_id.json +0 -11
  39. data/spec/fixtures/json_responses/404_sys_type.json +0 -12
  40. data/spec/fixtures/json_responses/404_type.json +0 -10
  41. data/spec/fixtures/json_responses/content_type.json +0 -83
  42. data/spec/fixtures/json_responses/default_400.json +0 -7
  43. data/spec/fixtures/json_responses/default_401.json +0 -7
  44. data/spec/fixtures/json_responses/default_403.json +0 -7
  45. data/spec/fixtures/json_responses/default_404.json +0 -7
  46. data/spec/fixtures/json_responses/default_429.json +0 -7
  47. data/spec/fixtures/json_responses/default_500.json +0 -7
  48. data/spec/fixtures/json_responses/default_502.json +0 -7
  49. data/spec/fixtures/json_responses/default_503.json +0 -7
  50. data/spec/fixtures/json_responses/includes.json +0 -111
  51. data/spec/fixtures/json_responses/link_array.json +0 -43
  52. data/spec/fixtures/json_responses/not_found.json +0 -13
  53. data/spec/fixtures/json_responses/nyancat.json +0 -48
  54. data/spec/fixtures/json_responses/other_error.json +0 -9
  55. data/spec/fixtures/json_responses/other_error_no_details.json +0 -8
  56. data/spec/fixtures/json_responses/other_error_no_message.json +0 -8
  57. data/spec/fixtures/json_responses/other_error_no_request_id.json +0 -8
  58. data/spec/fixtures/json_responses/other_error_nothing.json +0 -6
  59. data/spec/fixtures/json_responses/self_link.json +0 -82
  60. data/spec/fixtures/json_responses/unparsable.json +0 -13
  61. data/spec/fixtures/vcr_cassettes/array.yml +0 -288
  62. data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
  63. data/spec/fixtures/vcr_cassettes/array/marshal_unpublished.yml +0 -315
  64. data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
  65. data/spec/fixtures/vcr_cassettes/arrayField.yml +0 -87
  66. data/spec/fixtures/vcr_cassettes/array_page_1.yml +0 -106
  67. data/spec/fixtures/vcr_cassettes/array_page_2.yml +0 -73
  68. data/spec/fixtures/vcr_cassettes/asset.yml +0 -96
  69. data/spec/fixtures/vcr_cassettes/asset/select_empty_array.yml +0 -104
  70. data/spec/fixtures/vcr_cassettes/asset/select_no_sys.yml +0 -119
  71. data/spec/fixtures/vcr_cassettes/asset/select_one_field.yml +0 -97
  72. data/spec/fixtures/vcr_cassettes/asset/select_only_sys.yml +0 -88
  73. data/spec/fixtures/vcr_cassettes/asset/with_tags.yml +0 -138
  74. data/spec/fixtures/vcr_cassettes/assets/issues_129.yml +0 -90
  75. data/spec/fixtures/vcr_cassettes/assets/issues_jekyll_46.yml +0 -115
  76. data/spec/fixtures/vcr_cassettes/bad_request.yml +0 -76
  77. data/spec/fixtures/vcr_cassettes/content_type.yml +0 -147
  78. data/spec/fixtures/vcr_cassettes/entries.yml +0 -561
  79. data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +0 -246
  80. data/spec/fixtures/vcr_cassettes/entries/issue_117.yml +0 -201
  81. data/spec/fixtures/vcr_cassettes/entries/issue_125.yml +0 -198
  82. data/spec/fixtures/vcr_cassettes/entries/rich_text.yml +0 -1707
  83. data/spec/fixtures/vcr_cassettes/entries/rich_text_hydration_issue.yml +0 -460
  84. data/spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml +0 -653
  85. data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +0 -983
  86. data/spec/fixtures/vcr_cassettes/entries/unresolvable_assets.yml +0 -89
  87. data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml +0 -159
  88. data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml +0 -167
  89. data/spec/fixtures/vcr_cassettes/entry.yml +0 -102
  90. data/spec/fixtures/vcr_cassettes/entry/custom_resource.yml +0 -168
  91. data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +0 -101
  92. data/spec/fixtures/vcr_cassettes/entry/include_resolution_uniques.yml +0 -81
  93. data/spec/fixtures/vcr_cassettes/entry/json_objects.yml +0 -88
  94. data/spec/fixtures/vcr_cassettes/entry/json_objects_client.yml +0 -86
  95. data/spec/fixtures/vcr_cassettes/entry/marshal_138.yml +0 -159
  96. data/spec/fixtures/vcr_cassettes/entry/marshal_unpublished.yml +0 -303
  97. data/spec/fixtures/vcr_cassettes/entry/marshall.yml +0 -293
  98. data/spec/fixtures/vcr_cassettes/entry/raw.yml +0 -201
  99. data/spec/fixtures/vcr_cassettes/entry/search_link_to_asset.yml +0 -81
  100. data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry.yml +0 -81
  101. data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry_with_custom_query.yml +0 -115
  102. data/spec/fixtures/vcr_cassettes/entry/select_empty_array.yml +0 -111
  103. data/spec/fixtures/vcr_cassettes/entry/select_no_sys.yml +0 -102
  104. data/spec/fixtures/vcr_cassettes/entry/select_one_field.yml +0 -76
  105. data/spec/fixtures/vcr_cassettes/entry/select_one_field_proper.yml +0 -114
  106. data/spec/fixtures/vcr_cassettes/entry/select_only_sys.yml +0 -111
  107. data/spec/fixtures/vcr_cassettes/entry/with_tags.yml +0 -238
  108. data/spec/fixtures/vcr_cassettes/entry_cache.yml +0 -288
  109. data/spec/fixtures/vcr_cassettes/entry_locales.yml +0 -104
  110. data/spec/fixtures/vcr_cassettes/field.yml +0 -147
  111. data/spec/fixtures/vcr_cassettes/human.yml +0 -118
  112. data/spec/fixtures/vcr_cassettes/linkField.yml +0 -83
  113. data/spec/fixtures/vcr_cassettes/locale.yml +0 -83
  114. data/spec/fixtures/vcr_cassettes/locale_from_environment.yml +0 -121
  115. data/spec/fixtures/vcr_cassettes/location.yml +0 -193
  116. data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +0 -196
  117. data/spec/fixtures/vcr_cassettes/multi_locale_reference.yml +0 -214
  118. data/spec/fixtures/vcr_cassettes/not_found.yml +0 -76
  119. data/spec/fixtures/vcr_cassettes/nyancat.yml +0 -102
  120. data/spec/fixtures/vcr_cassettes/query_array_1.yml +0 -89
  121. data/spec/fixtures/vcr_cassettes/query_array_2.yml +0 -89
  122. data/spec/fixtures/vcr_cassettes/ratelimit.yml +0 -64
  123. data/spec/fixtures/vcr_cassettes/ratelimit_retry.yml +0 -294
  124. data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +0 -102
  125. data/spec/fixtures/vcr_cassettes/space.yml +0 -83
  126. data/spec/fixtures/vcr_cassettes/sync_deleted_asset.yml +0 -174
  127. data/spec/fixtures/vcr_cassettes/sync_deleted_entry.yml +0 -89
  128. data/spec/fixtures/vcr_cassettes/sync_deletion.yml +0 -191
  129. data/spec/fixtures/vcr_cassettes/sync_environment.yml +0 -81
  130. data/spec/fixtures/vcr_cassettes/sync_page.yml +0 -637
  131. data/spec/fixtures/vcr_cassettes/sync_page_2.yml +0 -71
  132. data/spec/fixtures/vcr_cassettes/sync_page_short.yml +0 -106
  133. data/spec/fixtures/vcr_cassettes/unauthorized.yml +0 -64
  134. data/spec/fixtures/vcr_cassettes/unavailable.yml +0 -76
  135. data/spec/link_spec.rb +0 -50
  136. data/spec/locale_spec.rb +0 -37
  137. data/spec/location_spec.rb +0 -25
  138. data/spec/request_spec.rb +0 -57
  139. data/spec/resource_building_spec.rb +0 -31
  140. data/spec/response_spec.rb +0 -62
  141. data/spec/space_spec.rb +0 -31
  142. data/spec/spec_helper.rb +0 -14
  143. data/spec/support/client.rb +0 -6
  144. data/spec/support/json_responses.rb +0 -18
  145. data/spec/support/vcr.rb +0 -16
  146. data/spec/sync_page_spec.rb +0 -103
  147. data/spec/sync_spec.rb +0 -180
@@ -1,76 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?select=sys,fields.name&sys.id=nyancat
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - RubyContentfulGem/1.0.2
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: 400
25
- message: Bad Request
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
- - 9c4cc23976ca91562c72e53c04fe70c3
45
- Content-Length:
46
- - '354'
47
- Accept-Ranges:
48
- - bytes
49
- Date:
50
- - Tue, 11 Oct 2016 21:48:16 GMT
51
- Via:
52
- - 1.1 varnish
53
- Connection:
54
- - close
55
- X-Served-By:
56
- - cache-jfk8122-JFK
57
- X-Cache:
58
- - MISS
59
- X-Cache-Hits:
60
- - '0'
61
- X-Timer:
62
- - S1476222496.116198,VS0,VE31
63
- body:
64
- encoding: ASCII-8BIT
65
- string: |
66
- {
67
- "sys": {
68
- "type": "Error",
69
- "id": "BadRequest"
70
- },
71
- "message": "A Content Type ID is required. When querying for Entries and involving fields you need to limit your query to a specific Content Type. Please send a Content Type ID (not the name) as the URI query parameter \"content_type\"",
72
- "requestId": "9c4cc23976ca91562c72e53c04fe70c3"
73
- }
74
- http_version:
75
- recorded_at: Tue, 11 Oct 2016 21:48:15 GMT
76
- recorded_with: VCR 3.0.3
@@ -1,114 +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&select=sys,fields.name&sys.id=nyancat
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - RubyContentfulGem/1.0.2
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-Type:
40
- - application/vnd.contentful.delivery.v1+json
41
- Etag:
42
- - '"5bceeb558eb6136686e5aae912e25903"'
43
- Server:
44
- - Contentful
45
- X-Content-Type-Options:
46
- - nosniff
47
- - nosniff
48
- X-Contentful-Request-Id:
49
- - 309c7fd04e9f5a7a4518df8412b92c62
50
- Content-Length:
51
- - '699'
52
- Accept-Ranges:
53
- - bytes
54
- Date:
55
- - Tue, 11 Oct 2016 21:48:15 GMT
56
- Via:
57
- - 1.1 varnish
58
- Age:
59
- - '0'
60
- Connection:
61
- - close
62
- X-Served-By:
63
- - cache-jfk8140-JFK
64
- X-Cache:
65
- - MISS
66
- X-Cache-Hits:
67
- - '0'
68
- X-Timer:
69
- - S1476222495.442871,VS0,VE44
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": 100,
82
- "items": [
83
- {
84
- "fields": {
85
- "name": "Nyan Cat"
86
- },
87
- "sys": {
88
- "space": {
89
- "sys": {
90
- "type": "Link",
91
- "linkType": "Space",
92
- "id": "cfexampleapi"
93
- }
94
- },
95
- "id": "nyancat",
96
- "type": "Entry",
97
- "createdAt": "2013-06-27T22:46:19.513Z",
98
- "updatedAt": "2013-09-04T09:19:39.027Z",
99
- "revision": 5,
100
- "contentType": {
101
- "sys": {
102
- "type": "Link",
103
- "linkType": "ContentType",
104
- "id": "cat"
105
- }
106
- },
107
- "locale": "en-US"
108
- }
109
- }
110
- ]
111
- }
112
- http_version:
113
- recorded_at: Tue, 11 Oct 2016 21:48:14 GMT
114
- recorded_with: VCR 3.0.3
@@ -1,111 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?select=sys&sys.id=nyancat
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - RubyContentfulGem/1.0.2
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-Type:
40
- - application/vnd.contentful.delivery.v1+json
41
- Etag:
42
- - '"df5a0bca323bd8fb0e370f41cf07a148"'
43
- Server:
44
- - Contentful
45
- X-Content-Type-Options:
46
- - nosniff
47
- - nosniff
48
- X-Contentful-Request-Id:
49
- - f8fa255397530ecd6c842426aeeea221
50
- Content-Length:
51
- - '645'
52
- Accept-Ranges:
53
- - bytes
54
- Date:
55
- - Tue, 11 Oct 2016 21:47:59 GMT
56
- Via:
57
- - 1.1 varnish
58
- Age:
59
- - '113'
60
- Connection:
61
- - close
62
- X-Served-By:
63
- - cache-jfk8121-JFK
64
- X-Cache:
65
- - HIT
66
- X-Cache-Hits:
67
- - '1'
68
- X-Timer:
69
- - S1476222479.776857,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": 100,
82
- "items": [
83
- {
84
- "sys": {
85
- "space": {
86
- "sys": {
87
- "type": "Link",
88
- "linkType": "Space",
89
- "id": "cfexampleapi"
90
- }
91
- },
92
- "id": "nyancat",
93
- "type": "Entry",
94
- "createdAt": "2013-06-27T22:46:19.513Z",
95
- "updatedAt": "2013-09-04T09:19:39.027Z",
96
- "revision": 5,
97
- "contentType": {
98
- "sys": {
99
- "type": "Link",
100
- "linkType": "ContentType",
101
- "id": "cat"
102
- }
103
- },
104
- "locale": "en-US"
105
- }
106
- }
107
- ]
108
- }
109
- http_version:
110
- recorded_at: Tue, 11 Oct 2016 21:47:59 GMT
111
- recorded_with: VCR 3.0.3
@@ -1,238 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/content_types?limit=1000
6
- body:
7
- encoding: UTF-8
8
- string: ''
9
- headers:
10
- X-Contentful-User-Agent:
11
- - sdk contentful.rb/2.15.4; platform ruby/2.7.1; os macOS/19;
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.4.1
24
- response:
25
- status:
26
- code: 200
27
- message: OK
28
- headers:
29
- Connection:
30
- - close
31
- Content-Length:
32
- - '731'
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
- - a8fd17fd-5c8e-465f-bf8d-eb67f144dca0
47
- Cf-Organization-Id:
48
- - 4kQeJmhUWIKtNNmMkketza
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/"1428365732249037051"
59
- Server:
60
- - Contentful
61
- X-Content-Type-Options:
62
- - nosniff
63
- X-Contentful-Region:
64
- - us-east-1
65
- X-Contentful-Route:
66
- - "/spaces/:space/environments/:environment/content_types"
67
- Accept-Ranges:
68
- - bytes
69
- Date:
70
- - Sun, 28 Mar 2021 12:13:52 GMT
71
- Via:
72
- - 1.1 varnish
73
- Age:
74
- - '87766'
75
- X-Served-By:
76
- - cache-bom4721-BOM
77
- X-Cache-Hits:
78
- - '1'
79
- X-Timer:
80
- - S1616933633.514348,VS0,VE1
81
- Vary:
82
- - Accept-Encoding
83
- X-Cache:
84
- - HIT
85
- X-Contentful-Request-Id:
86
- - 4452e776-4432-4002-b3ea-ef8e597daa42
87
- body:
88
- encoding: ASCII-8BIT
89
- string: !binary |-
90
- H4sIAAAAAAAAA+1XTY/aMBC9769APhdkJyEsuaFqK1XqqcupFUIGzGKRrzqGlq747x07OImDWVB3FxWpvoA9nhnP8+R55vmu00HFrkBR5xn+wkTucgYzNBKC7hCs7T+oPTKTNIZ1X8+KNc9hgvUk5gmXMCMYlwtcskRZ/K4tlnZbbrSrIqdz5cvsKBcbh1ELetEc6gtP10g5rQe4T9fjw6EftcXWBr5Q8WTBKnwa/vTzLOMqLDP21X8daDlQqSNZIb2GueocH7NUslRqtw2tuWBUssVIoYE87JEu9rqkP8ZhFPgRwb3Qv//WVNjki2MFDxSCyB9EhPSCYGgpsHTLRZYm4Pwi4Mo4ElpIJtq4XArqQ8PnWeAE2/KCZ6nKB++wuwIWLXiRx3T3ibNYX0rCJAUEaHU0lNJEp58NPVqwYi54LkvLqN6/VKbqZFPXZ6VTCUBOUyv6ys2RwIDyGS74qYUZirM5jflvps6+pHHBmpmGBPux4eKEECKns/iEMIMPCPLGWHVlpCOoI/BU8FVkbqkJ73GXzLLYxuTq0R3inOjfQ5LcMFvQjVxlza/sr+gCh2Pcj/phhMOeT4LzdKEUYLcXBUFvMOzfLF2cZwvJZVzzbZXpIxv313IF3QIh2WRZuXLJTtLotejCIqHmazgqCibrt67xvjnYRPD5asx+STdPuqUm9K9O3avzSQ2EIz47eSyqHFt5pUX/efJ9q6p25WTwvrywIl2PjAmGIiki/R4Jw3NMCQrAlMMI+1GAe/cDuxK7pcLKC84WVqp8murayF1aTTXg5oN5LWWmm2TGBHFTRymctqRvU2dJsbFrsHcosxxQ2uwBUNuRm9iO6fTfokQg9bV8ifId0jei/GtcnGBLJljaagirt/yE2ARY9r/223qd8t/yaXrp5ot2piHeQo8CTRW0SrovmjTt6Xa97pcfUil0k29Goxu2q3OYTe72d38AoWM06DAQAAA=
91
- recorded_at: Sun, 28 Mar 2021 12:13:52 GMT
92
- - request:
93
- method: get
94
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/entries?sys.id=52GcYcPOPhuhlaogl05DIh
95
- body:
96
- encoding: UTF-8
97
- string: ''
98
- headers:
99
- X-Contentful-User-Agent:
100
- - sdk contentful.rb/2.15.4; platform ruby/2.7.1; os macOS/19;
101
- Authorization:
102
- - Bearer b4c0n73n7fu1
103
- Content-Type:
104
- - application/vnd.contentful.delivery.v1+json
105
- Accept-Encoding:
106
- - gzip
107
- Connection:
108
- - close
109
- Host:
110
- - cdn.contentful.com
111
- User-Agent:
112
- - http.rb/4.4.1
113
- response:
114
- status:
115
- code: 200
116
- message: OK
117
- headers:
118
- Connection:
119
- - close
120
- Content-Length:
121
- - '956'
122
- Access-Control-Allow-Headers:
123
- - 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
124
- Access-Control-Allow-Methods:
125
- - GET,HEAD,OPTIONS
126
- Access-Control-Allow-Origin:
127
- - "*"
128
- Access-Control-Expose-Headers:
129
- - Etag
130
- Access-Control-Max-Age:
131
- - '86400'
132
- Cf-Environment-Id:
133
- - master
134
- Cf-Environment-Uuid:
135
- - a8fd17fd-5c8e-465f-bf8d-eb67f144dca0
136
- Cf-Organization-Id:
137
- - 4kQeJmhUWIKtNNmMkketza
138
- Cf-Space-Id:
139
- - cfexampleapi
140
- Content-Type:
141
- - application/vnd.contentful.delivery.v1+json
142
- Contentful-Api:
143
- - cda_cached
144
- Etag:
145
- - '"18024233839947354630"'
146
- Server:
147
- - Contentful
148
- X-Content-Type-Options:
149
- - nosniff
150
- X-Contentful-Region:
151
- - us-east-1
152
- X-Contentful-Route:
153
- - "/spaces/:space/environments/:environment/entries"
154
- Accept-Ranges:
155
- - bytes
156
- Date:
157
- - Sun, 28 Mar 2021 12:13:52 GMT
158
- Via:
159
- - 1.1 varnish
160
- Age:
161
- - '0'
162
- X-Served-By:
163
- - cache-bom4749-BOM
164
- X-Cache-Hits:
165
- - '1'
166
- X-Timer:
167
- - S1616933633.546080,VS0,VE285
168
- Vary:
169
- - Accept-Encoding
170
- X-Cache:
171
- - HIT
172
- X-Contentful-Request-Id:
173
- - 129a8fd6-d7a1-4873-8d23-b61c7fe7b62b
174
- body:
175
- encoding: ASCII-8BIT
176
- string: |
177
- {
178
- "sys": {
179
- "type": "Array"
180
- },
181
- "total": 1,
182
- "skip": 0,
183
- "limit": 100,
184
- "items": [
185
- {
186
- "metadata": {
187
- "tags": [
188
- {
189
- "sys": {
190
- "type": "Link",
191
- "linkType": "Tag",
192
- "id": "mobQa"
193
- }
194
- }
195
- ]
196
- },
197
- "sys": {
198
- "space": {
199
- "sys": {
200
- "type": "Link",
201
- "linkType": "Space",
202
- "id": "cfexampleapi"
203
- }
204
- },
205
- "id": "52GcYcPOPhuhlaogl05DIh",
206
- "type": "Entry",
207
- "createdAt": "2021-02-21T06:31:58.023Z",
208
- "updatedAt": "2021-02-25T04:29:51.706Z",
209
- "environment": {
210
- "sys": {
211
- "id": "master",
212
- "type": "Link",
213
- "linkType": "Environment"
214
- }
215
- },
216
- "revision": 3,
217
- "contentType": {
218
- "sys": {
219
- "type": "Link",
220
- "linkType": "ContentType",
221
- "id": "test2"
222
- }
223
- },
224
- "locale": "en-US"
225
- },
226
- "fields": {
227
- "title": {
228
- "en-US": "Can't publish this"
229
- },
230
- "shortDescription": {
231
- "en-US": "What is going on here can I still write? changed"
232
- }
233
- }
234
- }
235
- ]
236
- }
237
- recorded_at: Sun, 28 Mar 2021 12:13:52 GMT
238
- recorded_with: VCR 6.0.0