contentful-management 0.0.2 → 0.0.3

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 (36) hide show
  1. data/CHANGELOG.md +8 -0
  2. data/README.md +17 -0
  3. data/lib/contentful/management/array.rb +3 -1
  4. data/lib/contentful/management/asset.rb +16 -14
  5. data/lib/contentful/management/client.rb +1 -1
  6. data/lib/contentful/management/content_type.rb +18 -18
  7. data/lib/contentful/management/entry.rb +20 -19
  8. data/lib/contentful/management/locale.rb +4 -4
  9. data/lib/contentful/management/request.rb +4 -2
  10. data/lib/contentful/management/resource.rb +8 -8
  11. data/lib/contentful/management/resource/refresher.rb +8 -1
  12. data/lib/contentful/management/resource_builder.rb +3 -3
  13. data/lib/contentful/management/response.rb +10 -3
  14. data/lib/contentful/management/space.rb +11 -11
  15. data/lib/contentful/management/version.rb +1 -1
  16. data/spec/fixtures/vcr_cassettes/asset/create_with_locale.yml +151 -0
  17. data/spec/fixtures/vcr_cassettes/asset/limited_assets_next_page.yml +123 -0
  18. data/spec/fixtures/vcr_cassettes/asset/reload.yml +406 -0
  19. data/spec/fixtures/vcr_cassettes/content_type/reload.yml +394 -0
  20. data/spec/fixtures/vcr_cassettes/entry/all.yml +231 -36
  21. data/spec/fixtures/vcr_cassettes/entry/content_type_entires.yml +99 -23
  22. data/spec/fixtures/vcr_cassettes/entry/create_with_specified_locale.yml +509 -0
  23. data/spec/fixtures/vcr_cassettes/entry/limited_entries.yml +236 -0
  24. data/spec/fixtures/vcr_cassettes/entry/reload.yml +1027 -0
  25. data/spec/fixtures/vcr_cassettes/locale/reload.yml +279 -0
  26. data/spec/fixtures/vcr_cassettes/space/asset/all_with_skip_and_limit.yml +355 -0
  27. data/spec/fixtures/vcr_cassettes/space/asset/with_skipped_and_limited_assets_next_page.yml +635 -0
  28. data/spec/fixtures/vcr_cassettes/space/entry/with_skipped_and_limited_entires_next_page.yml +648 -0
  29. data/spec/fixtures/vcr_cassettes/space/entry/with_skipped_andlimited_entires.yml +468 -0
  30. data/spec/fixtures/vcr_cassettes/space/reload.yml +739 -0
  31. data/spec/lib/contentful/management/asset_spec.rb +42 -2
  32. data/spec/lib/contentful/management/content_type_spec.rb +16 -1
  33. data/spec/lib/contentful/management/entry_spec.rb +38 -5
  34. data/spec/lib/contentful/management/locale_spec.rb +14 -0
  35. data/spec/lib/contentful/management/space_spec.rb +46 -2
  36. metadata +31 -5
