contentful 2.16.0 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
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,191 +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=Deletion
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, 21 Apr 2014 20:31:40 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
- - '"25cc3a29b1aa5b99d6d0f385ea9d2180"'
41
- X-Contentful-Request-Id:
42
- - 71a-635737281
43
- Content-Length:
44
- - '3311'
45
- Accept-Ranges:
46
- - bytes
47
- Via:
48
- - 1.1 varnish
49
- Age:
50
- - '0'
51
- X-Served-By:
52
- - cache-fra1225-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.596Z",
80
- "updatedAt": "2013-09-09T16:17:12.596Z",
81
- "deletedAt": "2013-09-09T16:17:12.596Z"
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.746Z",
97
- "updatedAt": "2013-09-02T15:10:33.746Z",
98
- "deletedAt": "2013-09-02T15:10:33.746Z"
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.643Z",
114
- "updatedAt": "2013-09-02T14:55:34.643Z",
115
- "deletedAt": "2013-09-02T14:55:34.643Z"
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.620Z",
131
- "updatedAt": "2013-09-02T14:55:34.620Z",
132
- "deletedAt": "2013-09-02T14:55:34.620Z"
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.307Z",
148
- "updatedAt": "2013-09-02T14:55:34.307Z",
149
- "deletedAt": "2013-09-02T14:55:34.307Z"
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.278Z",
165
- "updatedAt": "2013-09-02T14:55:34.278Z",
166
- "deletedAt": "2013-09-02T14:55:34.278Z"
167
- }
168
- },
169
- {
170
- "sys": {
171
- "type": "DeletedEntry",
172
- "id": "CVebBDcQsSsu6yKKIayy",
173
- "space": {
174
- "sys": {
175
- "type": "Link",
176
- "linkType": "Space",
177
- "id": "cfexampleapi"
178
- }
179
- },
180
- "revision": 1,
181
- "createdAt": "2013-06-23T19:21:38.254Z",
182
- "updatedAt": "2013-06-23T19:21:38.254Z",
183
- "deletedAt": "2013-06-23T19:21:38.254Z"
184
- }
185
- }
186
- ],
187
- "nextSyncUrl": "https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?sync_token=w5ZGw6JFwqZmVcKsE8Kow4grw45QdybDscOqw6vDvUcbEzolwqs8UsKNIsOuwow-w7IXwrfDncOgWsKOwpDDg8Kjw6zDvxDDusKqccOMwrV_wp9ywoRlfsKVAsOnHcOAwpLCocO0wrHClzpqwrUAw5_DiyHCoznCmRVHw6A"
188
- }
189
- http_version:
190
- recorded_at: Mon, 21 Apr 2014 20:31:40 GMT
191
- recorded_with: VCR 2.9.0
@@ -1,81 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/a22o2qgm356c/environments/staging/sync?initial=true
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- X-Contentful-User-Agent:
11
- - sdk contentful.rb/2.7.0; platform ruby/2.5.1; os macOS/16;
12
- Authorization:
13
- - Bearer bfbc63cf745a037125dbcc64f716a9a0e9d091df1a79e84920b890f87a6e7ab9
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/2.2.2
24
- response:
25
- status:
26
- code: 200
27
- message: OK
28
- headers:
29
- Access-Control-Allow-Headers:
30
- - 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
31
- Access-Control-Allow-Methods:
32
- - GET,HEAD,OPTIONS
33
- Access-Control-Allow-Origin:
34
- - "*"
35
- Access-Control-Expose-Headers:
36
- - Etag
37
- Access-Control-Max-Age:
38
- - '86400'
39
- Cache-Control:
40
- - max-age=0
41
- Content-Encoding:
42
- - gzip
43
- Content-Type:
44
- - application/vnd.contentful.delivery.v1+json
45
- Etag:
46
- - W/"92eb9c4a934fbd7ea0ddb14043495da1"
47
- Server:
48
- - Contentful
49
- X-Content-Type-Options:
50
- - nosniff
51
- X-Contentful-Request-Id:
52
- - eda304d48d1aec96a9e4171451210a92
53
- Content-Length:
54
- - '1540'
55
- Accept-Ranges:
56
- - bytes
57
- Date:
58
- - Fri, 27 Apr 2018 11:58:05 GMT
59
- Via:
60
- - 1.1 varnish
61
- Age:
62
- - '0'
63
- Connection:
64
- - close
65
- X-Served-By:
66
- - cache-fra19132-FRA
67
- X-Cache:
68
- - MISS
69
- X-Cache-Hits:
70
- - '0'
71
- X-Timer:
72
- - S1524830285.762625,VS0,VE409
73
- Vary:
74
- - Accept-Encoding
75
- body:
76
- encoding: ASCII-8BIT
77
- string: !binary |-
78
- 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
79
- http_version:
80
- recorded_at: Fri, 27 Apr 2018 11:58:03 GMT
81
- recorded_with: VCR 3.0.3
@@ -1,637 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?initial=true
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, 21 Apr 2014 19:52:28 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
- - '"8cc03113b9eb6da94926dd27dda2f601"'
41
- X-Contentful-Request-Id:
42
- - 85f-649737436
43
- Content-Length:
44
- - '13208'
45
- Accept-Ranges:
46
- - bytes
47
- Via:
48
- - 1.1 varnish
49
- Age:
50
- - '0'
51
- X-Served-By:
52
- - cache-fra1225-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
- "space": {
70
- "sys": {
71
- "type": "Link",
72
- "linkType": "Space",
73
- "id": "cfexampleapi"
74
- }
75
- },
76
- "type": "Entry",
77
- "contentType": {
78
- "sys": {
79
- "type": "Link",
80
- "linkType": "ContentType",
81
- "id": "1t9IbcfdCk6m04uISSsaIK"
82
- }
83
- },
84
- "id": "5ETMRzkl9KM4omyMwKAOki",
85
- "revision": 2,
86
- "createdAt": "2014-02-21T13:42:57.752Z",
87
- "updatedAt": "2014-04-16T12:44:02.691Z"
88
- },
89
- "fields": {
90
- "name": {
91
- "en-US": "London"
92
- },
93
- "center": {
94
- "en-US": {
95
- "lat": 51.508515,
96
- "lon": -0.12548719999995228
97
- }
98
- }
99
- }
100
- },
101
- {
102
- "sys": {
103
- "space": {
104
- "sys": {
105
- "type": "Link",
106
- "linkType": "Space",
107
- "id": "cfexampleapi"
108
- }
109
- },
110
- "type": "Entry",
111
- "contentType": {
112
- "sys": {
113
- "type": "Link",
114
- "linkType": "ContentType",
115
- "id": "1t9IbcfdCk6m04uISSsaIK"
116
- }
117
- },
118
- "id": "7qVBlCjpWE86Oseo40gAEY",
119
- "revision": 2,
120
- "createdAt": "2014-02-21T13:43:38.258Z",
121
- "updatedAt": "2014-04-15T08:22:22.010Z"
122
- },
123
- "fields": {
124
- "name": {
125
- "en-US": "San Francisco"
126
- },
127
- "center": {
128
- "en-US": {
129
- "lat": 37.7749295,
130
- "lon": -122.41941550000001
131
- }
132
- }
133
- }
134
- },
135
- {
136
- "sys": {
137
- "space": {
138
- "sys": {
139
- "type": "Link",
140
- "linkType": "Space",
141
- "id": "cfexampleapi"
142
- }
143
- },
144
- "type": "Entry",
145
- "contentType": {
146
- "sys": {
147
- "type": "Link",
148
- "linkType": "ContentType",
149
- "id": "1t9IbcfdCk6m04uISSsaIK"
150
- }
151
- },
152
- "id": "ge1xHyH3QOWucKWCCAgIG",
153
- "revision": 1,
154
- "createdAt": "2014-02-21T13:43:23.210Z",
155
- "updatedAt": "2014-02-21T13:43:23.210Z"
156
- },
157
- "fields": {
158
- "name": {
159
- "en-US": "Paris"
160
- },
161
- "center": {
162
- "en-US": {
163
- "lat": 48.856614,
164
- "lon": 2.3522219000000177
165
- }
166
- }
167
- }
168
- },
169
- {
170
- "sys": {
171
- "space": {
172
- "sys": {
173
- "type": "Link",
174
- "linkType": "Space",
175
- "id": "cfexampleapi"
176
- }
177
- },
178
- "type": "Entry",
179
- "contentType": {
180
- "sys": {
181
- "type": "Link",
182
- "linkType": "ContentType",
183
- "id": "1t9IbcfdCk6m04uISSsaIK"
184
- }
185
- },
186
- "id": "4MU1s3potiUEM2G4okYOqw",
187
- "revision": 1,
188
- "createdAt": "2014-02-21T13:42:45.926Z",
189
- "updatedAt": "2014-02-21T13:42:45.926Z"
190
- },
191
- "fields": {
192
- "name": {
193
- "en-US": "Berlin"
194
- },
195
- "center": {
196
- "en-US": {
197
- "lat": 52.52000659999999,
198
- "lon": 13.404953999999975
199
- }
200
- }
201
- }
202
- },
203
- {
204
- "sys": {
205
- "space": {
206
- "sys": {
207
- "type": "Link",
208
- "linkType": "Space",
209
- "id": "cfexampleapi"
210
- }
211
- },
212
- "type": "Asset",
213
- "id": "1x0xpXu4pSGS4OukSyWGUK",
214
- "revision": 6,
215
- "createdAt": "2013-11-06T09:45:10.000Z",
216
- "updatedAt": "2013-12-18T13:27:14.917Z"
217
- },
218
- "fields": {
219
- "title": {
220
- "en-US": "Doge"
221
- },
222
- "file": {
223
- "en-US": {
224
- "fileName": "doge.jpg",
225
- "contentType": "image/jpeg",
226
- "details": {
227
- "image": {
228
- "width": 5800,
229
- "height": 4350
230
- },
231
- "size": 522943
232
- },
233
- "url": "//images.contentful.com/cfexampleapi/1x0xpXu4pSGS4OukSyWGUK/cc1239c6385428ef26f4180190532818/doge.jpg"
234
- }
235
- },
236
- "description": {
237
- "en-US": "nice picture"
238
- }
239
- }
240
- },
241
- {
242
- "fields": {
243
- "name": {
244
- "en-US": "Jake"
245
- },
246
- "description": {
247
- "en-US": "Bacon pancakes, makin' bacon pancakes!"
248
- },
249
- "image": {
250
- "en-US": {
251
- "sys": {
252
- "type": "Link",
253
- "linkType": "Asset",
254
- "id": "jake"
255
- }
256
- }
257
- }
258
- },
259
- "sys": {
260
- "space": {
261
- "sys": {
262
- "type": "Link",
263
- "linkType": "Space",
264
- "id": "cfexampleapi"
265
- }
266
- },
267
- "type": "Entry",
268
- "contentType": {
269
- "sys": {
270
- "type": "Link",
271
- "linkType": "ContentType",
272
- "id": "dog"
273
- }
274
- },
275
- "id": "jake",
276
- "revision": 5,
277
- "createdAt": "2013-06-27T22:46:22.096Z",
278
- "updatedAt": "2013-12-18T13:10:26.212Z"
279
- }
280
- },
281
- {
282
- "fields": {
283
- "name": {
284
- "en-US": "Happy Cat",
285
- "tlh": "Quch vIghro'"
286
- },
287
- "bestFriend": {
288
- "en-US": {
289
- "sys": {
290
- "type": "Link",
291
- "linkType": "Entry",
292
- "id": "nyancat"
293
- }
294
- }
295
- },
296
- "likes": {
297
- "en-US": [
298
- "cheezburger"
299
- ]
300
- },
301
- "color": {
302
- "en-US": "gray"
303
- },
304
- "birthday": {
305
- "en-US": "2003-10-28T23:00:00+00:00"
306
- },
307
- "lives": {
308
- "en-US": 1
309
- },
310
- "image": {
311
- "en-US": {
312
- "sys": {
313
- "type": "Link",
314
- "linkType": "Asset",
315
- "id": "happycat"
316
- }
317
- }
318
- }
319
- },
320
- "sys": {
321
- "space": {
322
- "sys": {
323
- "type": "Link",
324
- "linkType": "Space",
325
- "id": "cfexampleapi"
326
- }
327
- },
328
- "type": "Entry",
329
- "contentType": {
330
- "sys": {
331
- "type": "Link",
332
- "linkType": "ContentType",
333
- "id": "cat"
334
- }
335
- },
336
- "id": "happycat",
337
- "revision": 8,
338
- "createdAt": "2013-06-27T22:46:20.171Z",
339
- "updatedAt": "2013-11-18T15:58:02.018Z"
340
- }
341
- },
342
- {
343
- "sys": {
344
- "space": {
345
- "sys": {
346
- "type": "Link",
347
- "linkType": "Space",
348
- "id": "cfexampleapi"
349
- }
350
- },
351
- "type": "Entry",
352
- "contentType": {
353
- "sys": {
354
- "type": "Link",
355
- "linkType": "ContentType",
356
- "id": "dog"
357
- }
358
- },
359
- "id": "6KntaYXaHSyIw8M6eo26OK",
360
- "revision": 2,
361
- "createdAt": "2013-11-06T09:45:27.475Z",
362
- "updatedAt": "2013-11-18T09:13:37.808Z"
363
- },
364
- "fields": {
365
- "name": {
366
- "en-US": "Doge"
367
- },
368
- "image": {
369
- "en-US": {
370
- "sys": {
371
- "type": "Link",
372
- "linkType": "Asset",
373
- "id": "1x0xpXu4pSGS4OukSyWGUK"
374
- }
375
- }
376
- },
377
- "description": {
378
- "en-US": "such json\nwow"
379
- }
380
- }
381
- },
382
- {
383
- "fields": {
384
- "name": {
385
- "en-US": "Finn"
386
- },
387
- "description": {
388
- "en-US": "Fearless adventurer! Defender of pancakes."
389
- },
390
- "likes": {
391
- "en-US": [
392
- "adventure"
393
- ]
394
- },
395
- "image": {}
396
- },
397
- "sys": {
398
- "space": {
399
- "sys": {
400
- "type": "Link",
401
- "linkType": "Space",
402
- "id": "cfexampleapi"
403
- }
404
- },
405
- "type": "Entry",
406
- "contentType": {
407
- "sys": {
408
- "type": "Link",
409
- "linkType": "ContentType",
410
- "id": "human"
411
- }
412
- },
413
- "id": "finn",
414
- "revision": 6,
415
- "createdAt": "2013-06-27T22:46:21.450Z",
416
- "updatedAt": "2013-09-09T16:15:01.297Z"
417
- }
418
- },
419
- {
420
- "fields": {
421
- "name": {
422
- "en-US": "Nyan Cat",
423
- "tlh": "Nyan vIghro'"
424
- },
425
- "likes": {
426
- "en-US": [
427
- "rainbows",
428
- "fish"
429
- ]
430
- },
431
- "color": {
432
- "en-US": "rainbow"
433
- },
434
- "bestFriend": {
435
- "en-US": {
436
- "sys": {
437
- "type": "Link",
438
- "linkType": "Entry",
439
- "id": "happycat"
440
- }
441
- }
442
- },
443
- "birthday": {
444
- "en-US": "2011-04-04T22:00:00+00:00"
445
- },
446
- "lives": {
447
- "en-US": 1337
448
- },
449
- "image": {
450
- "en-US": {
451
- "sys": {
452
- "type": "Link",
453
- "linkType": "Asset",
454
- "id": "nyancat"
455
- }
456
- }
457
- }
458
- },
459
- "sys": {
460
- "space": {
461
- "sys": {
462
- "type": "Link",
463
- "linkType": "Space",
464
- "id": "cfexampleapi"
465
- }
466
- },
467
- "type": "Entry",
468
- "contentType": {
469
- "sys": {
470
- "type": "Link",
471
- "linkType": "ContentType",
472
- "id": "cat"
473
- }
474
- },
475
- "id": "nyancat",
476
- "revision": 5,
477
- "createdAt": "2013-06-27T22:46:19.513Z",
478
- "updatedAt": "2013-09-04T09:19:39.027Z"
479
- }
480
- },
481
- {
482
- "fields": {
483
- "title": {
484
- "en-US": "Jake"
485
- },
486
- "file": {
487
- "en-US": {
488
- "fileName": "jake.png",
489
- "contentType": "image/png",
490
- "details": {
491
- "image": {
492
- "width": 100,
493
- "height": 161
494
- },
495
- "size": 20480
496
- },
497
- "url": "//images.contentful.com/cfexampleapi/4hlteQAXS8iS0YCMU6QMWg/2a4d826144f014109364ccf5c891d2dd/jake.png"
498
- }
499
- }
500
- },
501
- "sys": {
502
- "space": {
503
- "sys": {
504
- "type": "Link",
505
- "linkType": "Space",
506
- "id": "cfexampleapi"
507
- }
508
- },
509
- "type": "Asset",
510
- "id": "jake",
511
- "revision": 2,
512
- "createdAt": "2013-09-02T14:56:34.260Z",
513
- "updatedAt": "2013-09-02T15:22:39.466Z"
514
- }
515
- },
516
- {
517
- "fields": {
518
- "file": {
519
- "en-US": {
520
- "fileName": "happycatw.jpg",
521
- "contentType": "image/jpeg",
522
- "details": {
523
- "image": {
524
- "width": 273,
525
- "height": 397
526
- },
527
- "size": 59939
528
- },
529
- "url": "//images.contentful.com/cfexampleapi/3MZPnjZTIskAIIkuuosCss/382a48dfa2cb16c47aa2c72f7b23bf09/happycatw.jpg"
530
- }
531
- },
532
- "title": {
533
- "en-US": "Happy Cat"
534
- }
535
- },
536
- "sys": {
537
- "space": {
538
- "sys": {
539
- "type": "Link",
540
- "linkType": "Space",
541
- "id": "cfexampleapi"
542
- }
543
- },
544
- "type": "Asset",
545
- "id": "happycat",
546
- "revision": 2,
547
- "createdAt": "2013-09-02T14:56:34.267Z",
548
- "updatedAt": "2013-09-02T15:11:24.361Z"
549
- }
550
- },
551
- {
552
- "fields": {
553
- "title": {
554
- "en-US": "Nyan Cat"
555
- },
556
- "file": {
557
- "en-US": {
558
- "fileName": "Nyan_cat_250px_frame.png",
559
- "contentType": "image/png",
560
- "details": {
561
- "image": {
562
- "width": 250,
563
- "height": 250
564
- },
565
- "size": 12273
566
- },
567
- "url": "//images.contentful.com/cfexampleapi/4gp6taAwW4CmSgumq2ekUm/9da0cd1936871b8d72343e895a00d611/Nyan_cat_250px_frame.png"
568
- }
569
- }
570
- },
571
- "sys": {
572
- "space": {
573
- "sys": {
574
- "type": "Link",
575
- "linkType": "Space",
576
- "id": "cfexampleapi"
577
- }
578
- },
579
- "type": "Asset",
580
- "id": "nyancat",
581
- "revision": 1,
582
- "createdAt": "2013-09-02T14:56:34.240Z",
583
- "updatedAt": "2013-09-02T14:56:34.240Z"
584
- }
585
- },
586
- {
587
- "fields": {
588
- "name": {
589
- "en-US": "Garfield",
590
- "tlh": "Garfield"
591
- },
592
- "likes": {
593
- "en-US": [
594
- "lasagna"
595
- ]
596
- },
597
- "color": {
598
- "en-US": "orange"
599
- },
600
- "lifes": {
601
- "en-US": null
602
- },
603
- "lives": {
604
- "en-US": 9
605
- },
606
- "birthday": {
607
- "en-US": "1979-06-18T23:00:00+00:00"
608
- }
609
- },
610
- "sys": {
611
- "space": {
612
- "sys": {
613
- "type": "Link",
614
- "linkType": "Space",
615
- "id": "cfexampleapi"
616
- }
617
- },
618
- "type": "Entry",
619
- "contentType": {
620
- "sys": {
621
- "type": "Link",
622
- "linkType": "ContentType",
623
- "id": "cat"
624
- }
625
- },
626
- "id": "garfield",
627
- "revision": 2,
628
- "createdAt": "2013-06-27T22:46:20.821Z",
629
- "updatedAt": "2013-08-27T10:09:07.929Z"
630
- }
631
- }
632
- ],
633
- "nextPageUrl": "https://cdn.contentful.com/spaces/cfexampleapi/environments/master/sync?sync_token=w5ZGw6JFwqZmVcKsE8Kow4grw45QdybCr8Okw6AYwqbDksO3ehvDpUPCgcKsKXbCiAwPC8K2w4LDvsOkw6nCjhPDpcOQADElWsOoU8KGR3HCtsOAwqd6wp_Dulp8w6LDsF_CtsK7Kk05wrMvwrLClMOgG2_Dn2sGPg"
634
- }
635
- http_version:
636
- recorded_at: Mon, 21 Apr 2014 19:52:28 GMT
637
- recorded_with: VCR 2.9.0