contentful-management 2.7.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5210f3fa63b06c825be7cc8dc9ac180af8e64a32cd36c3854847cd59c71d0b9b
4
- data.tar.gz: 7ce4f9d849de685b056f978915bac05270ea80d2ec054925bf717f298d5fab38
3
+ metadata.gz: 0265363d47abf8e932ae34808cd139e236fb01adec5e718226961aef8f54d5c6
4
+ data.tar.gz: d04f226b50472250b32c4f2e47309189fb1b67e06b858f1186b94389e317a5f6
5
5
  SHA512:
6
- metadata.gz: 0d85036571c6e955bf813acc4041b79dfeb4d6bd0643b019aa738e321bb15740584021a79c50ecf9d1ca771157c5bf719083b6d9584f05cd835f183893419938
7
- data.tar.gz: 0fc6713bbcc2ad348c593bbca1fd3c9362f585d8ea444c93474b1638fc86a39d84fad073cbbd0454f46f17e799248796ee32e2ac43cdaf623e5eae77ed79f36a
6
+ metadata.gz: 7b788286f4fd2a20bfc32b6cf34db4f64db2790999d4df3ff1cec3a504baf8c39a5d04ee66104697f42a656dc152d7c8edf6345b854be93c04cb2eec661ff3da
7
+ data.tar.gz: f1c99f912490d1725f8a8a5bdebed0baf10ad564b3e98a3b6ede3b8497a673896337116348aa38b0f23ab5eedec8abd04ab296750d2df68bab7a24f49077d972
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Master
4
4
 
5
+ ## 2.8.0
6
+ ### Added
7
+ * Added environment branching.
8
+
5
9
  ## 2.7.0
6
10
  ### Added
