contentful-management 3.1.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +23 -0
- data/CHANGELOG.md +10 -0
- data/README.md +45 -1
- data/lib/contentful/management/asset.rb +2 -2
- data/lib/contentful/management/client.rb +10 -0
- data/lib/contentful/management/client_tag_methods_factory.rb +11 -0
- data/lib/contentful/management/editor_interface.rb +12 -4
- data/lib/contentful/management/entry.rb +3 -3
- data/lib/contentful/management/environment.rb +10 -0
- data/lib/contentful/management/environment_tag_methods_factory.rb +11 -0
- data/lib/contentful/management/organization_user_methods_factory.rb +2 -2
- data/lib/contentful/management/resource/refresher.rb +1 -0
- data/lib/contentful/management/resource_requester.rb +2 -2
- data/lib/contentful/management/space_user_methods_factory.rb +2 -2
- data/lib/contentful/management/tag.rb +27 -0
- data/lib/contentful/management/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/editor_interfaces/update_sidebar.yml +553 -0
- data/spec/fixtures/vcr_cassettes/environment/tag_proxy.yml +658 -0
- data/spec/fixtures/vcr_cassettes/tag/add_tag_to_asset.yml +456 -0
- data/spec/fixtures/vcr_cassettes/tag/add_tag_to_entry.yml +315 -0
- data/spec/fixtures/vcr_cassettes/tag/all.yml +252 -0
- data/spec/fixtures/vcr_cassettes/tag/create_asset_with_tags.yml +147 -0
- data/spec/fixtures/vcr_cassettes/tag/create_entry_with_tags.yml +293 -0
- data/spec/fixtures/vcr_cassettes/tag/create_visibility_private.yml +125 -0
- data/spec/fixtures/vcr_cassettes/tag/create_visibility_public.yml +125 -0
- data/spec/fixtures/vcr_cassettes/tag/destroy.yml +208 -0
- data/spec/fixtures/vcr_cassettes/tag/destroy_referenced.yml +226 -0
- data/spec/fixtures/vcr_cassettes/tag/find.yml +125 -0
- data/spec/fixtures/vcr_cassettes/tag/not_found.yml +98 -0
- data/spec/fixtures/vcr_cassettes/tag/remove_tag_from_asset.yml +456 -0
- data/spec/fixtures/vcr_cassettes/tag/remove_tag_from_entry.yml +315 -0
- data/spec/fixtures/vcr_cassettes/tag/update.yml +251 -0
- data/spec/lib/contentful/management/editor_interface_spec.rb +30 -0
- data/spec/lib/contentful/management/environment_spec.rb +12 -0
- data/spec/lib/contentful/management/tag_spec.rb +186 -0
- metadata +43 -7
- data/.travis.yml +0 -12
@@ -0,0 +1,553 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/oe3b689om6k5/environments/master/content_types/smallerType/editor_interface
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/3.2.0; platform ruby/2.7.1; os macOS/19;
|
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
|
+
Access-Control-Allow-Headers:
|
28
|
+
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,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
|
29
|
+
Access-Control-Allow-Methods:
|
30
|
+
- DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
|
31
|
+
Access-Control-Allow-Origin:
|
32
|
+
- "*"
|
33
|
+
Access-Control-Expose-Headers:
|
34
|
+
- Etag
|
35
|
+
Access-Control-Max-Age:
|
36
|
+
- '1728000'
|
37
|
+
Cache-Control:
|
38
|
+
- no-store
|
39
|
+
Cf-Environment-Id:
|
40
|
+
- master
|
41
|
+
Cf-Environment-Uuid:
|
42
|
+
- master
|
43
|
+
Cf-Space-Id:
|
44
|
+
- oe3b689om6k5
|
45
|
+
Content-Type:
|
46
|
+
- application/vnd.contentful.management.v1+json
|
47
|
+
Contentful-Api:
|
48
|
+
- cma
|
49
|
+
Contentful-Origin-Time:
|
50
|
+
- '0.131'
|
51
|
+
Contentful-Upstream:
|
52
|
+
- content-api
|
53
|
+
Date:
|
54
|
+
- Tue, 31 Aug 2021 10:20:18 GMT
|
55
|
+
Etag:
|
56
|
+
- '"15587330661490795785"'
|
57
|
+
Server:
|
58
|
+
- Contentful
|
59
|
+
Strict-Transport-Security:
|
60
|
+
- max-age=15768000
|
61
|
+
X-Content-Type-Options:
|
62
|
+
- nosniff
|
63
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
64
|
+
- '36000'
|
65
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
66
|
+
- '35999'
|
67
|
+
X-Contentful-Ratelimit-Reset:
|
68
|
+
- '0'
|
69
|
+
X-Contentful-Ratelimit-Second-Limit:
|
70
|
+
- '10'
|
71
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
72
|
+
- '9'
|
73
|
+
X-Contentful-Request-Id:
|
74
|
+
- 909dfebd4dbdddf6f747ab30c0b4f592
|
75
|
+
X-Contentful-Route:
|
76
|
+
- "/spaces/:space/environments/:environment/content_types/:content_type/editor_interface"
|
77
|
+
Content-Length:
|
78
|
+
- '1841'
|
79
|
+
Connection:
|
80
|
+
- Close
|
81
|
+
Set-Cookie:
|
82
|
+
- incap_ses_1515_673446=vyF6JNujfST81/F8glwGFWICLmEAAAAAL/egJdWqfHY5oKS/0Xvt1A==;
|
83
|
+
path=/; Domain=.contentful.com
|
84
|
+
- nlbi_673446=l8iIfOdwUwEhh490swL+7AAAAABYRaSf2NJeodzLLO5jxPnD; path=/; Domain=.contentful.com
|
85
|
+
- visid_incap_673446=YNRw1nHSQbm8j6L4BDrhJ2ICLmEAAAAAQUIPAAAAAADihgw1AWdXcwJhU2G6pIu+;
|
86
|
+
expires=Wed, 31 Aug 2022 09:15:16 GMT; HttpOnly; path=/; Domain=.contentful.com
|
87
|
+
X-Cdn:
|
88
|
+
- Imperva
|
89
|
+
X-Iinfo:
|
90
|
+
- 12-108821744-108821763 NNNY CT(97 96 0) RT(1630405218206 59) q(0 0 0 -1) r(2
|
91
|
+
2) U5
|
92
|
+
body:
|
93
|
+
encoding: ASCII-8BIT
|
94
|
+
string: |
|
95
|
+
{
|
96
|
+
"sys": {
|
97
|
+
"id": "default",
|
98
|
+
"type": "EditorInterface",
|
99
|
+
"space": {
|
100
|
+
"sys": {
|
101
|
+
"id": "oe3b689om6k5",
|
102
|
+
"type": "Link",
|
103
|
+
"linkType": "Space"
|
104
|
+
}
|
105
|
+
},
|
106
|
+
"version": 30,
|
107
|
+
"createdAt": "2021-08-26T09:56:09.043Z",
|
108
|
+
"createdBy": {
|
109
|
+
"sys": {
|
110
|
+
"id": "59Erm8D1JuuD273aXNb65T",
|
111
|
+
"type": "Link",
|
112
|
+
"linkType": "User"
|
113
|
+
}
|
114
|
+
},
|
115
|
+
"updatedAt": "2021-08-31T10:19:33.152Z",
|
116
|
+
"updatedBy": {
|
117
|
+
"sys": {
|
118
|
+
"id": "59Erm8D1JuuD273aXNb65T",
|
119
|
+
"type": "Link",
|
120
|
+
"linkType": "User"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"contentType": {
|
124
|
+
"sys": {
|
125
|
+
"id": "smallerType",
|
126
|
+
"type": "Link",
|
127
|
+
"linkType": "ContentType"
|
128
|
+
}
|
129
|
+
},
|
130
|
+
"environment": {
|
131
|
+
"sys": {
|
132
|
+
"id": "master",
|
133
|
+
"type": "Link",
|
134
|
+
"linkType": "Environment"
|
135
|
+
}
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"sidebar": [
|
139
|
+
{
|
140
|
+
"settings": {},
|
141
|
+
"widgetId": "flow-editor",
|
142
|
+
"widgetNamespace": "extension"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"settings": {},
|
146
|
+
"widgetId": "publication-widget",
|
147
|
+
"widgetNamespace": "sidebar-builtin"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"settings": {},
|
151
|
+
"widgetId": "content-workflows-tasks-widget",
|
152
|
+
"widgetNamespace": "sidebar-builtin"
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"settings": {},
|
156
|
+
"widgetId": "content-preview-widget",
|
157
|
+
"widgetNamespace": "sidebar-builtin"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"settings": {},
|
161
|
+
"widgetId": "incoming-links-widget",
|
162
|
+
"widgetNamespace": "sidebar-builtin"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"settings": {},
|
166
|
+
"widgetId": "translation-widget",
|
167
|
+
"widgetNamespace": "sidebar-builtin"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"settings": {},
|
171
|
+
"widgetId": "versions-widget",
|
172
|
+
"widgetNamespace": "sidebar-builtin"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"controls": [
|
176
|
+
{
|
177
|
+
"fieldId": "number",
|
178
|
+
"widgetId": "numberEditor",
|
179
|
+
"widgetNamespace": "builtin"
|
180
|
+
}
|
181
|
+
]
|
182
|
+
}
|
183
|
+
http_version:
|
184
|
+
recorded_at: Tue, 31 Aug 2021 10:20:18 GMT
|
185
|
+
- request:
|
186
|
+
method: put
|
187
|
+
uri: https://api.contentful.com/spaces/oe3b689om6k5/environments/master/content_types/smallerType/editor_interface
|
188
|
+
body:
|
189
|
+
encoding: UTF-8
|
190
|
+
string: '{"controls":[{"fieldId":"number","widgetId":"numberEditor","widgetNamespace":"builtin"}],"sidebar":[{"settings":{},"widgetId":"date-range-editor","widgetNamespace":"extension"},{"settings":{},"widgetId":"publication-widget","widgetNamespace":"sidebar-builtin"},{"settings":{},"widgetId":"content-workflows-tasks-widget","widgetNamespace":"sidebar-builtin"},{"settings":{},"widgetId":"content-preview-widget","widgetNamespace":"sidebar-builtin"},{"settings":{},"widgetId":"incoming-links-widget","widgetNamespace":"sidebar-builtin"},{"settings":{},"widgetId":"translation-widget","widgetNamespace":"sidebar-builtin"},{"settings":{},"widgetId":"versions-widget","widgetNamespace":"sidebar-builtin"}]}'
|
191
|
+
headers:
|
192
|
+
X-Contentful-User-Agent:
|
193
|
+
- sdk contentful-management.rb/3.2.0; platform ruby/2.7.1; os macOS/19;
|
194
|
+
Authorization:
|
195
|
+
- Bearer <ACCESS_TOKEN>
|
196
|
+
Content-Type:
|
197
|
+
- application/vnd.contentful.management.v1+json
|
198
|
+
X-Contentful-Version:
|
199
|
+
- '30'
|
200
|
+
Version:
|
201
|
+
- '30'
|
202
|
+
Connection:
|
203
|
+
- close
|
204
|
+
Host:
|
205
|
+
- api.contentful.com
|
206
|
+
User-Agent:
|
207
|
+
- http.rb/4.4.1
|
208
|
+
response:
|
209
|
+
status:
|
210
|
+
code: 200
|
211
|
+
message: OK
|
212
|
+
headers:
|
213
|
+
Access-Control-Allow-Headers:
|
214
|
+
- 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
|
215
|
+
Access-Control-Allow-Methods:
|
216
|
+
- DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
|
217
|
+
Access-Control-Allow-Origin:
|
218
|
+
- "*"
|
219
|
+
Access-Control-Expose-Headers:
|
220
|
+
- Etag
|
221
|
+
Access-Control-Max-Age:
|
222
|
+
- '1728000'
|
223
|
+
Cache-Control:
|
224
|
+
- no-store
|
225
|
+
Cf-Environment-Id:
|
226
|
+
- master
|
227
|
+
Cf-Environment-Uuid:
|
228
|
+
- master
|
229
|
+
Cf-Space-Id:
|
230
|
+
- oe3b689om6k5
|
231
|
+
Content-Type:
|
232
|
+
- application/vnd.contentful.management.v1+json
|
233
|
+
Contentful-Api:
|
234
|
+
- cma
|
235
|
+
Contentful-Origin-Time:
|
236
|
+
- '0.106'
|
237
|
+
Contentful-Upstream:
|
238
|
+
- content-api
|
239
|
+
Date:
|
240
|
+
- Tue, 31 Aug 2021 10:20:18 GMT
|
241
|
+
Etag:
|
242
|
+
- '"16854008209802380657"'
|
243
|
+
Server:
|
244
|
+
- Contentful
|
245
|
+
Strict-Transport-Security:
|
246
|
+
- max-age=15768000
|
247
|
+
X-Content-Type-Options:
|
248
|
+
- nosniff
|
249
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
250
|
+
- '36000'
|
251
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
252
|
+
- '35998'
|
253
|
+
X-Contentful-Ratelimit-Reset:
|
254
|
+
- '0'
|
255
|
+
X-Contentful-Ratelimit-Second-Limit:
|
256
|
+
- '10'
|
257
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
258
|
+
- '8'
|
259
|
+
X-Contentful-Request-Id:
|
260
|
+
- 6afaeff64b98fe67bf0383dc0b15b2a1
|
261
|
+
X-Contentful-Route:
|
262
|
+
- "/spaces/:space/environments/:environment/content_types/:content_type/editor_interface"
|
263
|
+
Content-Length:
|
264
|
+
- '1840'
|
265
|
+
Connection:
|
266
|
+
- Close
|
267
|
+
Set-Cookie:
|
268
|
+
- incap_ses_1515_673446=ZprePJmr8U8o2PF8glwGFWICLmEAAAAAWFRwxxnguDRExm4+p7HjTA==;
|
269
|
+
path=/; Domain=.contentful.com
|
270
|
+
- nlbi_673446=hmodGzv1U0O/86DFswL+7AAAAADOsaNMuMYnNwQq4Y+8/ihw; path=/; Domain=.contentful.com
|
271
|
+
- visid_incap_673446=Pf58drgyRLaipS+XicrkrmICLmEAAAAAQUIPAAAAAAD6uBvCoIA8z3dbW2aFi83c;
|
272
|
+
expires=Wed, 31 Aug 2022 09:15:16 GMT; HttpOnly; path=/; Domain=.contentful.com
|
273
|
+
X-Cdn:
|
274
|
+
- Imperva
|
275
|
+
X-Iinfo:
|
276
|
+
- 12-108821825-108821843 NNNY CT(91 92 0) RT(1630405218569 86) q(0 0 0 -1) r(2
|
277
|
+
2) U5
|
278
|
+
body:
|
279
|
+
encoding: ASCII-8BIT
|
280
|
+
string: |
|
281
|
+
{
|
282
|
+
"controls": [
|
283
|
+
{
|
284
|
+
"fieldId": "number",
|
285
|
+
"widgetId": "numberEditor",
|
286
|
+
"widgetNamespace": "builtin"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"sidebar": [
|
290
|
+
{
|
291
|
+
"settings": {},
|
292
|
+
"widgetId": "date-range-editor",
|
293
|
+
"widgetNamespace": "extension"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"settings": {},
|
297
|
+
"widgetId": "publication-widget",
|
298
|
+
"widgetNamespace": "sidebar-builtin"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"settings": {},
|
302
|
+
"widgetId": "content-workflows-tasks-widget",
|
303
|
+
"widgetNamespace": "sidebar-builtin"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"settings": {},
|
307
|
+
"widgetId": "content-preview-widget",
|
308
|
+
"widgetNamespace": "sidebar-builtin"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"settings": {},
|
312
|
+
"widgetId": "incoming-links-widget",
|
313
|
+
"widgetNamespace": "sidebar-builtin"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"settings": {},
|
317
|
+
"widgetId": "translation-widget",
|
318
|
+
"widgetNamespace": "sidebar-builtin"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"settings": {},
|
322
|
+
"widgetId": "versions-widget",
|
323
|
+
"widgetNamespace": "sidebar-builtin"
|
324
|
+
}
|
325
|
+
],
|
326
|
+
"sys": {
|
327
|
+
"id": "default",
|
328
|
+
"type": "EditorInterface",
|
329
|
+
"space": {
|
330
|
+
"sys": {
|
331
|
+
"id": "oe3b689om6k5",
|
332
|
+
"type": "Link",
|
333
|
+
"linkType": "Space"
|
334
|
+
}
|
335
|
+
},
|
336
|
+
"version": 31,
|
337
|
+
"createdAt": "2021-08-26T09:56:09.043Z",
|
338
|
+
"createdBy": {
|
339
|
+
"sys": {
|
340
|
+
"id": "59Erm8D1JuuD273aXNb65T",
|
341
|
+
"type": "Link",
|
342
|
+
"linkType": "User"
|
343
|
+
}
|
344
|
+
},
|
345
|
+
"updatedAt": "2021-08-31T10:20:18.813Z",
|
346
|
+
"updatedBy": {
|
347
|
+
"sys": {
|
348
|
+
"type": "Link",
|
349
|
+
"linkType": "User",
|
350
|
+
"id": "59Erm8D1JuuD273aXNb65T"
|
351
|
+
}
|
352
|
+
},
|
353
|
+
"contentType": {
|
354
|
+
"sys": {
|
355
|
+
"id": "smallerType",
|
356
|
+
"type": "Link",
|
357
|
+
"linkType": "ContentType"
|
358
|
+
}
|
359
|
+
},
|
360
|
+
"environment": {
|
361
|
+
"sys": {
|
362
|
+
"id": "master",
|
363
|
+
"type": "Link",
|
364
|
+
"linkType": "Environment"
|
365
|
+
}
|
366
|
+
}
|
367
|
+
}
|
368
|
+
}
|
369
|
+
http_version:
|
370
|
+
recorded_at: Tue, 31 Aug 2021 10:20:18 GMT
|
371
|
+
- request:
|
372
|
+
method: get
|
373
|
+
uri: https://api.contentful.com/spaces/oe3b689om6k5/environments/master/content_types/smallerType/editor_interface
|
374
|
+
body:
|
375
|
+
encoding: UTF-8
|
376
|
+
string: ''
|
377
|
+
headers:
|
378
|
+
X-Contentful-User-Agent:
|
379
|
+
- sdk contentful-management.rb/3.2.0; platform ruby/2.7.1; os macOS/19;
|
380
|
+
Authorization:
|
381
|
+
- Bearer <ACCESS_TOKEN>
|
382
|
+
Content-Type:
|
383
|
+
- application/vnd.contentful.management.v1+json
|
384
|
+
Connection:
|
385
|
+
- close
|
386
|
+
Host:
|
387
|
+
- api.contentful.com
|
388
|
+
User-Agent:
|
389
|
+
- http.rb/4.4.1
|
390
|
+
response:
|
391
|
+
status:
|
392
|
+
code: 200
|
393
|
+
message: OK
|
394
|
+
headers:
|
395
|
+
Access-Control-Allow-Headers:
|
396
|
+
- 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
|
397
|
+
Access-Control-Allow-Methods:
|
398
|
+
- DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
|
399
|
+
Access-Control-Allow-Origin:
|
400
|
+
- "*"
|
401
|
+
Access-Control-Expose-Headers:
|
402
|
+
- Etag
|
403
|
+
Access-Control-Max-Age:
|
404
|
+
- '1728000'
|
405
|
+
Cache-Control:
|
406
|
+
- no-store
|
407
|
+
Cf-Environment-Id:
|
408
|
+
- master
|
409
|
+
Cf-Environment-Uuid:
|
410
|
+
- master
|
411
|
+
Cf-Space-Id:
|
412
|
+
- oe3b689om6k5
|
413
|
+
Content-Type:
|
414
|
+
- application/vnd.contentful.management.v1+json
|
415
|
+
Contentful-Api:
|
416
|
+
- cma
|
417
|
+
Contentful-Origin-Time:
|
418
|
+
- '0.090'
|
419
|
+
Contentful-Upstream:
|
420
|
+
- content-api
|
421
|
+
Date:
|
422
|
+
- Tue, 31 Aug 2021 10:20:19 GMT
|
423
|
+
Etag:
|
424
|
+
- '"1520404690701152005"'
|
425
|
+
Server:
|
426
|
+
- Contentful
|
427
|
+
Strict-Transport-Security:
|
428
|
+
- max-age=15768000
|
429
|
+
X-Content-Type-Options:
|
430
|
+
- nosniff
|
431
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
432
|
+
- '36000'
|
433
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
434
|
+
- '35999'
|
435
|
+
X-Contentful-Ratelimit-Reset:
|
436
|
+
- '0'
|
437
|
+
X-Contentful-Ratelimit-Second-Limit:
|
438
|
+
- '10'
|
439
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
440
|
+
- '9'
|
441
|
+
X-Contentful-Request-Id:
|
442
|
+
- 768aefbd1bf920c59cb9219bd8503a1e
|
443
|
+
X-Contentful-Route:
|
444
|
+
- "/spaces/:space/environments/:environment/content_types/:content_type/editor_interface"
|
445
|
+
Content-Length:
|
446
|
+
- '1840'
|
447
|
+
Connection:
|
448
|
+
- Close
|
449
|
+
Set-Cookie:
|
450
|
+
- incap_ses_1515_673446=sIrAAatDWjJM2PF8glwGFWMCLmEAAAAAU60Unkt3cCzyaJSs9NLddw==;
|
451
|
+
path=/; Domain=.contentful.com
|
452
|
+
- nlbi_673446=CDYjLr3981KAf82TswL+7AAAAABuWgoj4uumDJKCPTYjt8ae; path=/; Domain=.contentful.com
|
453
|
+
- visid_incap_673446=5N5gnlJFTi2KEfSfLYA7WGMCLmEAAAAAQUIPAAAAAABs1rzsXdvwPOA6NmaFNZuU;
|
454
|
+
expires=Wed, 31 Aug 2022 09:15:15 GMT; HttpOnly; path=/; Domain=.contentful.com
|
455
|
+
X-Cdn:
|
456
|
+
- Imperva
|
457
|
+
X-Iinfo:
|
458
|
+
- 13-163708873-163708881 NNNY CT(101 200 0) RT(1630405218957 58) q(0 0 0 -1)
|
459
|
+
r(2 2) U5
|
460
|
+
body:
|
461
|
+
encoding: ASCII-8BIT
|
462
|
+
string: |
|
463
|
+
{
|
464
|
+
"sys": {
|
465
|
+
"id": "default",
|
466
|
+
"type": "EditorInterface",
|
467
|
+
"space": {
|
468
|
+
"sys": {
|
469
|
+
"id": "oe3b689om6k5",
|
470
|
+
"type": "Link",
|
471
|
+
"linkType": "Space"
|
472
|
+
}
|
473
|
+
},
|
474
|
+
"version": 31,
|
475
|
+
"createdAt": "2021-08-26T09:56:09.043Z",
|
476
|
+
"createdBy": {
|
477
|
+
"sys": {
|
478
|
+
"id": "59Erm8D1JuuD273aXNb65T",
|
479
|
+
"type": "Link",
|
480
|
+
"linkType": "User"
|
481
|
+
}
|
482
|
+
},
|
483
|
+
"updatedAt": "2021-08-31T10:20:18.813Z",
|
484
|
+
"updatedBy": {
|
485
|
+
"sys": {
|
486
|
+
"id": "59Erm8D1JuuD273aXNb65T",
|
487
|
+
"type": "Link",
|
488
|
+
"linkType": "User"
|
489
|
+
}
|
490
|
+
},
|
491
|
+
"contentType": {
|
492
|
+
"sys": {
|
493
|
+
"id": "smallerType",
|
494
|
+
"type": "Link",
|
495
|
+
"linkType": "ContentType"
|
496
|
+
}
|
497
|
+
},
|
498
|
+
"environment": {
|
499
|
+
"sys": {
|
500
|
+
"id": "master",
|
501
|
+
"type": "Link",
|
502
|
+
"linkType": "Environment"
|
503
|
+
}
|
504
|
+
}
|
505
|
+
},
|
506
|
+
"sidebar": [
|
507
|
+
{
|
508
|
+
"settings": {},
|
509
|
+
"widgetId": "date-range-editor",
|
510
|
+
"widgetNamespace": "extension"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"settings": {},
|
514
|
+
"widgetId": "publication-widget",
|
515
|
+
"widgetNamespace": "sidebar-builtin"
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"settings": {},
|
519
|
+
"widgetId": "content-workflows-tasks-widget",
|
520
|
+
"widgetNamespace": "sidebar-builtin"
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"settings": {},
|
524
|
+
"widgetId": "content-preview-widget",
|
525
|
+
"widgetNamespace": "sidebar-builtin"
|
526
|
+
},
|
527
|
+
{
|
528
|
+
"settings": {},
|
529
|
+
"widgetId": "incoming-links-widget",
|
530
|
+
"widgetNamespace": "sidebar-builtin"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"settings": {},
|
534
|
+
"widgetId": "translation-widget",
|
535
|
+
"widgetNamespace": "sidebar-builtin"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"settings": {},
|
539
|
+
"widgetId": "versions-widget",
|
540
|
+
"widgetNamespace": "sidebar-builtin"
|
541
|
+
}
|
542
|
+
],
|
543
|
+
"controls": [
|
544
|
+
{
|
545
|
+
"fieldId": "number",
|
546
|
+
"widgetId": "numberEditor",
|
547
|
+
"widgetNamespace": "builtin"
|
548
|
+
}
|
549
|
+
]
|
550
|
+
}
|
551
|
+
http_version:
|
552
|
+
recorded_at: Tue, 31 Aug 2021 10:20:19 GMT
|
553
|
+
recorded_with: VCR 4.0.0
|