contentful-management 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,324 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/0agypmo1waov
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - RubyContentfulManagementGem/0.7.0
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Content-Length:
17
+ - '0'
18
+ Connection:
19
+ - close
20
+ Host:
21
+ - api.contentful.com
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Accept-Ranges:
28
+ - bytes
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
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - '*'
35
+ Access-Control-Expose-Headers:
36
+ - Etag
37
+ Access-Control-Max-Age:
38
+ - '1728000'
39
+ Cache-Control:
40
+ - max-age=0
41
+ Content-Type:
42
+ - application/vnd.contentful.management.v1+json
43
+ Date:
44
+ - Wed, 03 Jun 2015 08:52:34 GMT
45
+ Etag:
46
+ - '"52487c7acbb13bc23d9868ed9a4cf707"'
47
+ Server:
48
+ - nginx
49
+ Status:
50
+ - 200 OK
51
+ X-Contentful-Request-Id:
52
+ - 9f3-1509367176
53
+ Content-Length:
54
+ - '447'
55
+ Connection:
56
+ - Close
57
+ body:
58
+ encoding: UTF-8
59
+ string: |+
60
+ {
61
+ "sys":{
62
+ "type":"Space",
63
+ "id":"0agypmo1waov",
64
+ "version":1,
65
+ "createdBy":{
66
+ "sys":{
67
+ "type":"Link",
68
+ "linkType":"User",
69
+ "id":"4FLrUHftHW3v2BLi9fzfjU"
70
+ }
71
+ },
72
+ "createdAt":"2015-05-11T09:32:08Z",
73
+ "updatedBy":{
74
+ "sys":{
75
+ "type":"Link",
76
+ "linkType":"User",
77
+ "id":"4FLrUHftHW3v2BLi9fzfjU"
78
+ }
79
+ },
80
+ "updatedAt":"2015-05-11T09:32:08Z"
81
+ },
82
+ "name":"yolo"
83
+ }
84
+
85
+ http_version:
86
+ recorded_at: Wed, 03 Jun 2015 08:52:35 GMT
87
+ - request:
88
+ method: get
89
+ uri: https://api.contentful.com/spaces/0agypmo1waov/content_types
90
+ body:
91
+ encoding: US-ASCII
92
+ string: ''
93
+ headers:
94
+ User-Agent:
95
+ - RubyContentfulManagementGem/0.7.0
96
+ Authorization:
97
+ - Bearer <ACCESS_TOKEN>
98
+ Content-Type:
99
+ - application/vnd.contentful.management.v1+json
100
+ Content-Length:
101
+ - '0'
102
+ Connection:
103
+ - close
104
+ Host:
105
+ - api.contentful.com
106
+ response:
107
+ status:
108
+ code: 200
109
+ message: OK
110
+ headers:
111
+ Access-Control-Allow-Headers:
112
+ - 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
113
+ Access-Control-Allow-Methods:
114
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
115
+ Access-Control-Allow-Origin:
116
+ - '*'
117
+ Access-Control-Expose-Headers:
118
+ - Etag
119
+ Access-Control-Max-Age:
120
+ - '1728000'
121
+ Cf-Space-Id:
122
+ - 0agypmo1waov
123
+ Content-Type:
124
+ - application/vnd.contentful.management.v1+json
125
+ Date:
126
+ - Wed, 03 Jun 2015 08:52:35 GMT
127
+ Etag:
128
+ - '"fb29adcfd8a4e48f0e0e5d6b262d5429"'
129
+ Server:
130
+ - nginx
131
+ X-Contentful-Request-Id:
132
+ - content-api:59ECX4deSkQWWa8UcuKKgW
133
+ X-Powered-By:
134
+ - Express
135
+ Content-Length:
136
+ - '1485'
137
+ Connection:
138
+ - Close
139
+ body:
140
+ encoding: UTF-8
141
+ string: |
142
+ {
143
+ "sys": {
144
+ "type": "Array"
145
+ },
146
+ "total": 1,
147
+ "skip": 0,
148
+ "limit": 100,
149
+ "items": [
150
+ {
151
+ "name": "YOLO",
152
+ "fields": [
153
+ {
154
+ "name": "Name",
155
+ "id": "name",
156
+ "type": "Symbol",
157
+ "localized": true
158
+ },
159
+ {
160
+ "name": "YOLO",
161
+ "id": "yolo",
162
+ "type": "Text",
163
+ "localized": true
164
+ }
165
+ ],
166
+ "displayField": "name",
167
+ "sys": {
168
+ "id": "5U4xpaLDQ4S8MCGMCC6yCa",
169
+ "type": "ContentType",
170
+ "createdAt": "2015-05-11T09:33:00.154Z",
171
+ "createdBy": {
172
+ "sys": {
173
+ "type": "Link",
174
+ "linkType": "User",
175
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
176
+ }
177
+ },
178
+ "space": {
179
+ "sys": {
180
+ "type": "Link",
181
+ "linkType": "Space",
182
+ "id": "0agypmo1waov"
183
+ }
184
+ },
185
+ "firstPublishedAt": "2015-05-11T09:33:58.032Z",
186
+ "publishedCounter": 2,
187
+ "publishedAt": "2015-05-11T09:35:45.788Z",
188
+ "publishedBy": {
189
+ "sys": {
190
+ "type": "Link",
191
+ "linkType": "User",
192
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
193
+ }
194
+ },
195
+ "publishedVersion": 4,
196
+ "version": 5,
197
+ "updatedAt": "2015-05-11T09:35:45.841Z",
198
+ "updatedBy": {
199
+ "sys": {
200
+ "type": "Link",
201
+ "linkType": "User",
202
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
203
+ }
204
+ }
205
+ }
206
+ }
207
+ ]
208
+ }
209
+ http_version:
210
+ recorded_at: Wed, 03 Jun 2015 08:52:36 GMT
211
+ - request:
212
+ method: get
213
+ uri: https://api.contentful.com/spaces/0agypmo1waov/entries/4epXENbO8wsaOukgqquYcI
214
+ body:
215
+ encoding: US-ASCII
216
+ string: ''
217
+ headers:
218
+ User-Agent:
219
+ - RubyContentfulManagementGem/0.7.0
220
+ Authorization:
221
+ - Bearer <ACCESS_TOKEN>
222
+ Content-Type:
223
+ - application/vnd.contentful.management.v1+json
224
+ Content-Length:
225
+ - '0'
226
+ Connection:
227
+ - close
228
+ Host:
229
+ - api.contentful.com
230
+ response:
231
+ status:
232
+ code: 200
233
+ message: OK
234
+ headers:
235
+ Access-Control-Allow-Headers:
236
+ - 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
237
+ Access-Control-Allow-Methods:
238
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
239
+ Access-Control-Allow-Origin:
240
+ - '*'
241
+ Access-Control-Expose-Headers:
242
+ - Etag
243
+ Access-Control-Max-Age:
244
+ - '1728000'
245
+ Cf-Space-Id:
246
+ - 0agypmo1waov
247
+ Content-Type:
248
+ - application/vnd.contentful.management.v1+json
249
+ Date:
250
+ - Wed, 03 Jun 2015 08:52:35 GMT
251
+ Etag:
252
+ - '"e17d82f46ddbbadc241012daf9d2bfd1"'
253
+ Server:
254
+ - nginx
255
+ X-Contentful-Request-Id:
256
+ - content-api:5jFH8FwYZqU8oiIwQgMy2g
257
+ X-Powered-By:
258
+ - Express
259
+ Content-Length:
260
+ - '1140'
261
+ Connection:
262
+ - Close
263
+ body:
264
+ encoding: UTF-8
265
+ string: |
266
+ {
267
+ "fields": {
268
+ "name": {
269
+ "en-US": "test2"
270
+ },
271
+ "yolo": {
272
+ "en-US": "test"
273
+ }
274
+ },
275
+ "sys": {
276
+ "id": "4epXENbO8wsaOukgqquYcI",
277
+ "type": "Entry",
278
+ "createdAt": "2015-05-11T09:36:57.750Z",
279
+ "createdBy": {
280
+ "sys": {
281
+ "type": "Link",
282
+ "linkType": "User",
283
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
284
+ }
285
+ },
286
+ "space": {
287
+ "sys": {
288
+ "type": "Link",
289
+ "linkType": "Space",
290
+ "id": "0agypmo1waov"
291
+ }
292
+ },
293
+ "contentType": {
294
+ "sys": {
295
+ "type": "Link",
296
+ "linkType": "ContentType",
297
+ "id": "5U4xpaLDQ4S8MCGMCC6yCa"
298
+ }
299
+ },
300
+ "firstPublishedAt": "2015-05-11T09:37:09.215Z",
301
+ "publishedCounter": 1,
302
+ "publishedAt": "2015-05-11T09:37:09.215Z",
303
+ "publishedBy": {
304
+ "sys": {
305
+ "type": "Link",
306
+ "linkType": "User",
307
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
308
+ }
309
+ },
310
+ "publishedVersion": 7,
311
+ "version": 11,
312
+ "updatedAt": "2015-06-03T08:33:56.334Z",
313
+ "updatedBy": {
314
+ "sys": {
315
+ "type": "Link",
316
+ "linkType": "User",
317
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
318
+ }
319
+ }
320
+ }
321
+ }
322
+ http_version:
323
+ recorded_at: Wed, 03 Jun 2015 08:52:36 GMT
324
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,728 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/fujuvqn6zcl1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - RubyContentfulManagementGem/0.7.0
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Content-Length:
17
+ - '0'
18
+ Connection:
19
+ - close
20
+ Host:
21
+ - api.contentful.com
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Accept-Ranges:
28
+ - bytes
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
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - '*'
35
+ Access-Control-Expose-Headers:
36
+ - Etag
37
+ Access-Control-Max-Age:
38
+ - '1728000'
39
+ Cache-Control:
40
+ - max-age=0
41
+ Content-Type:
42
+ - application/vnd.contentful.management.v1+json
43
+ Date:
44
+ - Wed, 03 Jun 2015 09:48:40 GMT
45
+ Etag:
46
+ - '"1ae1009b132d53ca7a3720aba12f6b05"'
47
+ Server:
48
+ - nginx
49
+ Status:
50
+ - 200 OK
51
+ X-Contentful-Request-Id:
52
+ - 9f3-1509390366
53
+ Content-Length:
54
+ - '456'
55
+ Connection:
56
+ - Close
57
+ body:
58
+ encoding: UTF-8
59
+ string: |+
60
+ {
61
+ "sys":{
62
+ "type":"Space",
63
+ "id":"fujuvqn6zcl1",
64
+ "version":2,
65
+ "createdBy":{
66
+ "sys":{
67
+ "type":"Link",
68
+ "linkType":"User",
69
+ "id":"4FLrUHftHW3v2BLi9fzfjU"
70
+ }
71
+ },
72
+ "createdAt":"2015-01-22T20:32:12Z",
73
+ "updatedBy":{
74
+ "sys":{
75
+ "type":"Link",
76
+ "linkType":"User",
77
+ "id":"4FLrUHftHW3v2BLi9fzfjU"
78
+ }
79
+ },
80
+ "updatedAt":"2015-02-03T12:42:06Z"
81
+ },
82
+ "name":"Blog Template"
83
+ }
84
+
85
+ http_version:
86
+ recorded_at: Wed, 03 Jun 2015 09:48:41 GMT
87
+ - request:
88
+ method: get
89
+ uri: https://api.contentful.com/spaces/fujuvqn6zcl1/content_types
90
+ body:
91
+ encoding: US-ASCII
92
+ string: ''
93
+ headers:
94
+ User-Agent:
95
+ - RubyContentfulManagementGem/0.7.0
96
+ Authorization:
97
+ - Bearer <ACCESS_TOKEN>
98
+ Content-Type:
99
+ - application/vnd.contentful.management.v1+json
100
+ Content-Length:
101
+ - '0'
102
+ Connection:
103
+ - close
104
+ Host:
105
+ - api.contentful.com
106
+ response:
107
+ status:
108
+ code: 200
109
+ message: OK
110
+ headers:
111
+ Access-Control-Allow-Headers:
112
+ - 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
113
+ Access-Control-Allow-Methods:
114
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
115
+ Access-Control-Allow-Origin:
116
+ - '*'
117
+ Access-Control-Expose-Headers:
118
+ - Etag
119
+ Access-Control-Max-Age:
120
+ - '1728000'
121
+ Cf-Space-Id:
122
+ - fujuvqn6zcl1
123
+ Content-Type:
124
+ - application/vnd.contentful.management.v1+json
125
+ Date:
126
+ - Wed, 03 Jun 2015 09:48:41 GMT
127
+ Etag:
128
+ - '"ecfb6310d823e023219085603805a897"'
129
+ Server:
130
+ - nginx
131
+ X-Contentful-Request-Id:
132
+ - content-api:3MfbAB8LBSGEIg4Ag8y0GY
133
+ X-Powered-By:
134
+ - Express
135
+ Content-Length:
136
+ - '5004'
137
+ Connection:
138
+ - Close
139
+ body:
140
+ encoding: UTF-8
141
+ string: |
142
+ {
143
+ "sys": {
144
+ "type": "Array"
145
+ },
146
+ "total": 2,
147
+ "skip": 0,
148
+ "limit": 100,
149
+ "items": [
150
+ {
151
+ "fields": [
152
+ {
153
+ "name": "Title",
154
+ "id": "title",
155
+ "type": "Symbol",
156
+ "required": true
157
+ },
158
+ {
159
+ "name": "Slug",
160
+ "id": "slug",
161
+ "type": "Symbol"
162
+ },
163
+ {
164
+ "name": "Author",
165
+ "id": "author",
166
+ "type": "Link",
167
+ "linkType": "Entry",
168
+ "required": true,
169
+ "validations": [
170
+ {
171
+ "linkContentType": [
172
+ "1kUEViTN4EmGiEaaeC6ouY"
173
+ ]
174
+ }
175
+ ]
176
+ },
177
+ {
178
+ "name": "Body",
179
+ "id": "body",
180
+ "type": "Text"
181
+ },
182
+ {
183
+ "name": "Category",
184
+ "id": "category",
185
+ "type": "Symbol"
186
+ },
187
+ {
188
+ "name": "Tags",
189
+ "id": "tags",
190
+ "type": "Array",
191
+ "items": {
192
+ "type": "Symbol"
193
+ }
194
+ },
195
+ {
196
+ "name": "Featured image",
197
+ "id": "featuredImage",
198
+ "type": "Link",
199
+ "linkType": "Asset",
200
+ "validations": [
201
+ {
202
+ "linkMimetypeGroup": "image"
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "name": "Date",
208
+ "id": "date",
209
+ "type": "Date"
210
+ },
211
+ {
212
+ "name": "Comments",
213
+ "id": "comments",
214
+ "type": "Boolean"
215
+ }
216
+ ],
217
+ "name": "Post",
218
+ "displayField": "title",
219
+ "sys": {
220
+ "id": "32D46deE6kkWUYaEk2mAOe",
221
+ "type": "ContentType",
222
+ "createdAt": "2015-01-22T20:32:28.259Z",
223
+ "createdBy": {
224
+ "sys": {
225
+ "type": "Link",
226
+ "linkType": "User",
227
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
228
+ }
229
+ },
230
+ "space": {
231
+ "sys": {
232
+ "type": "Link",
233
+ "linkType": "Space",
234
+ "id": "fujuvqn6zcl1"
235
+ }
236
+ },
237
+ "firstPublishedAt": "2015-01-22T20:32:30.931Z",
238
+ "publishedCounter": 1,
239
+ "publishedAt": "2015-01-22T20:32:30.931Z",
240
+ "publishedBy": {
241
+ "sys": {
242
+ "type": "Link",
243
+ "linkType": "User",
244
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
245
+ }
246
+ },
247
+ "publishedVersion": 1,
248
+ "version": 2,
249
+ "updatedAt": "2015-01-22T20:32:30.985Z",
250
+ "updatedBy": {
251
+ "sys": {
252
+ "type": "Link",
253
+ "linkType": "User",
254
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
255
+ }
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "name": "Author",
261
+ "fields": [
262
+ {
263
+ "name": "Name",
264
+ "id": "name",
265
+ "type": "Symbol",
266
+ "required": true
267
+ },
268
+ {
269
+ "name": "Website",
270
+ "id": "website",
271
+ "type": "Symbol",
272
+ "validations": []
273
+ },
274
+ {
275
+ "name": "Profile Photo",
276
+ "id": "profilePhoto",
277
+ "type": "Link",
278
+ "linkType": "Asset",
279
+ "validations": [
280
+ {
281
+ "linkMimetypeGroup": "image"
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ "name": "Biography",
287
+ "id": "biography",
288
+ "type": "Text",
289
+ "validations": [
290
+ {
291
+ "size": {
292
+ "min": 0,
293
+ "max": 1000
294
+ }
295
+ }
296
+ ]
297
+ },
298
+ {
299
+ "name": "Created Entries",
300
+ "id": "createdEntries",
301
+ "type": "Array",
302
+ "items": {
303
+ "type": "Link",
304
+ "linkType": "Entry",
305
+ "validations": [
306
+ {
307
+ "linkContentType": [
308
+ "32D46deE6kkWUYaEk2mAOe"
309
+ ]
310
+ }
311
+ ]
312
+ }
313
+ },
314
+ {
315
+ "name": "YOLO",
316
+ "id": "yolo",
317
+ "type": "Boolean"
318
+ }
319
+ ],
320
+ "displayField": "name",
321
+ "sys": {
322
+ "id": "1kUEViTN4EmGiEaaeC6ouY",
323
+ "type": "ContentType",
324
+ "createdAt": "2015-01-22T20:32:34.311Z",
325
+ "createdBy": {
326
+ "sys": {
327
+ "type": "Link",
328
+ "linkType": "User",
329
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
330
+ }
331
+ },
332
+ "space": {
333
+ "sys": {
334
+ "type": "Link",
335
+ "linkType": "Space",
336
+ "id": "fujuvqn6zcl1"
337
+ }
338
+ },
339
+ "firstPublishedAt": "2015-01-22T20:32:35.035Z",
340
+ "publishedCounter": 2,
341
+ "publishedAt": "2015-06-03T09:09:46.748Z",
342
+ "publishedBy": {
343
+ "sys": {
344
+ "type": "Link",
345
+ "linkType": "User",
346
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
347
+ }
348
+ },
349
+ "publishedVersion": 3,
350
+ "version": 4,
351
+ "updatedAt": "2015-06-03T09:09:46.798Z",
352
+ "updatedBy": {
353
+ "sys": {
354
+ "type": "Link",
355
+ "linkType": "User",
356
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
357
+ }
358
+ }
359
+ }
360
+ }
361
+ ]
362
+ }
363
+ http_version:
364
+ recorded_at: Wed, 03 Jun 2015 09:48:41 GMT
365
+ - request:
366
+ method: get
367
+ uri: https://api.contentful.com/spaces/fujuvqn6zcl1/content_types/1kUEViTN4EmGiEaaeC6ouY
368
+ body:
369
+ encoding: US-ASCII
370
+ string: ''
371
+ headers:
372
+ User-Agent:
373
+ - RubyContentfulManagementGem/0.7.0
374
+ Authorization:
375
+ - Bearer <ACCESS_TOKEN>
376
+ Content-Type:
377
+ - application/vnd.contentful.management.v1+json
378
+ Content-Length:
379
+ - '0'
380
+ Connection:
381
+ - close
382
+ Host:
383
+ - api.contentful.com
384
+ response:
385
+ status:
386
+ code: 200
387
+ message: OK
388
+ headers:
389
+ Access-Control-Allow-Headers:
390
+ - 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
391
+ Access-Control-Allow-Methods:
392
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
393
+ Access-Control-Allow-Origin:
394
+ - '*'
395
+ Access-Control-Expose-Headers:
396
+ - Etag
397
+ Access-Control-Max-Age:
398
+ - '1728000'
399
+ Cf-Space-Id:
400
+ - fujuvqn6zcl1
401
+ Content-Type:
402
+ - application/vnd.contentful.management.v1+json
403
+ Date:
404
+ - Wed, 03 Jun 2015 09:48:41 GMT
405
+ Etag:
406
+ - '"ab7334b04f4f7e3a1d50fb6fc42cbde7"'
407
+ Server:
408
+ - nginx
409
+ X-Contentful-Request-Id:
410
+ - content-api:7uQmPTM8Hmq8CmoYOma6Eo
411
+ X-Powered-By:
412
+ - Express
413
+ Content-Length:
414
+ - '1994'
415
+ Connection:
416
+ - Close
417
+ body:
418
+ encoding: UTF-8
419
+ string: |
420
+ {
421
+ "name": "Author",
422
+ "fields": [
423
+ {
424
+ "name": "Name",
425
+ "id": "name",
426
+ "type": "Symbol",
427
+ "required": true
428
+ },
429
+ {
430
+ "name": "Website",
431
+ "id": "website",
432
+ "type": "Symbol",
433
+ "validations": []
434
+ },
435
+ {
436
+ "name": "Profile Photo",
437
+ "id": "profilePhoto",
438
+ "type": "Link",
439
+ "linkType": "Asset",
440
+ "validations": [
441
+ {
442
+ "linkMimetypeGroup": "image"
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "name": "Biography",
448
+ "id": "biography",
449
+ "type": "Text",
450
+ "validations": [
451
+ {
452
+ "size": {
453
+ "min": 0,
454
+ "max": 1000
455
+ }
456
+ }
457
+ ]
458
+ },
459
+ {
460
+ "name": "Created Entries",
461
+ "id": "createdEntries",
462
+ "type": "Array",
463
+ "items": {
464
+ "type": "Link",
465
+ "linkType": "Entry",
466
+ "validations": [
467
+ {
468
+ "linkContentType": [
469
+ "32D46deE6kkWUYaEk2mAOe"
470
+ ]
471
+ }
472
+ ]
473
+ }
474
+ },
475
+ {
476
+ "name": "YOLO",
477
+ "id": "yolo",
478
+ "type": "Boolean"
479
+ }
480
+ ],
481
+ "displayField": "name",
482
+ "sys": {
483
+ "id": "1kUEViTN4EmGiEaaeC6ouY",
484
+ "type": "ContentType",
485
+ "createdAt": "2015-01-22T20:32:34.311Z",
486
+ "createdBy": {
487
+ "sys": {
488
+ "type": "Link",
489
+ "linkType": "User",
490
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
491
+ }
492
+ },
493
+ "space": {
494
+ "sys": {
495
+ "type": "Link",
496
+ "linkType": "Space",
497
+ "id": "fujuvqn6zcl1"
498
+ }
499
+ },
500
+ "firstPublishedAt": "2015-01-22T20:32:35.035Z",
501
+ "publishedCounter": 2,
502
+ "publishedAt": "2015-06-03T09:09:46.748Z",
503
+ "publishedBy": {
504
+ "sys": {
505
+ "type": "Link",
506
+ "linkType": "User",
507
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
508
+ }
509
+ },
510
+ "publishedVersion": 3,
511
+ "version": 4,
512
+ "updatedAt": "2015-06-03T09:09:46.798Z",
513
+ "updatedBy": {
514
+ "sys": {
515
+ "type": "Link",
516
+ "linkType": "User",
517
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
518
+ }
519
+ }
520
+ }
521
+ }
522
+ http_version:
523
+ recorded_at: Wed, 03 Jun 2015 09:48:42 GMT
524
+ - request:
525
+ method: post
526
+ uri: https://api.contentful.com/spaces/fujuvqn6zcl1/entries/
527
+ body:
528
+ encoding: UTF-8
529
+ string: '{"fields":{"name":{"en-US":"Hello World"},"yolo":{"en-US":false}}}'
530
+ headers:
531
+ User-Agent:
532
+ - RubyContentfulManagementGem/0.7.0
533
+ Authorization:
534
+ - Bearer <ACCESS_TOKEN>
535
+ Content-Type:
536
+ - application/vnd.contentful.management.v1+json
537
+ X-Contentful-Content-Type:
538
+ - 1kUEViTN4EmGiEaaeC6ouY
539
+ Connection:
540
+ - close
541
+ Host:
542
+ - api.contentful.com
543
+ response:
544
+ status:
545
+ code: 201
546
+ message: Created
547
+ headers:
548
+ Access-Control-Allow-Headers:
549
+ - 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
550
+ Access-Control-Allow-Methods:
551
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
552
+ Access-Control-Allow-Origin:
553
+ - '*'
554
+ Access-Control-Expose-Headers:
555
+ - Etag
556
+ Access-Control-Max-Age:
557
+ - '1728000'
558
+ Cf-Space-Id:
559
+ - fujuvqn6zcl1
560
+ Content-Type:
561
+ - application/vnd.contentful.management.v1+json
562
+ Date:
563
+ - Wed, 03 Jun 2015 09:48:42 GMT
564
+ Etag:
565
+ - '"c4c9377c4b590b51bfe5539842b16f31"'
566
+ Server:
567
+ - nginx
568
+ X-Contentful-Request-Id:
569
+ - content-api:37Xo3w5t0QUUMKOG6wsEmw
570
+ X-Powered-By:
571
+ - Express
572
+ Content-Length:
573
+ - '849'
574
+ Connection:
575
+ - Close
576
+ body:
577
+ encoding: UTF-8
578
+ string: |
579
+ {
580
+ "fields": {
581
+ "name": {
582
+ "en-US": "Hello World"
583
+ },
584
+ "yolo": {
585
+ "en-US": false
586
+ }
587
+ },
588
+ "sys": {
589
+ "id": "6sLfyXNLtm0UgSicMcqy8A",
590
+ "type": "Entry",
591
+ "version": 1,
592
+ "createdAt": "2015-06-03T09:48:42.373Z",
593
+ "createdBy": {
594
+ "sys": {
595
+ "type": "Link",
596
+ "linkType": "User",
597
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
598
+ }
599
+ },
600
+ "space": {
601
+ "sys": {
602
+ "type": "Link",
603
+ "linkType": "Space",
604
+ "id": "fujuvqn6zcl1"
605
+ }
606
+ },
607
+ "contentType": {
608
+ "sys": {
609
+ "type": "Link",
610
+ "linkType": "ContentType",
611
+ "id": "1kUEViTN4EmGiEaaeC6ouY"
612
+ }
613
+ },
614
+ "updatedAt": "2015-06-03T09:48:42.373Z",
615
+ "updatedBy": {
616
+ "sys": {
617
+ "type": "Link",
618
+ "linkType": "User",
619
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
620
+ }
621
+ }
622
+ }
623
+ }
624
+ http_version:
625
+ recorded_at: Wed, 03 Jun 2015 09:48:43 GMT
626
+ - request:
627
+ method: get
628
+ uri: https://api.contentful.com/spaces/fujuvqn6zcl1/entries/6sLfyXNLtm0UgSicMcqy8A
629
+ body:
630
+ encoding: US-ASCII
631
+ string: ''
632
+ headers:
633
+ User-Agent:
634
+ - RubyContentfulManagementGem/0.7.0
635
+ Authorization:
636
+ - Bearer <ACCESS_TOKEN>
637
+ Content-Type:
638
+ - application/vnd.contentful.management.v1+json
639
+ Content-Length:
640
+ - '0'
641
+ Connection:
642
+ - close
643
+ Host:
644
+ - api.contentful.com
645
+ response:
646
+ status:
647
+ code: 200
648
+ message: OK
649
+ headers:
650
+ Access-Control-Allow-Headers:
651
+ - 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
652
+ Access-Control-Allow-Methods:
653
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
654
+ Access-Control-Allow-Origin:
655
+ - '*'
656
+ Access-Control-Expose-Headers:
657
+ - Etag
658
+ Access-Control-Max-Age:
659
+ - '1728000'
660
+ Cf-Space-Id:
661
+ - fujuvqn6zcl1
662
+ Content-Type:
663
+ - application/vnd.contentful.management.v1+json
664
+ Date:
665
+ - Wed, 03 Jun 2015 09:48:43 GMT
666
+ Etag:
667
+ - '"204bd8fec41d8060a8d348f08b712721"'
668
+ Server:
669
+ - nginx
670
+ X-Contentful-Request-Id:
671
+ - content-api:4MC2vLjtv2u2QyG4qiaMuq
672
+ X-Powered-By:
673
+ - Express
674
+ Content-Length:
675
+ - '849'
676
+ Connection:
677
+ - Close
678
+ body:
679
+ encoding: UTF-8
680
+ string: |
681
+ {
682
+ "fields": {
683
+ "name": {
684
+ "en-US": "Hello World"
685
+ },
686
+ "yolo": {
687
+ "en-US": false
688
+ }
689
+ },
690
+ "sys": {
691
+ "id": "6sLfyXNLtm0UgSicMcqy8A",
692
+ "type": "Entry",
693
+ "createdAt": "2015-06-03T09:48:42.373Z",
694
+ "createdBy": {
695
+ "sys": {
696
+ "type": "Link",
697
+ "linkType": "User",
698
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
699
+ }
700
+ },
701
+ "space": {
702
+ "sys": {
703
+ "type": "Link",
704
+ "linkType": "Space",
705
+ "id": "fujuvqn6zcl1"
706
+ }
707
+ },
708
+ "contentType": {
709
+ "sys": {
710
+ "type": "Link",
711
+ "linkType": "ContentType",
712
+ "id": "1kUEViTN4EmGiEaaeC6ouY"
713
+ }
714
+ },
715
+ "version": 1,
716
+ "updatedAt": "2015-06-03T09:48:42.418Z",
717
+ "updatedBy": {
718
+ "sys": {
719
+ "type": "Link",
720
+ "linkType": "User",
721
+ "id": "4FLrUHftHW3v2BLi9fzfjU"
722
+ }
723
+ }
724
+ }
725
+ }
726
+ http_version:
727
+ recorded_at: Wed, 03 Jun 2015 09:48:43 GMT
728
+ recorded_with: VCR 2.9.3