7
11
  * Added `updated?` to publishable resources. [#178](https://github.com/contentful/contentful-management.rb/issues/178)
data/README.md CHANGED
@@ -114,7 +114,7 @@ Destroying a environment:
114
114
  environment.destroy
115
115
  ```
116
116
 
117
- Creating a environment:
117
+ Creating an environment:
118
118
 
119
119
  ```ruby
120
120
  environment = client.environments('space_id').new
@@ -129,6 +129,12 @@ or
129
129
  environment = client.environments(space_id).create(id: 'dev', name: 'Development')
130
130
  ```
131
131
 
132
+ Creating an evironment with a different source:
133
+
134
+ ```ruby
135
+ environment = client.environments(space_id).create(id: 'dev', name: 'Development', source_environment_id: 'other_environment')
136
+ ```
137
+
132
138
  Updating a environment:
133
139
 
134
140
  ```ruby
@@ -54,7 +54,16 @@ module Contentful
54
54
  return {} if attributes.nil? || attributes.empty?
55
55
 
56
56
  {
57
- 'name' => attributes.fetch(:name, attributes.fetch('name', nil))
57
+ 'name' => attributes[:name] || attributes['name']
58
+ }
59
+ end
60
+
61
+ # @private
62
+ def self.create_headers(_client, attributes, _instance = nil)
63
+ return {} unless attributes[:source_environment_id] || attributes['source_environment_id']
64
+
65
+ {
66
+ 'X-Contentful-Source-Environment' => attributes[:source_environment_id] || attributes['source_environment_id']
58
67
  }
59
68
  end
60
69
 
@@ -3,6 +3,6 @@ module Contentful
3
3
  # Management Namespace
4
4
  module Management
5
5
  # Gem Version
6
- VERSION = '2.7.0'.freeze
6
+ VERSION = '2.8.0'.freeze
7
7
  end
8
8
  end
@@ -0,0 +1,1901 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/master
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/2.7.0; platform ruby/2.5.3; os macOS/16;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/2.2.2
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,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature,X-Contentful-Source-Environment
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
+ Cf-Organization-Id:
42
+ - 4SsuxQCaMaemfIms52Jr8s
43
+ Cf-Space-Id:
44
+ - facgnwwgj5fe
45
+ Content-Type:
46
+ - application/vnd.contentful.management.v1+json
47
+ Contentful-Api:
48
+ - cma
49
+ Date:
50
+ - Tue, 19 Feb 2019 18:03:50 GMT
51
+ Etag:
52
+ - W/"22a25eea35acc74ea3d1b641479654a1"
53
+ Referrer-Policy:
54
+ - strict-origin-when-cross-origin
55
+ Server:
56
+ - Contentful
57
+ Strict-Transport-Security:
58
+ - max-age=15768000
59
+ X-Content-Type-Options:
60
+ - nosniff
61
+ X-Contentful-Ratelimit-Hour-Limit:
62
+ - '36000'
63
+ X-Contentful-Ratelimit-Hour-Remaining:
64
+ - '35999'
65
+ X-Contentful-Ratelimit-Reset:
66
+ - '0'
67
+ X-Contentful-Ratelimit-Second-Limit:
68
+ - '10'
69
+ X-Contentful-Ratelimit-Second-Remaining:
70
+ - '9'
71
+ X-Contentful-Request-Id:
72
+ - 513227b78a2ebbf78ea42c73e477537c
73
+ X-Download-Options:
74
+ - noopen
75
+ X-Frame-Options:
76
+ - ALLOWALL
77
+ X-Permitted-Cross-Domain-Policies:
78
+ - none
79
+ X-Xss-Protection:
80
+ - 1; mode=block
81
+ Content-Length:
82
+ - '688'
83
+ Connection:
84
+ - Close
85
+ Set-Cookie:
86
+ - incap_ses_84_673446=TA42UWZEHGe9l4GBM28qAQZFbFwAAAAAL0Tek3kkDaXnb147MJNQFA==;
87
+ path=/; Domain=.contentful.com
88
+ - nlbi_673446=Cg6hcy5EhksSU9IF6lKYhQAAAADG+N6+LKsNt5esV9TbZw1g; path=/; Domain=.contentful.com
89
+ - visid_incap_673446=1DdERdOjRQKwgPvBPKPe+QZFbFwAAAAAQUIPAAAAAAD3ZrdfX75Ezotlu2kjMFV4;
90
+ expires=Wed, 19 Feb 2020 14:51:28 GMT; path=/; Domain=.contentful.com
91
+ X-Iinfo:
92
+ - 7-9265268-9265269 NNNN CT(0 0 0) RT(1550599430328 40) q(0 0 0 -1) r(2 2) U5
93
+ X-Cdn:
94
+ - Incapsula
95
+ body:
96
+ encoding: ASCII-8BIT
97
+ string: |+
98
+ {
99
+ "name":"master",
100
+ "sys":{
101
+ "type":"Environment",
102
+ "id":"master",
103
+ "version":1,
104
+ "space":{
105
+ "sys":{
106
+ "type":"Link",
107
+ "linkType":"Space",
108
+ "id":"facgnwwgj5fe"
109
+ }
110
+ },
111
+ "status":{
112
+ "sys":{
113
+ "type":"Link",
114
+ "linkType":"Status",
115
+ "id":"ready"
116
+ }
117
+ },
118
+ "createdBy":{
119
+ "sys":{
120
+ "type":"Link",
121
+ "linkType":"User",
122
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
123
+ }
124
+ },
125
+ "createdAt":"2017-12-07T10:54:10Z",
126
+ "updatedBy":{
127
+ "sys":{
128
+ "type":"Link",
129
+ "linkType":"User",
130
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
131
+ }
132
+ },
133
+ "updatedAt":"2017-12-07T10:54:10Z"
134
+ }
135
+ }
136
+
137
+ http_version:
138
+ recorded_at: Tue, 19 Feb 2019 18:03:47 GMT
139
+ - request:
140
+ method: get
141
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/master/entries
142
+ body:
143
+ encoding: US-ASCII
144
+ string: ''
145
+ headers:
146
+ X-Contentful-User-Agent:
147
+ - sdk contentful-management.rb/2.7.0; platform ruby/2.5.3; os macOS/16;
148
+ Authorization:
149
+ - Bearer <ACCESS_TOKEN>
150
+ Content-Type:
151
+ - application/vnd.contentful.management.v1+json
152
+ Connection:
153
+ - close
154
+ Host:
155
+ - api.contentful.com
156
+ User-Agent:
157
+ - http.rb/2.2.2
158
+ response:
159
+ status:
160
+ code: 200
161
+ message: OK
162
+ headers:
163
+ Access-Control-Allow-Headers:
164
+ - 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,X-Contentful-Source-Environment
165
+ Access-Control-Allow-Methods:
166
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
167
+ Access-Control-Allow-Origin:
168
+ - "*"
169
+ Access-Control-Expose-Headers:
170
+ - Etag
171
+ Access-Control-Max-Age:
172
+ - '1728000'
173
+ Cf-Space-Id:
174
+ - facgnwwgj5fe
175
+ Content-Type:
176
+ - application/vnd.contentful.management.v1+json
177
+ Contentful-Api:
178
+ - cma
179
+ Date:
180
+ - Tue, 19 Feb 2019 18:03:52 GMT
181
+ Etag:
182
+ - '"ade0c68099a9f25397138386625dc775"'
183
+ Server:
184
+ - Contentful
185
+ Strict-Transport-Security:
186
+ - max-age=15768000
187
+ X-Content-Type-Options:
188
+ - nosniff
189
+ X-Contentful-Ratelimit-Hour-Limit:
190
+ - '36000'
191
+ X-Contentful-Ratelimit-Hour-Remaining:
192
+ - '35999'
193
+ X-Contentful-Ratelimit-Reset:
194
+ - '0'
195
+ X-Contentful-Ratelimit-Second-Limit:
196
+ - '10'
197
+ X-Contentful-Ratelimit-Second-Remaining:
198
+ - '9'
199
+ X-Contentful-Request-Id:
200
+ - b7cd715a9345ed8dcdb5f80a578206ca
201
+ Content-Length:
202
+ - '30591'
203
+ Connection:
204
+ - Close
205
+ Set-Cookie:
206
+ - incap_ses_84_673446=QFlwezG77hhjmIGBM28qAQdFbFwAAAAA1R92oGKyBEJO6VQGUHOOTg==;
207
+ path=/; Domain=.contentful.com
208
+ - nlbi_673446=GHumCrjpSBLxV+qz6lKYhQAAAAB17M1f1VgezYdRXo2tLI8y; path=/; Domain=.contentful.com
209
+ - visid_incap_673446=syFbZzxPTfeNCAjsuBqhfgdFbFwAAAAAQUIPAAAAAAC/HTTjEU+wdBBZDMWC/0Ym;
210
+ expires=Wed, 19 Feb 2020 14:51:24 GMT; path=/; Domain=.contentful.com
211
+ X-Iinfo:
212
+ - 1-14282727-14282728 NNNN CT(0 0 0) RT(1550599430568 24) q(0 0 0 -1) r(12 13)
213
+ U5
214
+ X-Cdn:
215
+ - Incapsula
216
+ body:
217
+ encoding: ASCII-8BIT
218
+ string: |
219
+ {
220
+ "sys": {
221
+ "type": "Array"
222
+ },
223
+ "total": 25,
224
+ "skip": 0,
225
+ "limit": 100,
226
+ "items": [
227
+ {
228
+ "sys": {
229
+ "space": {
230
+ "sys": {
231
+ "type": "Link",
232
+ "linkType": "Space",
233
+ "id": "facgnwwgj5fe"
234
+ }
235
+ },
236
+ "id": "57MJtMRZYsoekQwQgiKWKg",
237
+ "type": "Entry",
238
+ "createdAt": "2017-11-17T12:40:26.506Z",
239
+ "updatedAt": "2017-11-17T12:40:26.506Z",
240
+ "environment": {
241
+ "sys": {
242
+ "id": "master",
243
+ "type": "Link",
244
+ "linkType": "Environment"
245
+ }
246
+ },
247
+ "createdBy": {
248
+ "sys": {
249
+ "type": "Link",
250
+ "linkType": "User",
251
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
252
+ }
253
+ },
254
+ "updatedBy": {
255
+ "sys": {
256
+ "type": "Link",
257
+ "linkType": "User",
258
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
259
+ }
260
+ },
261
+ "version": 1,
262
+ "contentType": {
263
+ "sys": {
264
+ "type": "Link",
265
+ "linkType": "ContentType",
266
+ "id": "somethingWithLinks"
267
+ }
268
+ }
269
+ },
270
+ "fields": {}
271
+ },
272
+ {
273
+ "sys": {
274
+ "space": {
275
+ "sys": {
276
+ "type": "Link",
277
+ "linkType": "Space",
278
+ "id": "facgnwwgj5fe"
279
+ }
280
+ },
281
+ "id": "id_create_test",
282
+ "type": "Entry",
283
+ "createdAt": "2017-03-10T13:54:19.698Z",
284
+ "updatedAt": "2017-03-10T13:54:19.710Z",
285
+ "environment": {
286
+ "sys": {
287
+ "id": "master",
288
+ "type": "Link",
289
+ "linkType": "Environment"
290
+ }
291
+ },
292
+ "createdBy": {
293
+ "sys": {
294
+ "type": "Link",
295
+ "linkType": "User",
296
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
297
+ }
298
+ },
299
+ "updatedBy": {
300
+ "sys": {
301
+ "type": "Link",
302
+ "linkType": "User",
303
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
304
+ }
305
+ },
306
+ "version": 1,
307
+ "contentType": {
308
+ "sys": {
309
+ "type": "Link",
310
+ "linkType": "ContentType",
311
+ "id": "foo"
312
+ }
313
+ }
314
+ },
315
+ "fields": {
316
+ "name": {
317
+ "en-US": "foobar"
318
+ }
319
+ }
320
+ },
321
+ {
322
+ "sys": {
323
+ "space": {
324
+ "sys": {
325
+ "type": "Link",
326
+ "linkType": "Space",
327
+ "id": "facgnwwgj5fe"
328
+ }
329
+ },
330
+ "id": "33uj74Wln2Oc02CAyEY8CK",
331
+ "type": "Entry",
332
+ "createdAt": "2017-04-25T16:01:56.936Z",
333
+ "updatedAt": "2017-04-25T16:35:55.545Z",
334
+ "environment": {
335
+ "sys": {
336
+ "id": "master",
337
+ "type": "Link",
338
+ "linkType": "Environment"
339
+ }
340
+ },
341
+ "createdBy": {
342
+ "sys": {
343
+ "type": "Link",
344
+ "linkType": "User",
345
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
346
+ }
347
+ },
348
+ "updatedBy": {
349
+ "sys": {
350
+ "type": "Link",
351
+ "linkType": "User",
352
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
353
+ }
354
+ },
355
+ "publishedCounter": 2,
356
+ "version": 7,
357
+ "publishedBy": {
358
+ "sys": {
359
+ "type": "Link",
360
+ "linkType": "User",
361
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
362
+ }
363
+ },
364
+ "publishedVersion": 5,
365
+ "firstPublishedAt": "2017-04-25T16:02:06.147Z",
366
+ "publishedAt": "2017-04-25T16:02:10.000Z",
367
+ "contentType": {
368
+ "sys": {
369
+ "type": "Link",
370
+ "linkType": "ContentType",
371
+ "id": "foo"
372
+ }
373
+ }
374
+ },
375
+ "fields": {
376
+ "name": {
377
+ "en-US": "foo"
378
+ }
379
+ }
380
+ },
381
+ {
382
+ "sys": {
383
+ "space": {
384
+ "sys": {
385
+ "type": "Link",
386
+ "linkType": "Space",
387
+ "id": "facgnwwgj5fe"
388
+ }
389
+ },
390
+ "id": "cq0MrAkH8A0Q8QsYquwMq",
391
+ "type": "Entry",
392
+ "createdAt": "2017-05-08T14:06:31.797Z",
393
+ "updatedAt": "2017-05-08T14:06:44.003Z",
394
+ "environment": {
395
+ "sys": {
396
+ "id": "master",
397
+ "type": "Link",
398
+ "linkType": "Environment"
399
+ }
400
+ },
401
+ "createdBy": {
402
+ "sys": {
403
+ "type": "Link",
404
+ "linkType": "User",
405
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
406
+ }
407
+ },
408
+ "updatedBy": {
409
+ "sys": {
410
+ "type": "Link",
411
+ "linkType": "User",
412
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
413
+ }
414
+ },
415
+ "publishedCounter": 1,
416
+ "version": 10,
417
+ "publishedBy": {
418
+ "sys": {
419
+ "type": "Link",
420
+ "linkType": "User",
421
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
422
+ }
423
+ },
424
+ "publishedVersion": 9,
425
+ "firstPublishedAt": "2017-05-08T14:06:43.975Z",
426
+ "publishedAt": "2017-05-08T14:06:43.975Z",
427
+ "contentType": {
428
+ "sys": {
429
+ "type": "Link",
430
+ "linkType": "ContentType",
431
+ "id": "cat"
432
+ }
433
+ }
434
+ },
435
+ "fields": {
436
+ "name": {
437
+ "en-US": "Happy Cat"
438
+ },
439
+ "lives": {
440
+ "en-US": 9
441
+ },
442
+ "bestFriend": {
443
+ "en-US": {
444
+ "sys": {
445
+ "type": "Link",
446
+ "linkType": "Entry",
447
+ "id": "IJLRrADsqq2AmwcugoYeK"
448
+ }
449
+ }
450
+ }
451
+ }
452
+ },
453
+ {
454
+ "sys": {
455
+ "space": {
456
+ "sys": {
457
+ "type": "Link",
458
+ "linkType": "Space",
459
+ "id": "facgnwwgj5fe"
460
+ }
461
+ },
462
+ "id": "1p3oeI7fO8imkaiMyWiCuc",
463
+ "type": "Entry",
464
+ "createdAt": "2017-03-10T15:31:12.531Z",
465
+ "updatedAt": "2017-03-10T15:31:12.549Z",
466
+ "environment": {
467
+ "sys": {
468
+ "id": "master",
469
+ "type": "Link",
470
+ "linkType": "Environment"
471
+ }
472
+ },
473
+ "createdBy": {
474
+ "sys": {
475
+ "type": "Link",
476
+ "linkType": "User",
477
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
478
+ }
479
+ },
480
+ "updatedBy": {
481
+ "sys": {
482
+ "type": "Link",
483
+ "linkType": "User",
484
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
485
+ }
486
+ },
487
+ "version": 1,
488
+ "contentType": {
489
+ "sys": {
490
+ "type": "Link",
491
+ "linkType": "ContentType",
492
+ "id": "foo"
493
+ }
494
+ }
495
+ },
496
+ "fields": {}
497
+ },
498
+ {
499
+ "sys": {
500
+ "space": {
501
+ "sys": {
502
+ "type": "Link",
503
+ "linkType": "Space",
504
+ "id": "facgnwwgj5fe"
505
+ }
506
+ },
507
+ "id": "5gQdVmPHKwIk2MumquYwOu",
508
+ "type": "Entry",
509
+ "createdAt": "2017-03-02T18:47:44.195Z",
510
+ "updatedAt": "2017-03-10T15:58:29.870Z",
511
+ "environment": {
512
+ "sys": {
513
+ "id": "master",
514
+ "type": "Link",
515
+ "linkType": "Environment"
516
+ }
517
+ },
518
+ "createdBy": {
519
+ "sys": {
520
+ "type": "Link",
521
+ "linkType": "User",
522
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
523
+ }
524
+ },
525
+ "updatedBy": {
526
+ "sys": {
527
+ "type": "Link",
528
+ "linkType": "User",
529
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
530
+ }
531
+ },
532
+ "publishedCounter": 1,
533
+ "version": 4,
534
+ "firstPublishedAt": "2017-03-10T15:58:05.418Z",
535
+ "contentType": {
536
+ "sys": {
537
+ "type": "Link",
538
+ "linkType": "ContentType",
539
+ "id": "test"
540
+ }
541
+ }
542
+ },
543
+ "fields": {
544
+ "name": {
545
+ "en-US": "something else"
546
+ }
547
+ }
548
+ },
549
+ {
550
+ "sys": {
551
+ "space": {
552
+ "sys": {
553
+ "type": "Link",
554
+ "linkType": "Space",
555
+ "id": "facgnwwgj5fe"
556
+ }
557
+ },
558
+ "id": "id_create_content_type_empty",
559
+ "type": "Entry",
560
+ "createdAt": "2017-03-10T15:44:46.785Z",
561
+ "updatedAt": "2017-03-10T15:44:46.791Z",
562
+ "environment": {
563
+ "sys": {
564
+ "id": "master",
565
+ "type": "Link",
566
+ "linkType": "Environment"
567
+ }
568
+ },
569
+ "createdBy": {
570
+ "sys": {
571
+ "type": "Link",
572
+ "linkType": "User",
573
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
574
+ }
575
+ },
576
+ "updatedBy": {
577
+ "sys": {
578
+ "type": "Link",
579
+ "linkType": "User",
580
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
581
+ }
582
+ },
583
+ "version": 1,
584
+ "contentType": {
585
+ "sys": {
586
+ "type": "Link",
587
+ "linkType": "ContentType",
588
+ "id": "foo"
589
+ }
590
+ }
591
+ },
592
+ "fields": {}
593
+ },
594
+ {
595
+ "sys": {
596
+ "space": {
597
+ "sys": {
598
+ "type": "Link",
599
+ "linkType": "Space",
600
+ "id": "facgnwwgj5fe"
601
+ }
602
+ },
603
+ "id": "IJLRrADsqq2AmwcugoYeK",
604
+ "type": "Entry",
605
+ "createdAt": "2017-05-08T14:06:14.367Z",
606
+ "updatedAt": "2017-05-09T13:39:59.063Z",
607
+ "environment": {
608
+ "sys": {
609
+ "id": "master",
610
+ "type": "Link",
611
+ "linkType": "Environment"
612
+ }
613
+ },
614
+ "createdBy": {
615
+ "sys": {
616
+ "type": "Link",
617
+ "linkType": "User",
618
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
619
+ }
620
+ },
621
+ "updatedBy": {
622
+ "sys": {
623
+ "type": "Link",
624
+ "linkType": "User",
625
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
626
+ }
627
+ },
628
+ "publishedCounter": 16,
629
+ "version": 57,
630
+ "publishedBy": {
631
+ "sys": {
632
+ "type": "Link",
633
+ "linkType": "User",
634
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
635
+ }
636
+ },
637
+ "publishedVersion": 56,
638
+ "firstPublishedAt": "2017-05-08T14:06:25.154Z",
639
+ "publishedAt": "2017-05-09T13:39:59.032Z",
640
+ "contentType": {
641
+ "sys": {
642
+ "type": "Link",
643
+ "linkType": "ContentType",
644
+ "id": "cat"
645
+ }
646
+ }
647
+ },
648
+ "fields": {
649
+ "name": {
650
+ "en-US": "Fat Cat"
651
+ },
652
+ "lives": {
653
+ "en-US": 1337
654
+ },
655
+ "bestFriend": {
656
+ "en-US": {
657
+ "sys": {
658
+ "type": "Link",
659
+ "linkType": "Entry",
660
+ "id": "cq0MrAkH8A0Q8QsYquwMq"
661
+ }
662
+ }
663
+ }
664
+ }
665
+ },
666
+ {
667
+ "sys": {
668
+ "space": {
669
+ "sys": {
670
+ "type": "Link",
671
+ "linkType": "Space",
672
+ "id": "facgnwwgj5fe"
673
+ }
674
+ },
675
+ "id": "3YW3PokqqkgSg8EoOAAk0o",
676
+ "type": "Entry",
677
+ "createdAt": "2017-11-17T12:51:01.188Z",
678
+ "updatedAt": "2017-11-17T12:51:01.188Z",
679
+ "environment": {
680
+ "sys": {
681
+ "id": "master",
682
+ "type": "Link",
683
+ "linkType": "Environment"
684
+ }
685
+ },
686
+ "createdBy": {
687
+ "sys": {
688
+ "type": "Link",
689
+ "linkType": "User",
690
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
691
+ }
692
+ },
693
+ "updatedBy": {
694
+ "sys": {
695
+ "type": "Link",
696
+ "linkType": "User",
697
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
698
+ }
699
+ },
700
+ "version": 1,
701
+ "contentType": {
702
+ "sys": {
703
+ "type": "Link",
704
+ "linkType": "ContentType",
705
+ "id": "somethingWithLinks"
706
+ }
707
+ }
708
+ },
709
+ "fields": {}
710
+ },
711
+ {
712
+ "sys": {
713
+ "space": {
714
+ "sys": {
715
+ "type": "Link",
716
+ "linkType": "Space",
717
+ "id": "facgnwwgj5fe"
718
+ }
719
+ },
720
+ "id": "3Q8FXPXXzOs8MCYYquQgcs",
721
+ "type": "Entry",
722
+ "createdAt": "2018-06-12T12:39:09.268Z",
723
+ "updatedAt": "2018-06-12T12:39:09.268Z",
724
+ "environment": {
725
+ "sys": {
726
+ "id": "master",
727
+ "type": "Link",
728
+ "linkType": "Environment"
729
+ }
730
+ },
731
+ "createdBy": {
732
+ "sys": {
733
+ "type": "Link",
734
+ "linkType": "User",
735
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
736
+ }
737
+ },
738
+ "updatedBy": {
739
+ "sys": {
740
+ "type": "Link",
741
+ "linkType": "User",
742
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
743
+ }
744
+ },
745
+ "version": 1,
746
+ "contentType": {
747
+ "sys": {
748
+ "type": "Link",
749
+ "linkType": "ContentType",
750
+ "id": "test"
751
+ }
752
+ }
753
+ },
754
+ "fields": {
755
+ "name": {
756
+ "en-US": "foobar"
757
+ }
758
+ }
759
+ },
760
+ {
761
+ "sys": {
762
+ "space": {
763
+ "sys": {
764
+ "type": "Link",
765
+ "linkType": "Space",
766
+ "id": "facgnwwgj5fe"
767
+ }
768
+ },
769
+ "id": "4dI1y4PKdWWCSC0CwQakOa",
770
+ "type": "Entry",
771
+ "createdAt": "2017-03-02T18:49:22.569Z",
772
+ "updatedAt": "2017-03-10T13:38:59.457Z",
773
+ "environment": {
774
+ "sys": {
775
+ "id": "master",
776
+ "type": "Link",
777
+ "linkType": "Environment"
778
+ }
779
+ },
780
+ "createdBy": {
781
+ "sys": {
782
+ "type": "Link",
783
+ "linkType": "User",
784
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
785
+ }
786
+ },
787
+ "updatedBy": {
788
+ "sys": {
789
+ "type": "Link",
790
+ "linkType": "User",
791
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
792
+ }
793
+ },
794
+ "publishedCounter": 1,
795
+ "version": 2,
796
+ "publishedBy": {
797
+ "sys": {
798
+ "type": "Link",
799
+ "linkType": "User",
800
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
801
+ }
802
+ },
803
+ "publishedVersion": 1,
804
+ "firstPublishedAt": "2017-03-10T13:38:59.406Z",
805
+ "publishedAt": "2017-03-10T13:38:59.406Z",
806
+ "contentType": {
807
+ "sys": {
808
+ "type": "Link",
809
+ "linkType": "ContentType",
810
+ "id": "test"
811
+ }
812
+ }
813
+ },
814
+ "fields": {
815
+ "name": {
816
+ "en-US": "foobar"
817
+ }
818
+ }
819
+ },
820
+ {
821
+ "sys": {
822
+ "space": {
823
+ "sys": {
824
+ "type": "Link",
825
+ "linkType": "Space",
826
+ "id": "facgnwwgj5fe"
827
+ }
828
+ },
829
+ "id": "id_create_ct_proxy_test",
830
+ "type": "Entry",
831
+ "createdAt": "2017-03-10T09:45:41.878Z",
832
+ "updatedAt": "2017-03-10T09:45:41.886Z",
833
+ "environment": {
834
+ "sys": {
835
+ "id": "master",
836
+ "type": "Link",
837
+ "linkType": "Environment"
838
+ }
839
+ },
840
+ "createdBy": {
841
+ "sys": {
842
+ "type": "Link",
843
+ "linkType": "User",
844
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
845
+ }
846
+ },
847
+ "updatedBy": {
848
+ "sys": {
849
+ "type": "Link",
850
+ "linkType": "User",
851
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
852
+ }
853
+ },
854
+ "version": 1,
855
+ "contentType": {
856
+ "sys": {
857
+ "type": "Link",
858
+ "linkType": "ContentType",
859
+ "id": "foo"
860
+ }
861
+ }
862
+ },
863
+ "fields": {
864
+ "name": {
865
+ "en-US": "test"
866
+ }
867
+ }
868
+ },
869
+ {
870
+ "sys": {
871
+ "space": {
872
+ "sys": {
873
+ "type": "Link",
874
+ "linkType": "Space",
875
+ "id": "facgnwwgj5fe"
876
+ }
877
+ },
878
+ "id": "id_create_entry_test",
879
+ "type": "Entry",
880
+ "createdAt": "2017-03-10T15:47:32.138Z",
881
+ "updatedAt": "2017-03-10T15:47:32.144Z",
882
+ "environment": {
883
+ "sys": {
884
+ "id": "master",
885
+ "type": "Link",
886
+ "linkType": "Environment"
887
+ }
888
+ },
889
+ "createdBy": {
890
+ "sys": {
891
+ "type": "Link",
892
+ "linkType": "User",
893
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
894
+ }
895
+ },
896
+ "updatedBy": {
897
+ "sys": {
898
+ "type": "Link",
899
+ "linkType": "User",
900
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
901
+ }
902
+ },
903
+ "version": 1,
904
+ "contentType": {
905
+ "sys": {
906
+ "type": "Link",
907
+ "linkType": "ContentType",
908
+ "id": "foo"
909
+ }
910
+ }
911
+ },
912
+ "fields": {
913
+ "name": {
914
+ "en-US": "foobar"
915
+ }
916
+ }
917
+ },
918
+ {
919
+ "sys": {
920
+ "space": {
921
+ "sys": {
922
+ "type": "Link",
923
+ "linkType": "Space",
924
+ "id": "facgnwwgj5fe"
925
+ }
926
+ },
927
+ "id": "5SPxEdJIcMuiWW2omkOgw2",
928
+ "type": "Entry",
929
+ "createdAt": "2017-11-17T12:44:00.211Z",
930
+ "updatedAt": "2017-11-17T12:44:00.211Z",
931
+ "environment": {
932
+ "sys": {
933
+ "id": "master",
934
+ "type": "Link",
935
+ "linkType": "Environment"
936
+ }
937
+ },
938
+ "createdBy": {
939
+ "sys": {
940
+ "type": "Link",
941
+ "linkType": "User",
942
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
943
+ }
944
+ },
945
+ "updatedBy": {
946
+ "sys": {
947
+ "type": "Link",
948
+ "linkType": "User",
949
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
950
+ }
951
+ },
952
+ "version": 1,
953
+ "contentType": {
954
+ "sys": {
955
+ "type": "Link",
956
+ "linkType": "ContentType",
957
+ "id": "somethingWithLinks"
958
+ }
959
+ }
960
+ },
961
+ "fields": {}
962
+ },
963
+ {
964
+ "sys": {
965
+ "space": {
966
+ "sys": {
967
+ "type": "Link",
968
+ "linkType": "Space",
969
+ "id": "facgnwwgj5fe"
970
+ }
971
+ },
972
+ "id": "1HDKL0ldPuaKKiquq0IGam",
973
+ "type": "Entry",
974
+ "createdAt": "2017-11-17T12:25:37.976Z",
975
+ "updatedAt": "2017-11-17T12:25:37.976Z",
976
+ "environment": {
977
+ "sys": {
978
+ "id": "master",
979
+ "type": "Link",
980
+ "linkType": "Environment"
981
+ }
982
+ },
983
+ "createdBy": {
984
+ "sys": {
985
+ "type": "Link",
986
+ "linkType": "User",
987
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
988
+ }
989
+ },
990
+ "updatedBy": {
991
+ "sys": {
992
+ "type": "Link",
993
+ "linkType": "User",
994
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
995
+ }
996
+ },
997
+ "version": 1,
998
+ "contentType": {
999
+ "sys": {
1000
+ "type": "Link",
1001
+ "linkType": "ContentType",
1002
+ "id": "somethingWithLinks"
1003
+ }
1004
+ }
1005
+ },
1006
+ "fields": {
1007
+ "link": {
1008
+ "en-US": {
1009
+ "sys": {
1010
+ "type": "Link",
1011
+ "linkType": "Entry",
1012
+ "id": "IJLRrADsqq2AmwcugoYeK"
1013
+ }
1014
+ }
1015
+ }
1016
+ }
1017
+ },
1018
+ {
1019
+ "sys": {
1020
+ "space": {
1021
+ "sys": {
1022
+ "type": "Link",
1023
+ "linkType": "Space",
1024
+ "id": "facgnwwgj5fe"
1025
+ }
1026
+ },
1027
+ "id": "sQxO6QhpWoEouEWe4OsWK",
1028
+ "type": "Entry",
1029
+ "createdAt": "2018-06-12T12:32:37.141Z",
1030
+ "updatedAt": "2018-06-12T12:32:37.141Z",
1031
+ "environment": {
1032
+ "sys": {
1033
+ "id": "master",
1034
+ "type": "Link",
1035
+ "linkType": "Environment"
1036
+ }
1037
+ },
1038
+ "createdBy": {
1039
+ "sys": {
1040
+ "type": "Link",
1041
+ "linkType": "User",
1042
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1043
+ }
1044
+ },
1045
+ "updatedBy": {
1046
+ "sys": {
1047
+ "type": "Link",
1048
+ "linkType": "User",
1049
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1050
+ }
1051
+ },
1052
+ "version": 1,
1053
+ "contentType": {
1054
+ "sys": {
1055
+ "type": "Link",
1056
+ "linkType": "ContentType",
1057
+ "id": "test"
1058
+ }
1059
+ }
1060
+ },
1061
+ "fields": {
1062
+ "name": {
1063
+ "en-US": "foo"
1064
+ }
1065
+ }
1066
+ },
1067
+ {
1068
+ "sys": {
1069
+ "space": {
1070
+ "sys": {
1071
+ "type": "Link",
1072
+ "linkType": "Space",
1073
+ "id": "facgnwwgj5fe"
1074
+ }
1075
+ },
1076
+ "id": "1M9UQNctzeqUgQsWUWy04G",
1077
+ "type": "Entry",
1078
+ "createdAt": "2018-06-12T12:29:33.687Z",
1079
+ "updatedAt": "2018-06-12T12:29:33.687Z",
1080
+ "environment": {
1081
+ "sys": {
1082
+ "id": "master",
1083
+ "type": "Link",
1084
+ "linkType": "Environment"
1085
+ }
1086
+ },
1087
+ "createdBy": {
1088
+ "sys": {
1089
+ "type": "Link",
1090
+ "linkType": "User",
1091
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1092
+ }
1093
+ },
1094
+ "updatedBy": {
1095
+ "sys": {
1096
+ "type": "Link",
1097
+ "linkType": "User",
1098
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1099
+ }
1100
+ },
1101
+ "version": 1,
1102
+ "contentType": {
1103
+ "sys": {
1104
+ "type": "Link",
1105
+ "linkType": "ContentType",
1106
+ "id": "test"
1107
+ }
1108
+ }
1109
+ },
1110
+ "fields": {
1111
+ "name": {
1112
+ "en-US": "foo"
1113
+ }
1114
+ }
1115
+ },
1116
+ {
1117
+ "sys": {
1118
+ "space": {
1119
+ "sys": {
1120
+ "type": "Link",
1121
+ "linkType": "Space",
1122
+ "id": "facgnwwgj5fe"
1123
+ }
1124
+ },
1125
+ "id": "2wuR16DhVuKKoem80OmUMQ",
1126
+ "type": "Entry",
1127
+ "createdAt": "2017-03-10T15:22:13.514Z",
1128
+ "updatedAt": "2017-03-10T15:22:13.522Z",
1129
+ "environment": {
1130
+ "sys": {
1131
+ "id": "master",
1132
+ "type": "Link",
1133
+ "linkType": "Environment"
1134
+ }
1135
+ },
1136
+ "createdBy": {
1137
+ "sys": {
1138
+ "type": "Link",
1139
+ "linkType": "User",
1140
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1141
+ }
1142
+ },
1143
+ "updatedBy": {
1144
+ "sys": {
1145
+ "type": "Link",
1146
+ "linkType": "User",
1147
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1148
+ }
1149
+ },
1150
+ "version": 1,
1151
+ "contentType": {
1152
+ "sys": {
1153
+ "type": "Link",
1154
+ "linkType": "ContentType",
1155
+ "id": "foo"
1156
+ }
1157
+ }
1158
+ },
1159
+ "fields": {}
1160
+ },
1161
+ {
1162
+ "sys": {
1163
+ "space": {
1164
+ "sys": {
1165
+ "type": "Link",
1166
+ "linkType": "Space",
1167
+ "id": "facgnwwgj5fe"
1168
+ }
1169
+ },
1170
+ "id": "5blobvyETYu2iGiCMi4WAW",
1171
+ "type": "Entry",
1172
+ "createdAt": "2017-11-17T12:54:42.336Z",
1173
+ "updatedAt": "2017-11-17T12:54:42.336Z",
1174
+ "environment": {
1175
+ "sys": {
1176
+ "id": "master",
1177
+ "type": "Link",
1178
+ "linkType": "Environment"
1179
+ }
1180
+ },
1181
+ "createdBy": {
1182
+ "sys": {
1183
+ "type": "Link",
1184
+ "linkType": "User",
1185
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1186
+ }
1187
+ },
1188
+ "updatedBy": {
1189
+ "sys": {
1190
+ "type": "Link",
1191
+ "linkType": "User",
1192
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1193
+ }
1194
+ },
1195
+ "version": 1,
1196
+ "contentType": {
1197
+ "sys": {
1198
+ "type": "Link",
1199
+ "linkType": "ContentType",
1200
+ "id": "somethingWithLinks"
1201
+ }
1202
+ }
1203
+ },
1204
+ "fields": {
1205
+ "link": {
1206
+ "en-US": {
1207
+ "sys": {
1208
+ "type": "Link",
1209
+ "linkType": "Entry",
1210
+ "id": "IJLRrADsqq2AmwcugoYeK"
1211
+ }
1212
+ }
1213
+ }
1214
+ }
1215
+ },
1216
+ {
1217
+ "sys": {
1218
+ "space": {
1219
+ "sys": {
1220
+ "type": "Link",
1221
+ "linkType": "Space",
1222
+ "id": "facgnwwgj5fe"
1223
+ }
1224
+ },
1225
+ "id": "3fTNzlQsDmge6YQEikEuME",
1226
+ "type": "Entry",
1227
+ "createdAt": "2017-06-15T14:23:07.028Z",
1228
+ "updatedAt": "2017-06-15T14:28:46.345Z",
1229
+ "environment": {
1230
+ "sys": {
1231
+ "id": "master",
1232
+ "type": "Link",
1233
+ "linkType": "Environment"
1234
+ }
1235
+ },
1236
+ "createdBy": {
1237
+ "sys": {
1238
+ "type": "Link",
1239
+ "linkType": "User",
1240
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1241
+ }
1242
+ },
1243
+ "updatedBy": {
1244
+ "sys": {
1245
+ "type": "Link",
1246
+ "linkType": "User",
1247
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1248
+ }
1249
+ },
1250
+ "publishedCounter": 1,
1251
+ "version": 12,
1252
+ "publishedBy": {
1253
+ "sys": {
1254
+ "type": "Link",
1255
+ "linkType": "User",
1256
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1257
+ }
1258
+ },
1259
+ "publishedVersion": 10,
1260
+ "firstPublishedAt": "2017-06-15T14:23:17.640Z",
1261
+ "publishedAt": "2017-06-15T14:23:17.641Z",
1262
+ "contentType": {
1263
+ "sys": {
1264
+ "type": "Link",
1265
+ "linkType": "ContentType",
1266
+ "id": "missingFields"
1267
+ }
1268
+ }
1269
+ },
1270
+ "fields": {
1271
+ "name": {
1272
+ "en-US": "A Name"
1273
+ },
1274
+ "other": {
1275
+ "en-US": "Other Stuff"
1276
+ },
1277
+ "different": {
1278
+ "en-US": "A Different Field"
1279
+ }
1280
+ }
1281
+ },
1282
+ {
1283
+ "sys": {
1284
+ "space": {
1285
+ "sys": {
1286
+ "type": "Link",
1287
+ "linkType": "Space",
1288
+ "id": "facgnwwgj5fe"
1289
+ }
1290
+ },
1291
+ "id": "foo",
1292
+ "type": "Entry",
1293
+ "createdAt": "2017-03-02T21:50:42.413Z",
1294
+ "updatedAt": "2017-03-02T21:50:47.966Z",
1295
+ "environment": {
1296
+ "sys": {
1297
+ "id": "master",
1298
+ "type": "Link",
1299
+ "linkType": "Environment"
1300
+ }
1301
+ },
1302
+ "createdBy": {
1303
+ "sys": {
1304
+ "type": "Link",
1305
+ "linkType": "User",
1306
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1307
+ }
1308
+ },
1309
+ "updatedBy": {
1310
+ "sys": {
1311
+ "type": "Link",
1312
+ "linkType": "User",
1313
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1314
+ }
1315
+ },
1316
+ "publishedCounter": 1,
1317
+ "version": 2,
1318
+ "publishedBy": {
1319
+ "sys": {
1320
+ "type": "Link",
1321
+ "linkType": "User",
1322
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1323
+ }
1324
+ },
1325
+ "publishedVersion": 1,
1326
+ "firstPublishedAt": "2017-03-02T21:50:47.936Z",
1327
+ "publishedAt": "2017-03-02T21:50:47.936Z",
1328
+ "contentType": {
1329
+ "sys": {
1330
+ "type": "Link",
1331
+ "linkType": "ContentType",
1332
+ "id": "test"
1333
+ }
1334
+ }
1335
+ },
1336
+ "fields": {
1337
+ "name": {
1338
+ "en-US": "foobar"
1339
+ }
1340
+ }
1341
+ },
1342
+ {
1343
+ "sys": {
1344
+ "space": {
1345
+ "sys": {
1346
+ "type": "Link",
1347
+ "linkType": "Space",
1348
+ "id": "facgnwwgj5fe"
1349
+ }
1350
+ },
1351
+ "id": "id_create_content_type_proxy_test",
1352
+ "type": "Entry",
1353
+ "createdAt": "2017-03-10T15:31:07.025Z",
1354
+ "updatedAt": "2017-03-10T15:31:07.031Z",
1355
+ "environment": {
1356
+ "sys": {
1357
+ "id": "master",
1358
+ "type": "Link",
1359
+ "linkType": "Environment"
1360
+ }
1361
+ },
1362
+ "createdBy": {
1363
+ "sys": {
1364
+ "type": "Link",
1365
+ "linkType": "User",
1366
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1367
+ }
1368
+ },
1369
+ "updatedBy": {
1370
+ "sys": {
1371
+ "type": "Link",
1372
+ "linkType": "User",
1373
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1374
+ }
1375
+ },
1376
+ "version": 1,
1377
+ "contentType": {
1378
+ "sys": {
1379
+ "type": "Link",
1380
+ "linkType": "ContentType",
1381
+ "id": "foo"
1382
+ }
1383
+ }
1384
+ },
1385
+ "fields": {
1386
+ "name": {
1387
+ "en-US": "test"
1388
+ }
1389
+ }
1390
+ },
1391
+ {
1392
+ "sys": {
1393
+ "space": {
1394
+ "sys": {
1395
+ "type": "Link",
1396
+ "linkType": "Space",
1397
+ "id": "facgnwwgj5fe"
1398
+ }
1399
+ },
1400
+ "id": "id_create_ct_empty",
1401
+ "type": "Entry",
1402
+ "createdAt": "2017-03-10T11:40:05.280Z",
1403
+ "updatedAt": "2017-03-10T11:40:05.288Z",
1404
+ "environment": {
1405
+ "sys": {
1406
+ "id": "master",
1407
+ "type": "Link",
1408
+ "linkType": "Environment"
1409
+ }
1410
+ },
1411
+ "createdBy": {
1412
+ "sys": {
1413
+ "type": "Link",
1414
+ "linkType": "User",
1415
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1416
+ }
1417
+ },
1418
+ "updatedBy": {
1419
+ "sys": {
1420
+ "type": "Link",
1421
+ "linkType": "User",
1422
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1423
+ }
1424
+ },
1425
+ "version": 1,
1426
+ "contentType": {
1427
+ "sys": {
1428
+ "type": "Link",
1429
+ "linkType": "ContentType",
1430
+ "id": "foo"
1431
+ }
1432
+ }
1433
+ },
1434
+ "fields": {}
1435
+ },
1436
+ {
1437
+ "sys": {
1438
+ "space": {
1439
+ "sys": {
1440
+ "type": "Link",
1441
+ "linkType": "Space",
1442
+ "id": "facgnwwgj5fe"
1443
+ }
1444
+ },
1445
+ "id": "1dYTHwMZlU2wm88SA8I2Q0",
1446
+ "type": "Entry",
1447
+ "createdAt": "2017-03-10T15:22:12.924Z",
1448
+ "updatedAt": "2017-03-10T15:56:21.723Z",
1449
+ "environment": {
1450
+ "sys": {
1451
+ "id": "master",
1452
+ "type": "Link",
1453
+ "linkType": "Environment"
1454
+ }
1455
+ },
1456
+ "createdBy": {
1457
+ "sys": {
1458
+ "type": "Link",
1459
+ "linkType": "User",
1460
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1461
+ }
1462
+ },
1463
+ "updatedBy": {
1464
+ "sys": {
1465
+ "type": "Link",
1466
+ "linkType": "User",
1467
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1468
+ }
1469
+ },
1470
+ "version": 2,
1471
+ "contentType": {
1472
+ "sys": {
1473
+ "type": "Link",
1474
+ "linkType": "ContentType",
1475
+ "id": "foo"
1476
+ }
1477
+ }
1478
+ },
1479
+ "fields": {
1480
+ "name": {
1481
+ "en-US": "something else"
1482
+ }
1483
+ }
1484
+ },
1485
+ {
1486
+ "sys": {
1487
+ "space": {
1488
+ "sys": {
1489
+ "type": "Link",
1490
+ "linkType": "Space",
1491
+ "id": "facgnwwgj5fe"
1492
+ }
1493
+ },
1494
+ "id": "5MMfDdT3a0CUC6oGQGySaI",
1495
+ "type": "Entry",
1496
+ "createdAt": "2017-03-10T13:54:15.563Z",
1497
+ "updatedAt": "2017-03-10T13:54:15.576Z",
1498
+ "environment": {
1499
+ "sys": {
1500
+ "id": "master",
1501
+ "type": "Link",
1502
+ "linkType": "Environment"
1503
+ }
1504
+ },
1505
+ "createdBy": {
1506
+ "sys": {
1507
+ "type": "Link",
1508
+ "linkType": "User",
1509
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1510
+ }
1511
+ },
1512
+ "updatedBy": {
1513
+ "sys": {
1514
+ "type": "Link",
1515
+ "linkType": "User",
1516
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1517
+ }
1518
+ },
1519
+ "version": 1,
1520
+ "contentType": {
1521
+ "sys": {
1522
+ "type": "Link",
1523
+ "linkType": "ContentType",
1524
+ "id": "foo"
1525
+ }
1526
+ }
1527
+ },
1528
+ "fields": {}
1529
+ }
1530
+ ]
1531
+ }
1532
+ http_version:
1533
+ recorded_at: Tue, 19 Feb 2019 18:03:49 GMT
1534
+ - request:
1535
+ method: put
1536
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/non-master-rb
1537
+ body:
1538
+ encoding: UTF-8
1539
+ string: '{"name":"Non Master - Ruby"}'
1540
+ headers:
1541
+ X-Contentful-User-Agent:
1542
+ - sdk contentful-management.rb/2.7.0; platform ruby/2.5.3; os macOS/16;
1543
+ Authorization:
1544
+ - Bearer <ACCESS_TOKEN>
1545
+ Content-Type:
1546
+ - application/vnd.contentful.management.v1+json
1547
+ X-Contentful-Source-Environment:
1548
+ - source
1549
+ Connection:
1550
+ - close
1551
+ Host:
1552
+ - api.contentful.com
1553
+ User-Agent:
1554
+ - http.rb/2.2.2
1555
+ response:
1556
+ status:
1557
+ code: 201
1558
+ message: Created
1559
+ headers:
1560
+ Accept-Ranges:
1561
+ - bytes
1562
+ Access-Control-Allow-Headers:
1563
+ - 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,X-Contentful-Source-Environment
1564
+ Access-Control-Allow-Methods:
1565
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1566
+ Access-Control-Allow-Origin:
1567
+ - "*"
1568
+ Access-Control-Expose-Headers:
1569
+ - Etag
1570
+ Access-Control-Max-Age:
1571
+ - '1728000'
1572
+ Cache-Control:
1573
+ - max-age=0
1574
+ Cf-Organization-Id:
1575
+ - 4SsuxQCaMaemfIms52Jr8s
1576
+ Cf-Space-Id:
1577
+ - facgnwwgj5fe
1578
+ Content-Type:
1579
+ - application/vnd.contentful.management.v1+json
1580
+ Contentful-Api:
1581
+ - cma
1582
+ Date:
1583
+ - Tue, 19 Feb 2019 18:03:52 GMT
1584
+ Etag:
1585
+ - W/"55fb520cdf44e7862e74fed487492682"
1586
+ Referrer-Policy:
1587
+ - strict-origin-when-cross-origin
1588
+ Server:
1589
+ - Contentful
1590
+ Strict-Transport-Security:
1591
+ - max-age=15768000
1592
+ X-Content-Type-Options:
1593
+ - nosniff
1594
+ X-Contentful-Ratelimit-Hour-Limit:
1595
+ - '36000'
1596
+ X-Contentful-Ratelimit-Hour-Remaining:
1597
+ - '35999'
1598
+ X-Contentful-Ratelimit-Reset:
1599
+ - '0'
1600
+ X-Contentful-Ratelimit-Second-Limit:
1601
+ - '10'
1602
+ X-Contentful-Ratelimit-Second-Remaining:
1603
+ - '9'
1604
+ X-Contentful-Request-Id:
1605
+ - a73200c88fed04c28c0198993341a513
1606
+ X-Download-Options:
1607
+ - noopen
1608
+ X-Frame-Options:
1609
+ - ALLOWALL
1610
+ X-Permitted-Cross-Domain-Policies:
1611
+ - none
1612
+ X-Xss-Protection:
1613
+ - 1; mode=block
1614
+ Content-Length:
1615
+ - '707'
1616
+ Connection:
1617
+ - Close
1618
+ Set-Cookie:
1619
+ - incap_ses_84_673446=lXnET8s+a0XmmIGBM28qAQhFbFwAAAAAIZwBthbyD/wznDyimYfgmA==;
1620
+ path=/; Domain=.contentful.com
1621
+ - nlbi_673446=lrcMejtqamJznnzS6lKYhQAAAABbszJgWZRM0/O8xbW8QVbp; path=/; Domain=.contentful.com
1622
+ - visid_incap_673446=n3nlTSWsRVquxxNCuOSIkwhFbFwAAAAAQUIPAAAAAABPj1X7vz8n4M7z47v8Ywxy;
1623
+ expires=Wed, 19 Feb 2020 14:51:24 GMT; path=/; Domain=.contentful.com
1624
+ X-Iinfo:
1625
+ - 9-21981504-21981508 NNNN CT(0 0 0) RT(1550599431922 32) q(0 0 0 -1) r(6 6)
1626
+ U5
1627
+ X-Cdn:
1628
+ - Incapsula
1629
+ body:
1630
+ encoding: ASCII-8BIT
1631
+ string: |+
1632
+ {
1633
+ "name":"Non Master - Ruby",
1634
+ "sys":{
1635
+ "type":"Environment",
1636
+ "id":"non-master-rb",
1637
+ "version":1,
1638
+ "space":{
1639
+ "sys":{
1640
+ "type":"Link",
1641
+ "linkType":"Space",
1642
+ "id":"facgnwwgj5fe"
1643
+ }
1644
+ },
1645
+ "status":{
1646
+ "sys":{
1647
+ "type":"Link",
1648
+ "linkType":"Status",
1649
+ "id":"queued"
1650
+ }
1651
+ },
1652
+ "createdBy":{
1653
+ "sys":{
1654
+ "type":"Link",
1655
+ "linkType":"User",
1656
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
1657
+ }
1658
+ },
1659
+ "createdAt":"2019-02-19T18:03:52Z",
1660
+ "updatedBy":{
1661
+ "sys":{
1662
+ "type":"Link",
1663
+ "linkType":"User",
1664
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
1665
+ }
1666
+ },
1667
+ "updatedAt":"2019-02-19T18:03:52Z"
1668
+ }
1669
+ }
1670
+
1671
+ http_version:
1672
+ recorded_at: Tue, 19 Feb 2019 18:03:50 GMT
1673
+ - request:
1674
+ method: get
1675
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/non-master-rb
1676
+ body:
1677
+ encoding: US-ASCII
1678
+ string: ''
1679
+ headers:
1680
+ X-Contentful-User-Agent:
1681
+ - sdk contentful-management.rb/2.7.0; platform ruby/2.5.3; os macOS/16;
1682
+ Authorization:
1683
+ - Bearer <ACCESS_TOKEN>
1684
+ Content-Type:
1685
+ - application/vnd.contentful.management.v1+json
1686
+ Connection:
1687
+ - close
1688
+ Host:
1689
+ - api.contentful.com
1690
+ User-Agent:
1691
+ - http.rb/2.2.2
1692
+ response:
1693
+ status:
1694
+ code: 200
1695
+ message: OK
1696
+ headers:
1697
+ Accept-Ranges:
1698
+ - bytes
1699
+ Access-Control-Allow-Headers:
1700
+ - 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,X-Contentful-Source-Environment
1701
+ Access-Control-Allow-Methods:
1702
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1703
+ Access-Control-Allow-Origin:
1704
+ - "*"
1705
+ Access-Control-Expose-Headers:
1706
+ - Etag
1707
+ Access-Control-Max-Age:
1708
+ - '1728000'
1709
+ Cache-Control:
1710
+ - max-age=0
1711
+ Cf-Organization-Id:
1712
+ - 4SsuxQCaMaemfIms52Jr8s
1713
+ Cf-Space-Id:
1714
+ - facgnwwgj5fe
1715
+ Content-Type:
1716
+ - application/vnd.contentful.management.v1+json
1717
+ Contentful-Api:
1718
+ - cma
1719
+ Date:
1720
+ - Tue, 19 Feb 2019 18:03:58 GMT
1721
+ Etag:
1722
+ - W/"13fc0c87ffa77a14792fa7d9ff7cb523"
1723
+ Referrer-Policy:
1724
+ - strict-origin-when-cross-origin
1725
+ Server:
1726
+ - Contentful
1727
+ Strict-Transport-Security:
1728
+ - max-age=15768000
1729
+ X-Content-Type-Options:
1730
+ - nosniff
1731
+ X-Contentful-Ratelimit-Hour-Limit:
1732
+ - '36000'
1733
+ X-Contentful-Ratelimit-Hour-Remaining:
1734
+ - '35999'
1735
+ X-Contentful-Ratelimit-Reset:
1736
+ - '0'
1737
+ X-Contentful-Ratelimit-Second-Limit:
1738
+ - '10'
1739
+ X-Contentful-Ratelimit-Second-Remaining:
1740
+ - '9'
1741
+ X-Contentful-Request-Id:
1742
+ - e13fff2a2fc47d96c29feabbab3f0ac3
1743
+ X-Download-Options:
1744
+ - noopen
1745
+ X-Frame-Options:
1746
+ - ALLOWALL
1747
+ X-Permitted-Cross-Domain-Policies:
1748
+ - none
1749
+ X-Xss-Protection:
1750
+ - 1; mode=block
1751
+ Content-Length:
1752
+ - '706'
1753
+ Connection:
1754
+ - Close
1755
+ Set-Cookie:
1756
+ - incap_ses_84_673446=5MiEK9mIslgJnIGBM28qAQ5FbFwAAAAANTWx/S/oxuDLdPVrPPFrnQ==;
1757
+ path=/; Domain=.contentful.com
1758
+ - nlbi_673446=oUz7SCCuaXKwSA7E6lKYhQAAAABr9s0zz+9kvyNP+FyU77r/; path=/; Domain=.contentful.com
1759
+ - visid_incap_673446=Jp8t3xOqSie8uTg+gOYtvg5FbFwAAAAAQUIPAAAAAACcJ2G5qu/iquLZtd+ugeXB;
1760
+ expires=Wed, 19 Feb 2020 14:51:24 GMT; path=/; Domain=.contentful.com
1761
+ X-Iinfo:
1762
+ - 10-34737031-34737036 NNNN CT(0 0 0) RT(1550599437768 83) q(0 0 0 -1) r(2 2)
1763
+ U5
1764
+ X-Cdn:
1765
+ - Incapsula
1766
+ body:
1767
+ encoding: ASCII-8BIT
1768
+ string: |+
1769
+ {
1770
+ "name":"Non Master - Ruby",
1771
+ "sys":{
1772
+ "type":"Environment",
1773
+ "id":"non-master-rb",
1774
+ "version":6,
1775
+ "space":{
1776
+ "sys":{
1777
+ "type":"Link",
1778
+ "linkType":"Space",
1779
+ "id":"facgnwwgj5fe"
1780
+ }
1781
+ },
1782
+ "status":{
1783
+ "sys":{
1784
+ "type":"Link",
1785
+ "linkType":"Status",
1786
+ "id":"ready"
1787
+ }
1788
+ },
1789
+ "createdBy":{
1790
+ "sys":{
1791
+ "type":"Link",
1792
+ "linkType":"User",
1793
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
1794
+ }
1795
+ },
1796
+ "createdAt":"2019-02-19T18:03:52Z",
1797
+ "updatedBy":{
1798
+ "sys":{
1799
+ "type":"Link",
1800
+ "linkType":"User",
1801
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
1802
+ }
1803
+ },
1804
+ "updatedAt":"2019-02-19T18:03:55Z"
1805
+ }
1806
+ }
1807
+
1808
+ http_version:
1809
+ recorded_at: Tue, 19 Feb 2019 18:03:55 GMT
1810
+ - request:
1811
+ method: get
1812
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/non-master-rb/entries
1813
+ body:
1814
+ encoding: US-ASCII
1815
+ string: ''
1816
+ headers:
1817
+ X-Contentful-User-Agent:
1818
+ - sdk contentful-management.rb/2.7.0; platform ruby/2.5.3; os macOS/16;
1819
+ Authorization:
1820
+ - Bearer <ACCESS_TOKEN>
1821
+ Content-Type:
1822
+ - application/vnd.contentful.management.v1+json
1823
+ Connection:
1824
+ - close
1825
+ Host:
1826
+ - api.contentful.com
1827
+ User-Agent:
1828
+ - http.rb/2.2.2
1829
+ response:
1830
+ status:
1831
+ code: 200
1832
+ message: OK
1833
+ headers:
1834
+ Access-Control-Allow-Headers:
1835
+ - 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,X-Contentful-Source-Environment
1836
+ Access-Control-Allow-Methods:
1837
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1838
+ Access-Control-Allow-Origin:
1839
+ - "*"
1840
+ Access-Control-Expose-Headers:
1841
+ - Etag
1842
+ Access-Control-Max-Age:
1843
+ - '1728000'
1844
+ Cf-Space-Id:
1845
+ - facgnwwgj5fe
1846
+ Content-Type:
1847
+ - application/vnd.contentful.management.v1+json
1848
+ Contentful-Api:
1849
+ - cma
1850
+ Date:
1851
+ - Tue, 19 Feb 2019 18:03:59 GMT
1852
+ Etag:
1853
+ - '"29f2c21be26360c424f617d8592cf6f9"'
1854
+ Server:
1855
+ - Contentful
1856
+ Strict-Transport-Security:
1857
+ - max-age=15768000
1858
+ X-Content-Type-Options:
1859
+ - nosniff
1860
+ X-Contentful-Ratelimit-Hour-Limit:
1861
+ - '36000'
1862
+ X-Contentful-Ratelimit-Hour-Remaining:
1863
+ - '35998'
1864
+ X-Contentful-Ratelimit-Reset:
1865
+ - '0'
1866
+ X-Contentful-Ratelimit-Second-Limit:
1867
+ - '10'
1868
+ X-Contentful-Ratelimit-Second-Remaining:
1869
+ - '8'
1870
+ X-Contentful-Request-Id:
1871
+ - 7d8dfb3e6b4cf869e1afa2e5b90a1a0d
1872
+ Content-Length:
1873
+ - '97'
1874
+ Connection:
1875
+ - Close
1876
+ Set-Cookie:
1877
+ - incap_ses_84_673446=HT4CaXwNrUi5nIGBM28qAQ5FbFwAAAAAbFNCXdMsJ1G52OXRb3KUPA==;
1878
+ path=/; Domain=.contentful.com
1879
+ - nlbi_673446=9ldyEZcYMymGuyj+6lKYhQAAAADJKBksmYAw2koR4nJ6FZPn; path=/; Domain=.contentful.com
1880
+ - visid_incap_673446=fmh+P6eUQ+SNHWAKnet8Lw5FbFwAAAAAQUIPAAAAAABARj6MhGsoGNm8shDefWt6;
1881
+ expires=Wed, 19 Feb 2020 14:51:24 GMT; path=/; Domain=.contentful.com
1882
+ X-Iinfo:
1883
+ - 10-34737052-34737054 NNNN CT(0 0 0) RT(1550599438064 28) q(0 0 0 -1) r(9 9)
1884
+ U5
1885
+ X-Cdn:
1886
+ - Incapsula
1887
+ body:
1888
+ encoding: ASCII-8BIT
1889
+ string: |
1890
+ {
1891
+ "sys": {
1892
+ "type": "Array"
1893
+ },
1894
+ "total": 0,
1895
+ "skip": 0,
1896
+ "limit": 100,
1897
+ "items": []
1898
+ }
1899
+ http_version:
1900
+ recorded_at: Tue, 19 Feb 2019 18:03:56 GMT
1901
+ recorded_with: VCR 4.0.0