@@ -0,0 +1,236 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g/entries?limit=20&skip=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - RubyContenfulManagementGem/0.0.2
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Host:
17
+ - api.contentful.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Mon, 18 Aug 2014 10:38:27 GMT
27
+ Content-Type:
28
+ - application/vnd.contentful.management.v1+json
29
+ Content-Length:
30
+ - '2831'
31
+ Connection:
32
+ - keep-alive
33
+ X-Powered-By:
34
+ - Express
35
+ Cf-Space-Id:
36
+ - bfsvtul0c41g
37
+ Etag:
38
+ - '"69650333fd6c5d5612a6e9f14fd0788e"'
39
+ Access-Control-Allow-Origin:
40
+ - "*"
41
+ Access-Control-Allow-Headers:
42
+ - 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
43
+ Access-Control-Allow-Methods:
44
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
45
+ "^access-Control-Expose-Headers":
46
+ - Etag
47
+ Access-Control-Max-Age:
48
+ - '1728000'
49
+ body:
50
+ encoding: UTF-8
51
+ string: |
52
+ {
53
+ "sys": {
54
+ "type": "Array"
55
+ },
56
+ "total": 4,
57
+ "skip": 2,
58
+ "limit": 20,
59
+ "items": [
60
+ {
61
+ "sys": {
62
+ "id": "3BERBnawlySqMgMqW6MgKw",
63
+ "type": "Entry",
64
+ "createdAt": "2014-08-18T08:16:40.050Z",
65
+ "createdBy": {
66
+ "sys": {
67
+ "type": "Link",
68
+ "linkType": "User",
69
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
70
+ }
71
+ },
72
+ "space": {
73
+ "sys": {
74
+ "type": "Link",
75
+ "linkType": "Space",
76
+ "id": "bfsvtul0c41g"
77
+ }
78
+ },
79
+ "contentType": {
80
+ "sys": {
81
+ "type": "Link",
82
+ "linkType": "ContentType",
83
+ "id": "category_content_type"
84
+ }
85
+ },
86
+ "firstPublishedAt": "2014-08-18T08:16:50.130Z",
87
+ "publishedCounter": 1,
88
+ "publishedAt": "2014-08-18T08:16:50.130Z",
89
+ "publishedBy": {
90
+ "sys": {
91
+ "type": "Link",
92
+ "linkType": "User",
93
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
94
+ }
95
+ },
96
+ "publishedVersion": 7,
97
+ "version": 8,
98
+ "updatedAt": "2014-08-18T08:16:50.134Z",
99
+ "updatedBy": {
100
+ "sys": {
101
+ "type": "Link",
102
+ "linkType": "User",
103
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
104
+ }
105
+ }
106
+ },
107
+ "fields": {
108
+ "name": {
109
+ "en-US": "SF"
110
+ },
111
+ "description": {
112
+ "en-US": "sf"
113
+ }
114
+ }
115
+ },
116
+ {
117
+ "sys": {
118
+ "id": "6lClwnQgX6UEESuIqUkc4E",
119
+ "type": "Entry",
120
+ "createdAt": "2014-08-18T09:11:00.234Z",
121
+ "createdBy": {
122
+ "sys": {
123
+ "type": "Link",
124
+ "linkType": "User",
125
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
126
+ }
127
+ },
128
+ "space": {
129
+ "sys": {
130
+ "type": "Link",
131
+ "linkType": "Space",
132
+ "id": "bfsvtul0c41g"
133
+ }
134
+ },
135
+ "contentType": {
136
+ "sys": {
137
+ "type": "Link",
138
+ "linkType": "ContentType",
139
+ "id": "category_content_type"
140
+ }
141
+ },
142
+ "firstPublishedAt": "2014-08-18T09:11:04.986Z",
143
+ "publishedCounter": 1,
144
+ "publishedAt": "2014-08-18T09:11:04.986Z",
145
+ "publishedBy": {
146
+ "sys": {
147
+ "type": "Link",
148
+ "linkType": "User",
149
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
150
+ }
151
+ },
152
+ "publishedVersion": 8,
153
+ "version": 9,
154
+ "updatedAt": "2014-08-18T09:11:04.989Z",
155
+ "updatedBy": {
156
+ "sys": {
157
+ "type": "Link",
158
+ "linkType": "User",
159
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
160
+ }
161
+ }
162
+ },
163
+ "fields": {
164
+ "name": {
165
+ "en-US": "sss"
166
+ },
167
+ "description": {
168
+ "en-US": "ssss"
169
+ }
170
+ }
171
+ }
172
+ ]
173
+ }
174
+ http_version:
175
+ recorded_at: Mon, 18 Aug 2014 10:38:30 GMT
176
+ - request:
177
+ method: get
178
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g/entries?limit=20&skip=22
179
+ body:
180
+ encoding: US-ASCII
181
+ string: ''
182
+ headers:
183
+ User-Agent:
184
+ - RubyContenfulManagementGem/0.0.2
185
+ Authorization:
186
+ - Bearer <ACCESS_TOKEN>
187
+ Content-Type:
188
+ - application/vnd.contentful.management.v1+json
189
+ Host:
190
+ - api.contentful.com
191
+ response:
192
+ status:
193
+ code: 200
194
+ message: OK
195
+ headers:
196
+ Server:
197
+ - nginx
198
+ Date:
199
+ - Mon, 18 Aug 2014 10:38:27 GMT
200
+ Content-Type:
201
+ - application/vnd.contentful.management.v1+json
202
+ Content-Length:
203
+ - '97'
204
+ Connection:
205
+ - keep-alive
206
+ X-Powered-By:
207
+ - Express
208
+ Cf-Space-Id:
209
+ - bfsvtul0c41g
210
+ Etag:
211
+ - '"f0a857dee027fced5295eb0d3a9ac74e"'
212
+ Access-Control-Allow-Origin:
213
+ - "*"
214
+ Access-Control-Allow-Headers:
215
+ - 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
216
+ Access-Control-Allow-Methods:
217
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
218
+ "^access-Control-Expose-Headers":
219
+ - Etag
220
+ Access-Control-Max-Age:
221
+ - '1728000'
222
+ body:
223
+ encoding: UTF-8
224
+ string: |
225
+ {
226
+ "sys": {
227
+ "type": "Array"
228
+ },
229
+ "total": 4,
230
+ "skip": 22,
231
+ "limit": 20,
232
+ "items": []
233
+ }
234
+ http_version:
235
+ recorded_at: Mon, 18 Aug 2014 10:38:30 GMT
236
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,1027 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - RubyContenfulManagementGem/0.0.2
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Content-Length:
17
+ - '0'
18
+ Host:
19
+ - api.contentful.com
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Server:
26
+ - nginx
27
+ Date:
28
+ - Tue, 19 Aug 2014 11:22:38 GMT
29
+ Content-Type:
30
+ - application/vnd.contentful.management.v1+json
31
+ Content-Length:
32
+ - '459'
33
+ Connection:
34
+ - keep-alive
35
+ Status:
36
+ - 200 OK
37
+ X-Contentful-Request-Id:
38
+ - 85f-1214619997
39
+ Etag:
40
+ - '"4c0ee33eddaabc719d0b81c1ef79fdc4"'
41
+ Accept-Ranges:
42
+ - bytes
43
+ Cache-Control:
44
+ - max-age=0
45
+ Access-Control-Allow-Origin:
46
+ - "*"
47
+ Access-Control-Allow-Headers:
48
+ - 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
49
+ Access-Control-Allow-Methods:
50
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
51
+ "^access-Control-Expose-Headers":
52
+ - Etag
53
+ Access-Control-Max-Age:
54
+ - '1728000'
55
+ body:
56
+ encoding: UTF-8
57
+ string: |
58
+ {
59
+ "sys":{
60
+ "type":"Space",
61
+ "id":"bfsvtul0c41g",
62
+ "version":1,
63
+ "createdBy":{
64
+ "sys":{
65
+ "type":"Link",
66
+ "linkType":"User",
67
+ "id":"1E7acJL8I5XUXAMHQt9Grs"
68
+ }
69
+ },
70
+ "createdAt":"2014-08-18T06:51:53Z",
71
+ "updatedBy":{
72
+ "sys":{
73
+ "type":"Link",
74
+ "linkType":"User",
75
+ "id":"1E7acJL8I5XUXAMHQt9Grs"
76
+ }
77
+ },
78
+ "updatedAt":"2014-08-18T06:51:53Z"
79
+ },
80
+ "name":"CMA_demo_rails_app"}
81
+ http_version:
82
+ recorded_at: Tue, 19 Aug 2014 11:22:33 GMT
83
+ - request:
84
+ method: get
85
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g/content_types
86
+ body:
87
+ encoding: US-ASCII
88
+ string: ''
89
+ headers:
90
+ User-Agent:
91
+ - RubyContenfulManagementGem/0.0.2
92
+ Authorization:
93
+ - Bearer <ACCESS_TOKEN>
94
+ Content-Type:
95
+ - application/vnd.contentful.management.v1+json
96
+ Content-Length:
97
+ - '0'
98
+ Host:
99
+ - api.contentful.com
100
+ response:
101
+ status:
102
+ code: 200
103
+ message: OK
104
+ headers:
105
+ Server:
106
+ - nginx
107
+ Date:
108
+ - Tue, 19 Aug 2014 11:22:39 GMT
109
+ Content-Type:
110
+ - application/vnd.contentful.management.v1+json
111
+ Content-Length:
112
+ - '4707'
113
+ Connection:
114
+ - keep-alive
115
+ X-Powered-By:
116
+ - Express
117
+ Cf-Space-Id:
118
+ - bfsvtul0c41g
119
+ Etag:
120
+ - '"baead1f323786eb7d4357497dcad6733"'
121
+ Access-Control-Allow-Origin:
122
+ - "*"
123
+ Access-Control-Allow-Headers:
124
+ - 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
125
+ Access-Control-Allow-Methods:
126
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
127
+ "^access-Control-Expose-Headers":
128
+ - Etag
129
+ Access-Control-Max-Age:
130
+ - '1728000'
131
+ body:
132
+ encoding: UTF-8
133
+ string: |
134
+ {
135
+ "sys": {
136
+ "type": "Array"
137
+ },
138
+ "total": 2,
139
+ "skip": 0,
140
+ "limit": 100,
141
+ "items": [
142
+ {
143
+ "name": "Category",
144
+ "description": "",
145
+ "fields": [
146
+ {
147
+ "id": "name",
148
+ "name": "Name",
149
+ "type": "Text",
150
+ "localized": true,
151
+ "uiid": "4vp0pcgc7b4"
152
+ },
153
+ {
154
+ "id": "description",
155
+ "name": "Description",
156
+ "type": "Text",
157
+ "localized": true,
158
+ "uiid": "40jqtxghjb4"
159
+ }
160
+ ],
161
+ "sys": {
162
+ "id": "category_content_type",
163
+ "type": "ContentType",
164
+ "createdAt": "2014-08-18T06:51:59.560Z",
165
+ "createdBy": {
166
+ "sys": {
167
+ "type": "Link",
168
+ "linkType": "User",
169
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
170
+ }
171
+ },
172
+ "space": {
173
+ "sys": {
174
+ "type": "Link",
175
+ "linkType": "Space",
176
+ "id": "bfsvtul0c41g"
177
+ }
178
+ },
179
+ "firstPublishedAt": "2014-08-18T06:52:02.517Z",
180
+ "publishedCounter": 4,
181
+ "publishedAt": "2014-08-19T06:19:06.351Z",
182
+ "publishedBy": {
183
+ "sys": {
184
+ "type": "Link",
185
+ "linkType": "User",
186
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
187
+ }
188
+ },
189
+ "publishedVersion": 26,
190
+ "version": 27,
191
+ "updatedAt": "2014-08-19T06:19:06.356Z",
192
+ "updatedBy": {
193
+ "sys": {
194
+ "type": "Link",
195
+ "linkType": "User",
196
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
197
+ }
198
+ }
199
+ },
200
+ "displayField": "name"
201
+ },
202
+ {
203
+ "name": "Post",
204
+ "description": "",
205
+ "fields": [
206
+ {
207
+ "id": "post_title",
208
+ "name": "Title",
209
+ "type": "Text",
210
+ "localized": true,
211
+ "uiid": "4e20dxdupz4"
212
+ },
213
+ {
214
+ "id": "post_author",
215
+ "name": "Author",
216
+ "type": "Text",
217
+ "localized": true,
218
+ "uiid": "2s5prxyzvgg"
219
+ },
220
+ {
221
+ "id": "post_body",
222
+ "name": "Body",
223
+ "type": "Text",
224
+ "localized": true,
225
+ "uiid": "32vqnqsdreo"
226
+ },
227
+ {
228
+ "id": "post_title_image",
229
+ "name": "Title Image",
230
+ "type": "Link",
231
+ "linkType": "Asset",
232
+ "required": true,
233
+ "localized": true,
234
+ "uiid": "3m8cw01d5vk"
235
+ },
236
+ {
237
+ "id": "post_second_image",
238
+ "name": "Second Image",
239
+ "type": "Link",
240
+ "linkType": "Asset",
241
+ "localized": true,
242
+ "uiid": "3gjxnofhkao"
243
+ },
244
+ {
245
+ "id": "post_category_id",
246
+ "name": "Category",
247
+ "type": "Link",
248
+ "linkType": "Entry",
249
+ "uiid": "3qu5za5cnpc"
250
+ },
251
+ {
252
+ "id": "post_assets",
253
+ "name": "Post Assets",
254
+ "type": "Array",
255
+ "items": {
256
+ "type": "Link",
257
+ "linkType": "Asset"
258
+ },
259
+ "uiid": "35ykvfj4x6o"
260
+ },
261
+ {
262
+ "id": "xxx",
263
+ "name": "xxx",
264
+ "type": "Symbol",
265
+ "uiid": "4onqde99wxs"
266
+ },
267
+ {
268
+ "id": "xxx123",
269
+ "name": "xxx123",
270
+ "type": "Symbol",
271
+ "uiid": "4o64i125l34"
272
+ },
273
+ {
274
+ "id": "ssss",
275
+ "name": "Post ssss",
276
+ "type": "Array",
277
+ "items": {
278
+ "type": "Link",
279
+ "linkType": "Asset"
280
+ },
281
+ "uiid": "2skdkwqvta8"
282
+ },
283
+ {
284
+ "name": "xxasdasd",
285
+ "id": "xxasdasd",
286
+ "type": "Boolean",
287
+ "uiid": "387exwqopa8"
288
+ }
289
+ ],
290
+ "sys": {
291
+ "id": "post_content_type",
292
+ "type": "ContentType",
293
+ "createdAt": "2014-08-18T06:52:03.545Z",
294
+ "createdBy": {
295
+ "sys": {
296
+ "type": "Link",
297
+ "linkType": "User",
298
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
299
+ }
300
+ },
301
+ "space": {
302
+ "sys": {
303
+ "type": "Link",
304
+ "linkType": "Space",
305
+ "id": "bfsvtul0c41g"
306
+ }
307
+ },
308
+ "firstPublishedAt": "2014-08-18T06:52:10.462Z",
309
+ "publishedCounter": 4,
310
+ "publishedAt": "2014-08-18T12:42:39.643Z",
311
+ "publishedBy": {
312
+ "sys": {
313
+ "type": "Link",
314
+ "linkType": "User",
315
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
316
+ }
317
+ },
318
+ "publishedVersion": 33,
319
+ "version": 35,
320
+ "updatedAt": "2014-08-19T10:19:42.592Z",
321
+ "updatedBy": {
322
+ "sys": {
323
+ "type": "Link",
324
+ "linkType": "User",
325
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
326
+ }
327
+ }
328
+ }
329
+ }
330
+ ]
331
+ }
332
+ http_version:
333
+ recorded_at: Tue, 19 Aug 2014 11:22:34 GMT
334
+ - request:
335
+ method: get
336
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g/entries/2arjcjtY7ucC4AGeIOIkok
337
+ body:
338
+ encoding: US-ASCII
339
+ string: ''
340
+ headers:
341
+ User-Agent:
342
+ - RubyContenfulManagementGem/0.0.2
343
+ Authorization:
344
+ - Bearer <ACCESS_TOKEN>
345
+ Content-Type:
346
+ - application/vnd.contentful.management.v1+json
347
+ Content-Length:
348
+ - '0'
349
+ Host:
350
+ - api.contentful.com
351
+ response:
352
+ status:
353
+ code: 200
354
+ message: OK
355
+ headers:
356
+ Server:
357
+ - nginx
358
+ Date:
359
+ - Tue, 19 Aug 2014 11:22:40 GMT
360
+ Content-Type:
361
+ - application/vnd.contentful.management.v1+json
362
+ Content-Length:
363
+ - '2568'
364
+ Connection:
365
+ - keep-alive
366
+ X-Powered-By:
367
+ - Express
368
+ Cf-Space-Id:
369
+ - bfsvtul0c41g
370
+ Etag:
371
+ - '"29b2d81093deb9e23c531ee37c35049f"'
372
+ Access-Control-Allow-Origin:
373
+ - "*"
374
+ Access-Control-Allow-Headers:
375
+ - 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
376
+ Access-Control-Allow-Methods:
377
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
378
+ "^access-Control-Expose-Headers":
379
+ - Etag
380
+ Access-Control-Max-Age:
381
+ - '1728000'
382
+ body:
383
+ encoding: UTF-8
384
+ string: |
385
+ {
386
+ "fields": {
387
+ "post_title": {
388
+ "en-US": "Some title of post"
389
+ },
390
+ "post_author": {
391
+ "en-US": "Tom Dom"
392
+ },
393
+ "post_body": {
394
+ "en-US": "Letterpress sustainable authentic, disrupt semiotics actually kitsch. Direct trade Cosby sweater Austin, Pitchfork flexitarian small batch authentic roof party 8-bit YOLO literally Neutra pour-over American Apparel dreamcatcher. High Life distillery cliche YOLO, flexitarian four loko put a bird on it plaid Marfa Shoreditch seitan Echo Park bicycle rights Pinterest PBR. Drinking vinegar Banksy gastropub, stumptown occupy farm-to-table Blue Bottle tattooed Truffaut single-origin coffee iPhone locavore pug"
395
+ },
396
+ "post_title_image": {
397
+ "en-US": {
398
+ "sys": {
399
+ "type": "Link",
400
+ "linkType": "Asset",
401
+ "id": "5LCvaD9lfycy02uqkwyE8S"
402
+ }
403
+ },
404
+ "de-DE": {
405
+ "sys": {
406
+ "type": "Link",
407
+ "linkType": "Asset",
408
+ "id": "5LCvaD9lfycy02uqkwyE8S"
409
+ }
410
+ },
411
+ "pl-PL": {
412
+ "sys": {
413
+ "type": "Link",
414
+ "linkType": "Asset",
415
+ "id": "5LCvaD9lfycy02uqkwyE8S"
416
+ }
417
+ }
418
+ },
419
+ "post_second_image": {
420
+ "en-US": {
421
+ "sys": {
422
+ "type": "Link",
423
+ "linkType": "Asset",
424
+ "id": "5LCvaD9lfycy02uqkwyE8S"
425
+ }
426
+ }
427
+ },
428
+ "post_category_id": {
429
+ "en-US": {
430
+ "sys": {
431
+ "type": "Link",
432
+ "linkType": "Entry",
433
+ "id": "5zZ8SnlKNiy2yEMOaecegy"
434
+ }
435
+ }
436
+ }
437
+ },
438
+ "sys": {
439
+ "id": "2arjcjtY7ucC4AGeIOIkok",
440
+ "type": "Entry",
441
+ "createdAt": "2014-08-18T06:54:57.974Z",
442
+ "createdBy": {
443
+ "sys": {
444
+ "type": "Link",
445
+ "linkType": "User",
446
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
447
+ }
448
+ },
449
+ "space": {
450
+ "sys": {
451
+ "type": "Link",
452
+ "linkType": "Space",
453
+ "id": "bfsvtul0c41g"
454
+ }
455
+ },
456
+ "contentType": {
457
+ "sys": {
458
+ "type": "Link",
459
+ "linkType": "ContentType",
460
+ "id": "post_content_type"
461
+ }
462
+ },
463
+ "firstPublishedAt": "2014-08-18T07:06:32.551Z",
464
+ "publishedCounter": 3,
465
+ "publishedAt": "2014-08-18T07:14:47.935Z",
466
+ "publishedBy": {
467
+ "sys": {
468
+ "type": "Link",
469
+ "linkType": "User",
470
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
471
+ }
472
+ },
473
+ "publishedVersion": 9,
474
+ "version": 10,
475
+ "updatedAt": "2014-08-18T07:14:47.944Z",
476
+ "updatedBy": {
477
+ "sys": {
478
+ "type": "Link",
479
+ "linkType": "User",
480
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
481
+ }
482
+ }
483
+ }
484
+ }
485
+ http_version:
486
+ recorded_at: Tue, 19 Aug 2014 11:22:34 GMT
487
+ - request:
488
+ method: put
489
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g/entries/2arjcjtY7ucC4AGeIOIkok
490
+ body:
491
+ encoding: UTF-8
492
+ string: '{"fields":{"post_title":{"en-US":"Updated title","de-DE":null,"pl-PL":null},"post_author":{"en-US":"Tom
493
+ Dom","de-DE":null,"pl-PL":null},"post_body":{"en-US":"Letterpress sustainable
494
+ authentic, disrupt semiotics actually kitsch. Direct trade Cosby sweater Austin,
495
+ Pitchfork flexitarian small batch authentic roof party 8-bit YOLO literally
496
+ Neutra pour-over American Apparel dreamcatcher. High Life distillery cliche
497
+ YOLO, flexitarian four loko put a bird on it plaid Marfa Shoreditch seitan
498
+ Echo Park bicycle rights Pinterest PBR. Drinking vinegar Banksy gastropub,
499
+ stumptown occupy farm-to-table Blue Bottle tattooed Truffaut single-origin
500
+ coffee iPhone locavore pug","de-DE":null,"pl-PL":null},"post_title_image":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"5LCvaD9lfycy02uqkwyE8S"}},"de-DE":{"sys":{"type":"Link","linkType":"Asset","id":"5LCvaD9lfycy02uqkwyE8S"}},"pl-PL":{"sys":{"type":"Link","linkType":"Asset","id":"5LCvaD9lfycy02uqkwyE8S"}}},"post_second_image":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"5LCvaD9lfycy02uqkwyE8S"}},"de-DE":null,"pl-PL":null},"post_category_id":{"en-US":{"sys":{"type":"Link","linkType":"Entry","id":"5zZ8SnlKNiy2yEMOaecegy"}},"de-DE":null,"pl-PL":null}}}'
501
+ headers:
502
+ User-Agent:
503
+ - RubyContenfulManagementGem/0.0.2
504
+ Authorization:
505
+ - Bearer <ACCESS_TOKEN>
506
+ Content-Type:
507
+ - application/vnd.contentful.management.v1+json
508
+ X-Contentful-Version:
509
+ - '999'
510
+ Host:
511
+ - api.contentful.com
512
+ response:
513
+ status:
514
+ code: 400
515
+ message: Bad Request
516
+ headers:
517
+ Server:
518
+ - nginx
519
+ Date:
520
+ - Tue, 19 Aug 2014 11:22:40 GMT
521
+ Content-Type:
522
+ - application/vnd.contentful.management.v1+json
523
+ Transfer-Encoding:
524
+ - chunked
525
+ Connection:
526
+ - keep-alive
527
+ X-Powered-By:
528
+ - Express
529
+ Access-Control-Allow-Origin:
530
+ - "*"
531
+ Access-Control-Allow-Headers:
532
+ - 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
533
+ Access-Control-Allow-Methods:
534
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
535
+ "^access-Control-Expose-Headers":
536
+ - Etag
537
+ Access-Control-Max-Age:
538
+ - '1728000'
539
+ body:
540
+ encoding: UTF-8
541
+ string: |
542
+ {
543
+ "sys": {
544
+ "type": "Error",
545
+ "id": "VersionMismatch"
546
+ }
547
+ }
548
+ http_version:
549
+ recorded_at: Tue, 19 Aug 2014 11:22:35 GMT
550
+ - request:
551
+ method: get
552
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g/entries/2arjcjtY7ucC4AGeIOIkok
553
+ body:
554
+ encoding: US-ASCII
555
+ string: ''
556
+ headers:
557
+ User-Agent:
558
+ - RubyContenfulManagementGem/0.0.2
559
+ Authorization:
560
+ - Bearer <ACCESS_TOKEN>
561
+ Content-Type:
562
+ - application/vnd.contentful.management.v1+json
563
+ Content-Length:
564
+ - '0'
565
+ Host:
566
+ - api.contentful.com
567
+ response:
568
+ status:
569
+ code: 200
570
+ message: OK
571
+ headers:
572
+ Server:
573
+ - nginx
574
+ Date:
575
+ - Tue, 19 Aug 2014 11:22:41 GMT
576
+ Content-Type:
577
+ - application/vnd.contentful.management.v1+json
578
+ Content-Length:
579
+ - '2568'
580
+ Connection:
581
+ - keep-alive
582
+ X-Powered-By:
583
+ - Express
584
+ Cf-Space-Id:
585
+ - bfsvtul0c41g
586
+ Etag:
587
+ - '"29b2d81093deb9e23c531ee37c35049f"'
588
+ Access-Control-Allow-Origin:
589
+ - "*"
590
+ Access-Control-Allow-Headers:
591
+ - 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
592
+ Access-Control-Allow-Methods:
593
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
594
+ "^access-Control-Expose-Headers":
595
+ - Etag
596
+ Access-Control-Max-Age:
597
+ - '1728000'
598
+ body:
599
+ encoding: UTF-8
600
+ string: |
601
+ {
602
+ "fields": {
603
+ "post_title": {
604
+ "en-US": "Some title of post"
605
+ },
606
+ "post_author": {
607
+ "en-US": "Tom Dom"
608
+ },
609
+ "post_body": {
610
+ "en-US": "Letterpress sustainable authentic, disrupt semiotics actually kitsch. Direct trade Cosby sweater Austin, Pitchfork flexitarian small batch authentic roof party 8-bit YOLO literally Neutra pour-over American Apparel dreamcatcher. High Life distillery cliche YOLO, flexitarian four loko put a bird on it plaid Marfa Shoreditch seitan Echo Park bicycle rights Pinterest PBR. Drinking vinegar Banksy gastropub, stumptown occupy farm-to-table Blue Bottle tattooed Truffaut single-origin coffee iPhone locavore pug"
611
+ },
612
+ "post_title_image": {
613
+ "en-US": {
614
+ "sys": {
615
+ "type": "Link",
616
+ "linkType": "Asset",
617
+ "id": "5LCvaD9lfycy02uqkwyE8S"
618
+ }
619
+ },
620
+ "de-DE": {
621
+ "sys": {
622
+ "type": "Link",
623
+ "linkType": "Asset",
624
+ "id": "5LCvaD9lfycy02uqkwyE8S"
625
+ }
626
+ },
627
+ "pl-PL": {
628
+ "sys": {
629
+ "type": "Link",
630
+ "linkType": "Asset",
631
+ "id": "5LCvaD9lfycy02uqkwyE8S"
632
+ }
633
+ }
634
+ },
635
+ "post_second_image": {
636
+ "en-US": {
637
+ "sys": {
638
+ "type": "Link",
639
+ "linkType": "Asset",
640
+ "id": "5LCvaD9lfycy02uqkwyE8S"
641
+ }
642
+ }
643
+ },
644
+ "post_category_id": {
645
+ "en-US": {
646
+ "sys": {
647
+ "type": "Link",
648
+ "linkType": "Entry",
649
+ "id": "5zZ8SnlKNiy2yEMOaecegy"
650
+ }
651
+ }
652
+ }
653
+ },
654
+ "sys": {
655
+ "id": "2arjcjtY7ucC4AGeIOIkok",
656
+ "type": "Entry",
657
+ "createdAt": "2014-08-18T06:54:57.974Z",
658
+ "createdBy": {
659
+ "sys": {
660
+ "type": "Link",
661
+ "linkType": "User",
662
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
663
+ }
664
+ },
665
+ "space": {
666
+ "sys": {
667
+ "type": "Link",
668
+ "linkType": "Space",
669
+ "id": "bfsvtul0c41g"
670
+ }
671
+ },
672
+ "contentType": {
673
+ "sys": {
674
+ "type": "Link",
675
+ "linkType": "ContentType",
676
+ "id": "post_content_type"
677
+ }
678
+ },
679
+ "firstPublishedAt": "2014-08-18T07:06:32.551Z",
680
+ "publishedCounter": 3,
681
+ "publishedAt": "2014-08-18T07:14:47.935Z",
682
+ "publishedBy": {
683
+ "sys": {
684
+ "type": "Link",
685
+ "linkType": "User",
686
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
687
+ }
688
+ },
689
+ "publishedVersion": 9,
690
+ "version": 10,
691
+ "updatedAt": "2014-08-18T07:14:47.944Z",
692
+ "updatedBy": {
693
+ "sys": {
694
+ "type": "Link",
695
+ "linkType": "User",
696
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
697
+ }
698
+ }
699
+ }
700
+ }
701
+ http_version:
702
+ recorded_at: Tue, 19 Aug 2014 11:22:36 GMT
703
+ - request:
704
+ method: get
705
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g/entries/2arjcjtY7ucC4AGeIOIkok
706
+ body:
707
+ encoding: US-ASCII
708
+ string: ''
709
+ headers:
710
+ User-Agent:
711
+ - RubyContenfulManagementGem/0.0.2
712
+ Authorization:
713
+ - Bearer <ACCESS_TOKEN>
714
+ Content-Type:
715
+ - application/vnd.contentful.management.v1+json
716
+ Content-Length:
717
+ - '0'
718
+ Host:
719
+ - api.contentful.com
720
+ response:
721
+ status:
722
+ code: 200
723
+ message: OK
724
+ headers:
725
+ Server:
726
+ - nginx
727
+ Date:
728
+ - Tue, 19 Aug 2014 11:22:42 GMT
729
+ Content-Type:
730
+ - application/vnd.contentful.management.v1+json
731
+ Content-Length:
732
+ - '2568'
733
+ Connection:
734
+ - keep-alive
735
+ X-Powered-By:
736
+ - Express
737
+ Cf-Space-Id:
738
+ - bfsvtul0c41g
739
+ Etag:
740
+ - '"29b2d81093deb9e23c531ee37c35049f"'
741
+ Access-Control-Allow-Origin:
742
+ - "*"
743
+ Access-Control-Allow-Headers:
744
+ - 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
745
+ Access-Control-Allow-Methods:
746
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
747
+ "^access-Control-Expose-Headers":
748
+ - Etag
749
+ Access-Control-Max-Age:
750
+ - '1728000'
751
+ body:
752
+ encoding: UTF-8
753
+ string: |
754
+ {
755
+ "fields": {
756
+ "post_title": {
757
+ "en-US": "Some title of post"
758
+ },
759
+ "post_author": {
760
+ "en-US": "Tom Dom"
761
+ },
762
+ "post_body": {
763
+ "en-US": "Letterpress sustainable authentic, disrupt semiotics actually kitsch. Direct trade Cosby sweater Austin, Pitchfork flexitarian small batch authentic roof party 8-bit YOLO literally Neutra pour-over American Apparel dreamcatcher. High Life distillery cliche YOLO, flexitarian four loko put a bird on it plaid Marfa Shoreditch seitan Echo Park bicycle rights Pinterest PBR. Drinking vinegar Banksy gastropub, stumptown occupy farm-to-table Blue Bottle tattooed Truffaut single-origin coffee iPhone locavore pug"
764
+ },
765
+ "post_title_image": {
766
+ "en-US": {
767
+ "sys": {
768
+ "type": "Link",
769
+ "linkType": "Asset",
770
+ "id": "5LCvaD9lfycy02uqkwyE8S"
771
+ }
772
+ },
773
+ "de-DE": {
774
+ "sys": {
775
+ "type": "Link",
776
+ "linkType": "Asset",
777
+ "id": "5LCvaD9lfycy02uqkwyE8S"
778
+ }
779
+ },
780
+ "pl-PL": {
781
+ "sys": {
782
+ "type": "Link",
783
+ "linkType": "Asset",
784
+ "id": "5LCvaD9lfycy02uqkwyE8S"
785
+ }
786
+ }
787
+ },
788
+ "post_second_image": {
789
+ "en-US": {
790
+ "sys": {
791
+ "type": "Link",
792
+ "linkType": "Asset",
793
+ "id": "5LCvaD9lfycy02uqkwyE8S"
794
+ }
795
+ }
796
+ },
797
+ "post_category_id": {
798
+ "en-US": {
799
+ "sys": {
800
+ "type": "Link",
801
+ "linkType": "Entry",
802
+ "id": "5zZ8SnlKNiy2yEMOaecegy"
803
+ }
804
+ }
805
+ }
806
+ },
807
+ "sys": {
808
+ "id": "2arjcjtY7ucC4AGeIOIkok",
809
+ "type": "Entry",
810
+ "createdAt": "2014-08-18T06:54:57.974Z",
811
+ "createdBy": {
812
+ "sys": {
813
+ "type": "Link",
814
+ "linkType": "User",
815
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
816
+ }
817
+ },
818
+ "space": {
819
+ "sys": {
820
+ "type": "Link",
821
+ "linkType": "Space",
822
+ "id": "bfsvtul0c41g"
823
+ }
824
+ },
825
+ "contentType": {
826
+ "sys": {
827
+ "type": "Link",
828
+ "linkType": "ContentType",
829
+ "id": "post_content_type"
830
+ }
831
+ },
832
+ "firstPublishedAt": "2014-08-18T07:06:32.551Z",
833
+ "publishedCounter": 3,
834
+ "publishedAt": "2014-08-18T07:14:47.935Z",
835
+ "publishedBy": {
836
+ "sys": {
837
+ "type": "Link",
838
+ "linkType": "User",
839
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
840
+ }
841
+ },
842
+ "publishedVersion": 9,
843
+ "version": 10,
844
+ "updatedAt": "2014-08-18T07:14:47.944Z",
845
+ "updatedBy": {
846
+ "sys": {
847
+ "type": "Link",
848
+ "linkType": "User",
849
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
850
+ }
851
+ }
852
+ }
853
+ }
854
+ http_version:
855
+ recorded_at: Tue, 19 Aug 2014 11:22:37 GMT
856
+ - request:
857
+ method: put
858
+ uri: https://api.contentful.com/spaces/bfsvtul0c41g/entries/2arjcjtY7ucC4AGeIOIkok
859
+ body:
860
+ encoding: UTF-8
861
+ string: '{"fields":{"post_title":{"en-US":"Updated title","de-DE":null,"pl-PL":null},"post_author":{"en-US":"Tom
862
+ Dom","de-DE":null,"pl-PL":null},"post_body":{"en-US":"Letterpress sustainable
863
+ authentic, disrupt semiotics actually kitsch. Direct trade Cosby sweater Austin,
864
+ Pitchfork flexitarian small batch authentic roof party 8-bit YOLO literally
865
+ Neutra pour-over American Apparel dreamcatcher. High Life distillery cliche
866
+ YOLO, flexitarian four loko put a bird on it plaid Marfa Shoreditch seitan
867
+ Echo Park bicycle rights Pinterest PBR. Drinking vinegar Banksy gastropub,
868
+ stumptown occupy farm-to-table Blue Bottle tattooed Truffaut single-origin
869
+ coffee iPhone locavore pug","de-DE":null,"pl-PL":null},"post_title_image":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"5LCvaD9lfycy02uqkwyE8S"}},"de-DE":{"sys":{"type":"Link","linkType":"Asset","id":"5LCvaD9lfycy02uqkwyE8S"}},"pl-PL":{"sys":{"type":"Link","linkType":"Asset","id":"5LCvaD9lfycy02uqkwyE8S"}}},"post_second_image":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"5LCvaD9lfycy02uqkwyE8S"}},"de-DE":null,"pl-PL":null},"post_category_id":{"en-US":{"sys":{"type":"Link","linkType":"Entry","id":"5zZ8SnlKNiy2yEMOaecegy"}},"de-DE":null,"pl-PL":null}}}'
870
+ headers:
871
+ User-Agent:
872
+ - RubyContenfulManagementGem/0.0.2
873
+ Authorization:
874
+ - Bearer <ACCESS_TOKEN>
875
+ Content-Type:
876
+ - application/vnd.contentful.management.v1+json
877
+ X-Contentful-Version:
878
+ - '10'
879
+ Host:
880
+ - api.contentful.com
881
+ response:
882
+ status:
883
+ code: 200
884
+ message: OK
885
+ headers:
886
+ Server:
887
+ - nginx
888
+ Date:
889
+ - Tue, 19 Aug 2014 11:22:54 GMT
890
+ Content-Type:
891
+ - application/vnd.contentful.management.v1+json
892
+ Content-Length:
893
+ - '2773'
894
+ Connection:
895
+ - keep-alive
896
+ X-Powered-By:
897
+ - Express
898
+ Cf-Space-Id:
899
+ - bfsvtul0c41g
900
+ Etag:
901
+ - '"e192502b8a145511c07da51b710430ca"'
902
+ Access-Control-Allow-Origin:
903
+ - "*"
904
+ Access-Control-Allow-Headers:
905
+ - 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
906
+ Access-Control-Allow-Methods:
907
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
908
+ "^access-Control-Expose-Headers":
909
+ - Etag
910
+ Access-Control-Max-Age:
911
+ - '1728000'
912
+ body:
913
+ encoding: UTF-8
914
+ string: |
915
+ {
916
+ "fields": {
917
+ "post_title": {
918
+ "en-US": "Updated title",
919
+ "de-DE": null,
920
+ "pl-PL": null
921
+ },
922
+ "post_author": {
923
+ "en-US": "Tom Dom",
924
+ "de-DE": null,
925
+ "pl-PL": null
926
+ },
927
+ "post_body": {
928
+ "en-US": "Letterpress sustainable authentic, disrupt semiotics actually kitsch. Direct trade Cosby sweater Austin, Pitchfork flexitarian small batch authentic roof party 8-bit YOLO literally Neutra pour-over American Apparel dreamcatcher. High Life distillery cliche YOLO, flexitarian four loko put a bird on it plaid Marfa Shoreditch seitan Echo Park bicycle rights Pinterest PBR. Drinking vinegar Banksy gastropub, stumptown occupy farm-to-table Blue Bottle tattooed Truffaut single-origin coffee iPhone locavore pug",
929
+ "de-DE": null,
930
+ "pl-PL": null
931
+ },
932
+ "post_title_image": {
933
+ "en-US": {
934
+ "sys": {
935
+ "type": "Link",
936
+ "linkType": "Asset",
937
+ "id": "5LCvaD9lfycy02uqkwyE8S"
938
+ }
939
+ },
940
+ "de-DE": {
941
+ "sys": {
942
+ "type": "Link",
943
+ "linkType": "Asset",
944
+ "id": "5LCvaD9lfycy02uqkwyE8S"
945
+ }
946
+ },
947
+ "pl-PL": {
948
+ "sys": {
949
+ "type": "Link",
950
+ "linkType": "Asset",
951
+ "id": "5LCvaD9lfycy02uqkwyE8S"
952
+ }
953
+ }
954
+ },
955
+ "post_second_image": {
956
+ "en-US": {
957
+ "sys": {
958
+ "type": "Link",
959
+ "linkType": "Asset",
960
+ "id": "5LCvaD9lfycy02uqkwyE8S"
961
+ }
962
+ },
963
+ "de-DE": null,
964
+ "pl-PL": null
965
+ },
966
+ "post_category_id": {
967
+ "en-US": {
968
+ "sys": {
969
+ "type": "Link",
970
+ "linkType": "Entry",
971
+ "id": "5zZ8SnlKNiy2yEMOaecegy"
972
+ }
973
+ },
974
+ "de-DE": null,
975
+ "pl-PL": null
976
+ }
977
+ },
978
+ "sys": {
979
+ "id": "2arjcjtY7ucC4AGeIOIkok",
980
+ "type": "Entry",
981
+ "createdAt": "2014-08-18T06:54:57.974Z",
982
+ "createdBy": {
983
+ "sys": {
984
+ "type": "Link",
985
+ "linkType": "User",
986
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
987
+ }
988
+ },
989
+ "space": {
990
+ "sys": {
991
+ "type": "Link",
992
+ "linkType": "Space",
993
+ "id": "bfsvtul0c41g"
994
+ }
995
+ },
996
+ "contentType": {
997
+ "sys": {
998
+ "type": "Link",
999
+ "linkType": "ContentType",
1000
+ "id": "post_content_type"
1001
+ }
1002
+ },
1003
+ "firstPublishedAt": "2014-08-18T07:06:32.551Z",
1004
+ "publishedCounter": 3,
1005
+ "publishedAt": "2014-08-18T07:14:47.935Z",
1006
+ "publishedBy": {
1007
+ "sys": {
1008
+ "type": "Link",
1009
+ "linkType": "User",
1010
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1011
+ }
1012
+ },
1013
+ "publishedVersion": 9,
1014
+ "version": 11,
1015
+ "updatedAt": "2014-08-19T11:22:54.864Z",
1016
+ "updatedBy": {
1017
+ "sys": {
1018
+ "type": "Link",
1019
+ "linkType": "User",
1020
+ "id": "1E7acJL8I5XUXAMHQt9Grs"
1021
+ }
1022
+ }
1023
+ }
1024
+ }
1025
+ http_version:
1026
+ recorded_at: Tue, 19 Aug 2014 11:22:49 GMT
1027
+ recorded_with: VCR 2.9.2