contentful-management 3.2.0 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +23 -0
  3. data/CHANGELOG.md +10 -0
  4. data/README.md +45 -1
  5. data/lib/contentful/management/asset.rb +2 -2
  6. data/lib/contentful/management/client.rb +10 -0
  7. data/lib/contentful/management/client_tag_methods_factory.rb +11 -0
  8. data/lib/contentful/management/editor_interface.rb +12 -4
  9. data/lib/contentful/management/entry.rb +16 -3
  10. data/lib/contentful/management/environment.rb +10 -0
  11. data/lib/contentful/management/environment_tag_methods_factory.rb +11 -0
  12. data/lib/contentful/management/resource/refresher.rb +1 -0
  13. data/lib/contentful/management/resource_requester.rb +2 -2
  14. data/lib/contentful/management/tag.rb +27 -0
  15. data/lib/contentful/management/version.rb +1 -1
  16. data/spec/fixtures/vcr_cassettes/editor_interfaces/update_sidebar.yml +553 -0
  17. data/spec/fixtures/vcr_cassettes/entry/references.yml +496 -0
  18. data/spec/fixtures/vcr_cassettes/environment/tag_proxy.yml +658 -0
  19. data/spec/fixtures/vcr_cassettes/tag/add_tag_to_asset.yml +456 -0
  20. data/spec/fixtures/vcr_cassettes/tag/add_tag_to_entry.yml +315 -0
  21. data/spec/fixtures/vcr_cassettes/tag/all.yml +252 -0
  22. data/spec/fixtures/vcr_cassettes/tag/create_asset_with_tags.yml +147 -0
  23. data/spec/fixtures/vcr_cassettes/tag/create_entry_with_tags.yml +293 -0
  24. data/spec/fixtures/vcr_cassettes/tag/create_visibility_private.yml +125 -0
  25. data/spec/fixtures/vcr_cassettes/tag/create_visibility_public.yml +125 -0
  26. data/spec/fixtures/vcr_cassettes/tag/destroy.yml +208 -0
  27. data/spec/fixtures/vcr_cassettes/tag/destroy_referenced.yml +226 -0
  28. data/spec/fixtures/vcr_cassettes/tag/find.yml +125 -0
  29. data/spec/fixtures/vcr_cassettes/tag/not_found.yml +98 -0
  30. data/spec/fixtures/vcr_cassettes/tag/remove_tag_from_asset.yml +456 -0
  31. data/spec/fixtures/vcr_cassettes/tag/remove_tag_from_entry.yml +315 -0
  32. data/spec/fixtures/vcr_cassettes/tag/update.yml +251 -0
  33. data/spec/lib/contentful/management/editor_interface_spec.rb +30 -0
  34. data/spec/lib/contentful/management/entry_spec.rb +11 -0
  35. data/spec/lib/contentful/management/environment_spec.rb +12 -0
  36. data/spec/lib/contentful/management/tag_spec.rb +186 -0
  37. metadata +45 -7
  38. data/.travis.yml +0 -12
@@ -0,0 +1,658 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/master
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/3.3.0; platform ruby/2.7.2; os macOS/21;
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/4.4.1
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '688'
31
+ Content-Type:
32
+ - application/vnd.contentful.management.v1+json
33
+ X-Contentful-Ratelimit-Hour-Remaining:
34
+ - '35999'
35
+ X-Contentful-Ratelimit-Second-Remaining:
36
+ - '9'
37
+ X-Contentful-Ratelimit-Hour-Limit:
38
+ - '36000'
39
+ X-Contentful-Ratelimit-Second-Limit:
40
+ - '10'
41
+ X-Contentful-Ratelimit-Reset:
42
+ - '0'
43
+ Accept-Ranges:
44
+ - bytes
45
+ Cf-Organization-Id:
46
+ - 4kQeJmhUWIKtNNmMkketza
47
+ Cf-Space-Id:
48
+ - facgnwwgj5fe
49
+ Etag:
50
+ - W/"1306585c8e58f0da92149c1d8c2ab520"
51
+ Referrer-Policy:
52
+ - strict-origin-when-cross-origin
53
+ X-Content-Type-Options:
54
+ - nosniff
55
+ X-Contentful-Route:
56
+ - "/spaces/:space_id/environments/:id"
57
+ X-Download-Options:
58
+ - noopen
59
+ X-Permitted-Cross-Domain-Policies:
60
+ - none
61
+ X-Xss-Protection:
62
+ - '0'
63
+ Strict-Transport-Security:
64
+ - max-age=15768000
65
+ Server:
66
+ - Contentful
67
+ Contentful-Api:
68
+ - cma
69
+ Contentful-Upstream:
70
+ - gatekeeper
71
+ Access-Control-Allow-Origin:
72
+ - "*"
73
+ Access-Control-Allow-Headers:
74
+ - 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-Tag-Visibility,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
75
+ Access-Control-Expose-Headers:
76
+ - Etag
77
+ Access-Control-Allow-Methods:
78
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
79
+ Access-Control-Max-Age:
80
+ - '1728000'
81
+ Cache-Control:
82
+ - no-store
83
+ Date:
84
+ - Tue, 19 Apr 2022 14:43:25 GMT
85
+ X-Contentful-Request-Id:
86
+ - f929256b-3f7a-4c99-93a2-166eb9a8f642
87
+ body:
88
+ encoding: ASCII-8BIT
89
+ string: |+
90
+ {
91
+ "name":"master",
92
+ "sys":{
93
+ "type":"Environment",
94
+ "id":"master",
95
+ "version":1,
96
+ "space":{
97
+ "sys":{
98
+ "type":"Link",
99
+ "linkType":"Space",
100
+ "id":"facgnwwgj5fe"
101
+ }
102
+ },
103
+ "status":{
104
+ "sys":{
105
+ "type":"Link",
106
+ "linkType":"Status",
107
+ "id":"ready"
108
+ }
109
+ },
110
+ "createdBy":{
111
+ "sys":{
112
+ "type":"Link",
113
+ "linkType":"User",
114
+ "id":"5HvjqrbdXRupD8jmTsskvE"
115
+ }
116
+ },
117
+ "createdAt":"2020-11-02T09:11:49Z",
118
+ "updatedBy":{
119
+ "sys":{
120
+ "type":"Link",
121
+ "linkType":"User",
122
+ "id":"5HvjqrbdXRupD8jmTsskvE"
123
+ }
124
+ },
125
+ "updatedAt":"2020-11-02T09:11:49Z"
126
+ }
127
+ }
128
+
129
+ http_version:
130
+ recorded_at: Tue, 19 Apr 2022 14:43:25 GMT
131
+ - request:
132
+ method: get
133
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/master/tags
134
+ body:
135
+ encoding: UTF-8
136
+ string: ''
137
+ headers:
138
+ X-Contentful-User-Agent:
139
+ - sdk contentful-management.rb/3.3.0; platform ruby/2.7.2; os macOS/21;
140
+ Authorization:
141
+ - Bearer <ACCESS_TOKEN>
142
+ Content-Type:
143
+ - application/vnd.contentful.management.v1+json
144
+ Connection:
145
+ - close
146
+ Host:
147
+ - api.contentful.com
148
+ User-Agent:
149
+ - http.rb/4.4.1
150
+ response:
151
+ status:
152
+ code: 200
153
+ message: OK
154
+ headers:
155
+ Connection:
156
+ - close
157
+ Content-Length:
158
+ - '7403'
159
+ Content-Type:
160
+ - application/vnd.contentful.management.v1+json
161
+ X-Contentful-Ratelimit-Hour-Limit:
162
+ - '36000'
163
+ X-Contentful-Ratelimit-Second-Limit:
164
+ - '10'
165
+ X-Contentful-Ratelimit-Reset:
166
+ - '0'
167
+ X-Contentful-Ratelimit-Hour-Remaining:
168
+ - '35999'
169
+ X-Contentful-Ratelimit-Second-Remaining:
170
+ - '9'
171
+ Cf-Environment-Id:
172
+ - master
173
+ Cf-Environment-Uuid:
174
+ - master
175
+ Cf-Space-Id:
176
+ - facgnwwgj5fe
177
+ Etag:
178
+ - '"1849572400339835979"'
179
+ X-Contentful-Route:
180
+ - "/spaces/:space/environments/:environment/tags"
181
+ Strict-Transport-Security:
182
+ - max-age=15768000
183
+ X-Content-Type-Options:
184
+ - nosniff
185
+ Contentful-Api:
186
+ - cma
187
+ Server:
188
+ - Contentful
189
+ Contentful-Upstream:
190
+ - content-api
191
+ Access-Control-Allow-Origin:
192
+ - "*"
193
+ Access-Control-Allow-Headers:
194
+ - 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-Tag-Visibility,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
195
+ Access-Control-Expose-Headers:
196
+ - Etag
197
+ Access-Control-Allow-Methods:
198
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
199
+ Access-Control-Max-Age:
200
+ - '1728000'
201
+ Cache-Control:
202
+ - no-store
203
+ Accept-Ranges:
204
+ - bytes
205
+ Date:
206
+ - Tue, 19 Apr 2022 14:43:26 GMT
207
+ X-Contentful-Request-Id:
208
+ - b7beb7be-9829-4dbc-ac22-a0ca7243f2ef
209
+ body:
210
+ encoding: ASCII-8BIT
211
+ string: |
212
+ {
213
+ "sys": {
214
+ "type": "Array"
215
+ },
216
+ "total": 8,
217
+ "skip": 0,
218
+ "limit": 100,
219
+ "items": [
220
+ {
221
+ "sys": {
222
+ "space": {
223
+ "sys": {
224
+ "type": "Link",
225
+ "linkType": "Space",
226
+ "id": "facgnwwgj5fe"
227
+ }
228
+ },
229
+ "id": "tagID",
230
+ "type": "Tag",
231
+ "createdAt": "2022-04-19T14:22:38.164Z",
232
+ "updatedAt": "2022-04-19T14:22:38.164Z",
233
+ "environment": {
234
+ "sys": {
235
+ "id": "master",
236
+ "type": "Link",
237
+ "linkType": "Environment"
238
+ }
239
+ },
240
+ "createdBy": {
241
+ "sys": {
242
+ "type": "Link",
243
+ "linkType": "User",
244
+ "id": "59Erm8D1JuuD273aXNb65T"
245
+ }
246
+ },
247
+ "updatedBy": {
248
+ "sys": {
249
+ "type": "Link",
250
+ "linkType": "User",
251
+ "id": "59Erm8D1JuuD273aXNb65T"
252
+ }
253
+ },
254
+ "version": 1,
255
+ "visibility": "private"
256
+ },
257
+ "name": "tag name"
258
+ },
259
+ {
260
+ "sys": {
261
+ "space": {
262
+ "sys": {
263
+ "type": "Link",
264
+ "linkType": "Space",
265
+ "id": "facgnwwgj5fe"
266
+ }
267
+ },
268
+ "id": "testPublic",
269
+ "type": "Tag",
270
+ "createdAt": "2022-03-19T07:28:19.542Z",
271
+ "updatedAt": "2022-04-18T16:44:46.784Z",
272
+ "environment": {
273
+ "sys": {
274
+ "id": "master",
275
+ "type": "Link",
276
+ "linkType": "Environment"
277
+ }
278
+ },
279
+ "createdBy": {
280
+ "sys": {
281
+ "type": "Link",
282
+ "linkType": "User",
283
+ "id": "59Erm8D1JuuD273aXNb65T"
284
+ }
285
+ },
286
+ "updatedBy": {
287
+ "sys": {
288
+ "type": "Link",
289
+ "linkType": "User",
290
+ "id": "59Erm8D1JuuD273aXNb65T"
291
+ }
292
+ },
293
+ "version": 5,
294
+ "visibility": "public"
295
+ },
296
+ "name": "newTagName"
297
+ },
298
+ {
299
+ "sys": {
300
+ "space": {
301
+ "sys": {
302
+ "type": "Link",
303
+ "linkType": "Space",
304
+ "id": "facgnwwgj5fe"
305
+ }
306
+ },
307
+ "id": "fooTag",
308
+ "type": "Tag",
309
+ "createdAt": "2022-04-12T05:09:33.997Z",
310
+ "updatedAt": "2022-04-12T05:09:33.997Z",
311
+ "environment": {
312
+ "sys": {
313
+ "id": "master",
314
+ "type": "Link",
315
+ "linkType": "Environment"
316
+ }
317
+ },
318
+ "createdBy": {
319
+ "sys": {
320
+ "type": "Link",
321
+ "linkType": "User",
322
+ "id": "59Erm8D1JuuD273aXNb65T"
323
+ }
324
+ },
325
+ "updatedBy": {
326
+ "sys": {
327
+ "type": "Link",
328
+ "linkType": "User",
329
+ "id": "59Erm8D1JuuD273aXNb65T"
330
+ }
331
+ },
332
+ "version": 1,
333
+ "visibility": "private"
334
+ },
335
+ "name": "fooTag"
336
+ },
337
+ {
338
+ "sys": {
339
+ "space": {
340
+ "sys": {
341
+ "type": "Link",
342
+ "linkType": "Space",
343
+ "id": "facgnwwgj5fe"
344
+ }
345
+ },
346
+ "id": "usedTag",
347
+ "type": "Tag",
348
+ "createdAt": "2022-03-28T21:46:28.147Z",
349
+ "updatedAt": "2022-03-28T21:46:28.147Z",
350
+ "environment": {
351
+ "sys": {
352
+ "id": "master",
353
+ "type": "Link",
354
+ "linkType": "Environment"
355
+ }
356
+ },
357
+ "createdBy": {
358
+ "sys": {
359
+ "type": "Link",
360
+ "linkType": "User",
361
+ "id": "59Erm8D1JuuD273aXNb65T"
362
+ }
363
+ },
364
+ "updatedBy": {
365
+ "sys": {
366
+ "type": "Link",
367
+ "linkType": "User",
368
+ "id": "59Erm8D1JuuD273aXNb65T"
369
+ }
370
+ },
371
+ "version": 1,
372
+ "visibility": "private"
373
+ },
374
+ "name": "usedTag"
375
+ },
376
+ {
377
+ "sys": {
378
+ "space": {
379
+ "sys": {
380
+ "type": "Link",
381
+ "linkType": "Space",
382
+ "id": "facgnwwgj5fe"
383
+ }
384
+ },
385
+ "id": "newTag",
386
+ "type": "Tag",
387
+ "createdAt": "2022-03-24T04:51:10.234Z",
388
+ "updatedAt": "2022-03-24T04:51:10.234Z",
389
+ "environment": {
390
+ "sys": {
391
+ "id": "master",
392
+ "type": "Link",
393
+ "linkType": "Environment"
394
+ }
395
+ },
396
+ "createdBy": {
397
+ "sys": {
398
+ "type": "Link",
399
+ "linkType": "User",
400
+ "id": "59Erm8D1JuuD273aXNb65T"
401
+ }
402
+ },
403
+ "updatedBy": {
404
+ "sys": {
405
+ "type": "Link",
406
+ "linkType": "User",
407
+ "id": "59Erm8D1JuuD273aXNb65T"
408
+ }
409
+ },
410
+ "version": 1,
411
+ "visibility": "private"
412
+ },
413
+ "name": "new tag"
414
+ },
415
+ {
416
+ "sys": {
417
+ "space": {
418
+ "sys": {
419
+ "type": "Link",
420
+ "linkType": "Space",
421
+ "id": "facgnwwgj5fe"
422
+ }
423
+ },
424
+ "id": "icon",
425
+ "type": "Tag",
426
+ "createdAt": "2022-01-19T18:50:31.193Z",
427
+ "updatedAt": "2022-01-19T18:50:31.193Z",
428
+ "environment": {
429
+ "sys": {
430
+ "id": "master",
431
+ "type": "Link",
432
+ "linkType": "Environment"
433
+ }
434
+ },
435
+ "createdBy": {
436
+ "sys": {
437
+ "type": "Link",
438
+ "linkType": "User",
439
+ "id": "59Erm8D1JuuD273aXNb65T"
440
+ }
441
+ },
442
+ "updatedBy": {
443
+ "sys": {
444
+ "type": "Link",
445
+ "linkType": "User",
446
+ "id": "59Erm8D1JuuD273aXNb65T"
447
+ }
448
+ },
449
+ "version": 1,
450
+ "visibility": "public"
451
+ },
452
+ "name": "icon"
453
+ },
454
+ {
455
+ "sys": {
456
+ "space": {
457
+ "sys": {
458
+ "type": "Link",
459
+ "linkType": "Space",
460
+ "id": "facgnwwgj5fe"
461
+ }
462
+ },
463
+ "id": "publicTag",
464
+ "type": "Tag",
465
+ "createdAt": "2021-03-29T08:25:01.542Z",
466
+ "updatedAt": "2021-03-29T08:25:01.542Z",
467
+ "environment": {
468
+ "sys": {
469
+ "id": "master",
470
+ "type": "Link",
471
+ "linkType": "Environment"
472
+ }
473
+ },
474
+ "createdBy": {
475
+ "sys": {
476
+ "type": "Link",
477
+ "linkType": "User",
478
+ "id": "59Erm8D1JuuD273aXNb65T"
479
+ }
480
+ },
481
+ "updatedBy": {
482
+ "sys": {
483
+ "type": "Link",
484
+ "linkType": "User",
485
+ "id": "59Erm8D1JuuD273aXNb65T"
486
+ }
487
+ },
488
+ "version": 1,
489
+ "visibility": "public"
490
+ },
491
+ "name": "publicTag"
492
+ },
493
+ {
494
+ "sys": {
495
+ "space": {
496
+ "sys": {
497
+ "type": "Link",
498
+ "linkType": "Space",
499
+ "id": "facgnwwgj5fe"
500
+ }
501
+ },
502
+ "id": "firstTag",
503
+ "type": "Tag",
504
+ "createdAt": "2021-02-08T17:17:12.384Z",
505
+ "updatedAt": "2021-02-08T17:17:12.384Z",
506
+ "environment": {
507
+ "sys": {
508
+ "id": "master",
509
+ "type": "Link",
510
+ "linkType": "Environment"
511
+ }
512
+ },
513
+ "createdBy": {
514
+ "sys": {
515
+ "type": "Link",
516
+ "linkType": "User",
517
+ "id": "59Erm8D1JuuD273aXNb65T"
518
+ }
519
+ },
520
+ "updatedBy": {
521
+ "sys": {
522
+ "type": "Link",
523
+ "linkType": "User",
524
+ "id": "59Erm8D1JuuD273aXNb65T"
525
+ }
526
+ },
527
+ "version": 1,
528
+ "visibility": "private"
529
+ },
530
+ "name": "first tag"
531
+ }
532
+ ]
533
+ }
534
+ http_version:
535
+ recorded_at: Tue, 19 Apr 2022 14:43:26 GMT
536
+ - request:
537
+ method: get
538
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/master/tags/tagID
539
+ body:
540
+ encoding: UTF-8
541
+ string: ''
542
+ headers:
543
+ X-Contentful-User-Agent:
544
+ - sdk contentful-management.rb/3.3.0; platform ruby/2.7.2; os macOS/21;
545
+ Authorization:
546
+ - Bearer <ACCESS_TOKEN>
547
+ Content-Type:
548
+ - application/vnd.contentful.management.v1+json
549
+ Connection:
550
+ - close
551
+ Host:
552
+ - api.contentful.com
553
+ User-Agent:
554
+ - http.rb/4.4.1
555
+ response:
556
+ status:
557
+ code: 200
558
+ message: OK
559
+ headers:
560
+ Connection:
561
+ - close
562
+ Content-Length:
563
+ - '755'
564
+ Content-Type:
565
+ - application/vnd.contentful.management.v1+json
566
+ X-Contentful-Ratelimit-Hour-Limit:
567
+ - '36000'
568
+ X-Contentful-Ratelimit-Second-Limit:
569
+ - '10'
570
+ X-Contentful-Ratelimit-Reset:
571
+ - '0'
572
+ X-Contentful-Ratelimit-Hour-Remaining:
573
+ - '35998'
574
+ X-Contentful-Ratelimit-Second-Remaining:
575
+ - '8'
576
+ Cf-Environment-Id:
577
+ - master
578
+ Cf-Environment-Uuid:
579
+ - master
580
+ Cf-Space-Id:
581
+ - facgnwwgj5fe
582
+ Etag:
583
+ - '"16355192737941051714"'
584
+ X-Contentful-Route:
585
+ - "/spaces/:space/environments/:environment/tags/:id"
586
+ Strict-Transport-Security:
587
+ - max-age=15768000
588
+ X-Content-Type-Options:
589
+ - nosniff
590
+ Contentful-Api:
591
+ - cma
592
+ Server:
593
+ - Contentful
594
+ Contentful-Upstream:
595
+ - content-api
596
+ Access-Control-Allow-Origin:
597
+ - "*"
598
+ Access-Control-Allow-Headers:
599
+ - 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-Tag-Visibility,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
600
+ Access-Control-Expose-Headers:
601
+ - Etag
602
+ Access-Control-Allow-Methods:
603
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
604
+ Access-Control-Max-Age:
605
+ - '1728000'
606
+ Cache-Control:
607
+ - no-store
608
+ Accept-Ranges:
609
+ - bytes
610
+ Date:
611
+ - Tue, 19 Apr 2022 14:43:27 GMT
612
+ X-Contentful-Request-Id:
613
+ - d7b8a247-ed66-4587-8a64-2b774418e367
614
+ body:
615
+ encoding: ASCII-8BIT
616
+ string: |
617
+ {
618
+ "sys": {
619
+ "type": "Tag",
620
+ "id": "tagID",
621
+ "space": {
622
+ "sys": {
623
+ "type": "Link",
624
+ "linkType": "Space",
625
+ "id": "facgnwwgj5fe"
626
+ }
627
+ },
628
+ "environment": {
629
+ "sys": {
630
+ "id": "master",
631
+ "type": "Link",
632
+ "linkType": "Environment"
633
+ }
634
+ },
635
+ "createdBy": {
636
+ "sys": {
637
+ "type": "Link",
638
+ "linkType": "User",
639
+ "id": "59Erm8D1JuuD273aXNb65T"
640
+ }
641
+ },
642
+ "updatedBy": {
643
+ "sys": {
644
+ "type": "Link",
645
+ "linkType": "User",
646
+ "id": "59Erm8D1JuuD273aXNb65T"
647
+ }
648
+ },
649
+ "createdAt": "2022-04-19T14:22:38.164Z",
650
+ "updatedAt": "2022-04-19T14:22:38.164Z",
651
+ "version": 1,
652
+ "visibility": "private"
653
+ },
654
+ "name": "tag name"
655
+ }
656
+ http_version:
657
+ recorded_at: Tue, 19 Apr 2022 14:43:27 GMT
658
+ recorded_with: VCR 4.0.0