contentful-management 2.8.0 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/contentful/management/api_key.rb +13 -0
- data/lib/contentful/management/asset.rb +3 -3
- data/lib/contentful/management/editor_interface.rb +5 -1
- data/lib/contentful/management/environment.rb +8 -0
- data/lib/contentful/management/locale.rb +8 -1
- data/lib/contentful/management/resource/refresher.rb +2 -1
- data/lib/contentful/management/role.rb +8 -1
- data/lib/contentful/management/space.rb +6 -0
- data/lib/contentful/management/version.rb +1 -1
- data/lib/contentful/management/webhook.rb +12 -1
- data/spec/fixtures/vcr_cassettes/api_key/issue_189.yml +476 -0
- data/spec/fixtures/vcr_cassettes/environment/issue_189.yml +418 -0
- data/spec/fixtures/vcr_cassettes/locale/issue_189.yml +438 -0
- data/spec/fixtures/vcr_cassettes/roles/issue_189.yml +689 -0
- data/spec/fixtures/vcr_cassettes/space/issue_189.yml +376 -0
- data/spec/fixtures/vcr_cassettes/webhook/issue_189.yml +448 -0
- data/spec/lib/contentful/management/api_key_spec.rb +18 -2
- data/spec/lib/contentful/management/environment_spec.rb +17 -0
- data/spec/lib/contentful/management/locale_spec.rb +16 -1
- data/spec/lib/contentful/management/role_spec.rb +20 -1
- data/spec/lib/contentful/management/space_spec.rb +19 -0
- data/spec/lib/contentful/management/webhook_spec.rb +19 -0
- metadata +14 -2
@@ -0,0 +1,689 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/roles/1NzxmNIjPtzpJae5OL1m4u
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/2.8.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,X-Contentful-Team
|
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, 02 Apr 2019 13:35:38 GMT
|
51
|
+
Etag:
|
52
|
+
- W/"649732b229dc01625bd6260e66b6e307"
|
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
|
+
- 2e42b9ec5f31ad2742bac56334f0e85b
|
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
|
+
- '2208'
|
83
|
+
Connection:
|
84
|
+
- Close
|
85
|
+
Set-Cookie:
|
86
|
+
- incap_ses_1077_673446=Rtf7I6HgZzO+4GoUCkbyDillo1wAAAAAhIM4iVao9GyBDzcwcUXZBQ==;
|
87
|
+
path=/; Domain=.contentful.com
|
88
|
+
- nlbi_673446=85p3PL2PxRUIYsNoYMlkBAAAAAB15XyorE1pLnrbpLI0ReJh; path=/; Domain=.contentful.com
|
89
|
+
- visid_incap_673446=O5IqvlB0QeSadrFcGaiKtSllo1wAAAAAQUIPAAAAAAASI+w+OBtoHSOktLQOwo8M;
|
90
|
+
expires=Wed, 01 Apr 2020 05:58:50 GMT; path=/; Domain=.contentful.com
|
91
|
+
X-Iinfo:
|
92
|
+
- 12-483033-483036 NNNN CT(101 101 0) RT(1554212137287 54) q(0 0 2 -1) r(3 3)
|
93
|
+
U5
|
94
|
+
X-Cdn:
|
95
|
+
- Incapsula
|
96
|
+
body:
|
97
|
+
encoding: ASCII-8BIT
|
98
|
+
string: |+
|
99
|
+
{
|
100
|
+
"name":"Translator 1",
|
101
|
+
"description":"Allows editing of localized fields in the specified language",
|
102
|
+
"policies":[
|
103
|
+
{
|
104
|
+
"effect":"allow",
|
105
|
+
"actions":[
|
106
|
+
"read"
|
107
|
+
],
|
108
|
+
"constraint":{
|
109
|
+
"and":[
|
110
|
+
{
|
111
|
+
"equals":[
|
112
|
+
{
|
113
|
+
"doc":"sys.type"
|
114
|
+
},
|
115
|
+
"Entry"
|
116
|
+
]
|
117
|
+
}
|
118
|
+
]
|
119
|
+
}
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"effect":"allow",
|
123
|
+
"actions":[
|
124
|
+
"read"
|
125
|
+
],
|
126
|
+
"constraint":{
|
127
|
+
"and":[
|
128
|
+
{
|
129
|
+
"equals":[
|
130
|
+
{
|
131
|
+
"doc":"sys.type"
|
132
|
+
},
|
133
|
+
"Asset"
|
134
|
+
]
|
135
|
+
}
|
136
|
+
]
|
137
|
+
}
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"effect":"allow",
|
141
|
+
"actions":[
|
142
|
+
"update"
|
143
|
+
],
|
144
|
+
"constraint":{
|
145
|
+
"and":[
|
146
|
+
{
|
147
|
+
"equals":[
|
148
|
+
{
|
149
|
+
"doc":"sys.type"
|
150
|
+
},
|
151
|
+
"Entry"
|
152
|
+
]
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"paths":[
|
156
|
+
{
|
157
|
+
"doc":"fields.%.%"
|
158
|
+
}
|
159
|
+
]
|
160
|
+
}
|
161
|
+
]
|
162
|
+
}
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"effect":"allow",
|
166
|
+
"actions":[
|
167
|
+
"update"
|
168
|
+
],
|
169
|
+
"constraint":{
|
170
|
+
"and":[
|
171
|
+
{
|
172
|
+
"equals":[
|
173
|
+
{
|
174
|
+
"doc":"sys.type"
|
175
|
+
},
|
176
|
+
"Asset"
|
177
|
+
]
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"paths":[
|
181
|
+
{
|
182
|
+
"doc":"fields.%.%"
|
183
|
+
}
|
184
|
+
]
|
185
|
+
}
|
186
|
+
]
|
187
|
+
}
|
188
|
+
}
|
189
|
+
],
|
190
|
+
"permissions":{
|
191
|
+
"ContentModel":[
|
192
|
+
"read"
|
193
|
+
],
|
194
|
+
"Settings":[],
|
195
|
+
"ContentDelivery":[],
|
196
|
+
"Environments":[]
|
197
|
+
},
|
198
|
+
"sys":{
|
199
|
+
"type":"Role",
|
200
|
+
"id":"1NzxmNIjPtzpJae5OL1m4u",
|
201
|
+
"version":0,
|
202
|
+
"space":{
|
203
|
+
"sys":{
|
204
|
+
"type":"Link",
|
205
|
+
"linkType":"Space",
|
206
|
+
"id":"facgnwwgj5fe"
|
207
|
+
}
|
208
|
+
},
|
209
|
+
"createdBy":{
|
210
|
+
"sys":{
|
211
|
+
"type":"Link",
|
212
|
+
"linkType":"User",
|
213
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
214
|
+
}
|
215
|
+
},
|
216
|
+
"createdAt":"2017-03-02T18:30:27Z",
|
217
|
+
"updatedBy":{
|
218
|
+
"sys":{
|
219
|
+
"type":"Link",
|
220
|
+
"linkType":"User",
|
221
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
222
|
+
}
|
223
|
+
},
|
224
|
+
"updatedAt":"2017-03-02T18:30:27Z"
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
http_version:
|
229
|
+
recorded_at: Tue, 02 Apr 2019 13:35:38 GMT
|
230
|
+
- request:
|
231
|
+
method: put
|
232
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/roles/1NzxmNIjPtzpJae5OL1m4u
|
233
|
+
body:
|
234
|
+
encoding: UTF-8
|
235
|
+
string: '{"name":"Translator - Updated","description":"Allows editing of localized
|
236
|
+
fields in the specified language","permissions":{"ContentModel":["read"],"Settings":[],"ContentDelivery":[],"Environments":[]},"policies":[{"effect":"allow","actions":["read"],"constraint":{"and":[{"equals":[{"doc":"sys.type"},"Entry"]}]}},{"effect":"allow","actions":["read"],"constraint":{"and":[{"equals":[{"doc":"sys.type"},"Asset"]}]}},{"effect":"allow","actions":["update"],"constraint":{"and":[{"equals":[{"doc":"sys.type"},"Entry"]},{"paths":[{"doc":"fields.%.%"}]}]}},{"effect":"allow","actions":["update"],"constraint":{"and":[{"equals":[{"doc":"sys.type"},"Asset"]},{"paths":[{"doc":"fields.%.%"}]}]}}]}'
|
237
|
+
headers:
|
238
|
+
X-Contentful-User-Agent:
|
239
|
+
- sdk contentful-management.rb/2.8.0; platform ruby/2.5.3; os macOS/16;
|
240
|
+
Authorization:
|
241
|
+
- Bearer <ACCESS_TOKEN>
|
242
|
+
Content-Type:
|
243
|
+
- application/vnd.contentful.management.v1+json
|
244
|
+
X-Contentful-Version:
|
245
|
+
- '0'
|
246
|
+
Version:
|
247
|
+
- '0'
|
248
|
+
Connection:
|
249
|
+
- close
|
250
|
+
Host:
|
251
|
+
- api.contentful.com
|
252
|
+
User-Agent:
|
253
|
+
- http.rb/2.2.2
|
254
|
+
response:
|
255
|
+
status:
|
256
|
+
code: 200
|
257
|
+
message: OK
|
258
|
+
headers:
|
259
|
+
Accept-Ranges:
|
260
|
+
- bytes
|
261
|
+
Access-Control-Allow-Headers:
|
262
|
+
- 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,X-Contentful-Team
|
263
|
+
Access-Control-Allow-Methods:
|
264
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
265
|
+
Access-Control-Allow-Origin:
|
266
|
+
- "*"
|
267
|
+
Access-Control-Expose-Headers:
|
268
|
+
- Etag
|
269
|
+
Access-Control-Max-Age:
|
270
|
+
- '1728000'
|
271
|
+
Cache-Control:
|
272
|
+
- max-age=0
|
273
|
+
Cf-Organization-Id:
|
274
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
275
|
+
Cf-Space-Id:
|
276
|
+
- facgnwwgj5fe
|
277
|
+
Content-Type:
|
278
|
+
- application/vnd.contentful.management.v1+json
|
279
|
+
Contentful-Api:
|
280
|
+
- cma
|
281
|
+
Date:
|
282
|
+
- Tue, 02 Apr 2019 13:35:39 GMT
|
283
|
+
Etag:
|
284
|
+
- W/"f76550f5b37635a7e5435fe620d77f99"
|
285
|
+
Referrer-Policy:
|
286
|
+
- strict-origin-when-cross-origin
|
287
|
+
Server:
|
288
|
+
- Contentful
|
289
|
+
Strict-Transport-Security:
|
290
|
+
- max-age=15768000
|
291
|
+
X-Content-Type-Options:
|
292
|
+
- nosniff
|
293
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
294
|
+
- '36000'
|
295
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
296
|
+
- '35999'
|
297
|
+
X-Contentful-Ratelimit-Reset:
|
298
|
+
- '0'
|
299
|
+
X-Contentful-Ratelimit-Second-Limit:
|
300
|
+
- '10'
|
301
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
302
|
+
- '9'
|
303
|
+
X-Contentful-Request-Id:
|
304
|
+
- d986a015d59a3df7e1bea44c78f37f42
|
305
|
+
X-Download-Options:
|
306
|
+
- noopen
|
307
|
+
X-Frame-Options:
|
308
|
+
- ALLOWALL
|
309
|
+
X-Permitted-Cross-Domain-Policies:
|
310
|
+
- none
|
311
|
+
X-Xss-Protection:
|
312
|
+
- 1; mode=block
|
313
|
+
Content-Length:
|
314
|
+
- '2216'
|
315
|
+
Connection:
|
316
|
+
- Close
|
317
|
+
Set-Cookie:
|
318
|
+
- incap_ses_1077_673446=PNqJCOCz8GfT4GoUCkbyDiplo1wAAAAAb0Iaw6wTAK++ERR14+XsCw==;
|
319
|
+
path=/; Domain=.contentful.com
|
320
|
+
- nlbi_673446=cqE4ebqQzxPDsk+IYMlkBAAAAABO5Ut1Ows5+YS6rHrQzdD+; path=/; Domain=.contentful.com
|
321
|
+
- visid_incap_673446=fz2V25ayR7eD15IcAgYKtyplo1wAAAAAQUIPAAAAAACAi1Nf0c1pimEVwFgddp8J;
|
322
|
+
expires=Wed, 01 Apr 2020 05:58:41 GMT; path=/; Domain=.contentful.com
|
323
|
+
X-Iinfo:
|
324
|
+
- 6-744059-744060 NNNN CT(101 103 0) RT(1554212137777 54) q(0 0 2 -1) r(4 4)
|
325
|
+
U5
|
326
|
+
X-Cdn:
|
327
|
+
- Incapsula
|
328
|
+
body:
|
329
|
+
encoding: ASCII-8BIT
|
330
|
+
string: |+
|
331
|
+
{
|
332
|
+
"name":"Translator - Updated",
|
333
|
+
"description":"Allows editing of localized fields in the specified language",
|
334
|
+
"policies":[
|
335
|
+
{
|
336
|
+
"effect":"allow",
|
337
|
+
"actions":[
|
338
|
+
"read"
|
339
|
+
],
|
340
|
+
"constraint":{
|
341
|
+
"and":[
|
342
|
+
{
|
343
|
+
"equals":[
|
344
|
+
{
|
345
|
+
"doc":"sys.type"
|
346
|
+
},
|
347
|
+
"Entry"
|
348
|
+
]
|
349
|
+
}
|
350
|
+
]
|
351
|
+
}
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"effect":"allow",
|
355
|
+
"actions":[
|
356
|
+
"read"
|
357
|
+
],
|
358
|
+
"constraint":{
|
359
|
+
"and":[
|
360
|
+
{
|
361
|
+
"equals":[
|
362
|
+
{
|
363
|
+
"doc":"sys.type"
|
364
|
+
},
|
365
|
+
"Asset"
|
366
|
+
]
|
367
|
+
}
|
368
|
+
]
|
369
|
+
}
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"effect":"allow",
|
373
|
+
"actions":[
|
374
|
+
"update"
|
375
|
+
],
|
376
|
+
"constraint":{
|
377
|
+
"and":[
|
378
|
+
{
|
379
|
+
"equals":[
|
380
|
+
{
|
381
|
+
"doc":"sys.type"
|
382
|
+
},
|
383
|
+
"Entry"
|
384
|
+
]
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"paths":[
|
388
|
+
{
|
389
|
+
"doc":"fields.%.%"
|
390
|
+
}
|
391
|
+
]
|
392
|
+
}
|
393
|
+
]
|
394
|
+
}
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"effect":"allow",
|
398
|
+
"actions":[
|
399
|
+
"update"
|
400
|
+
],
|
401
|
+
"constraint":{
|
402
|
+
"and":[
|
403
|
+
{
|
404
|
+
"equals":[
|
405
|
+
{
|
406
|
+
"doc":"sys.type"
|
407
|
+
},
|
408
|
+
"Asset"
|
409
|
+
]
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"paths":[
|
413
|
+
{
|
414
|
+
"doc":"fields.%.%"
|
415
|
+
}
|
416
|
+
]
|
417
|
+
}
|
418
|
+
]
|
419
|
+
}
|
420
|
+
}
|
421
|
+
],
|
422
|
+
"permissions":{
|
423
|
+
"ContentModel":[
|
424
|
+
"read"
|
425
|
+
],
|
426
|
+
"Settings":[],
|
427
|
+
"ContentDelivery":[],
|
428
|
+
"Environments":[]
|
429
|
+
},
|
430
|
+
"sys":{
|
431
|
+
"type":"Role",
|
432
|
+
"id":"1NzxmNIjPtzpJae5OL1m4u",
|
433
|
+
"version":1,
|
434
|
+
"space":{
|
435
|
+
"sys":{
|
436
|
+
"type":"Link",
|
437
|
+
"linkType":"Space",
|
438
|
+
"id":"facgnwwgj5fe"
|
439
|
+
}
|
440
|
+
},
|
441
|
+
"createdBy":{
|
442
|
+
"sys":{
|
443
|
+
"type":"Link",
|
444
|
+
"linkType":"User",
|
445
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
446
|
+
}
|
447
|
+
},
|
448
|
+
"createdAt":"2017-03-02T18:30:27Z",
|
449
|
+
"updatedBy":{
|
450
|
+
"sys":{
|
451
|
+
"type":"Link",
|
452
|
+
"linkType":"User",
|
453
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
454
|
+
}
|
455
|
+
},
|
456
|
+
"updatedAt":"2019-04-02T13:35:39Z"
|
457
|
+
}
|
458
|
+
}
|
459
|
+
|
460
|
+
http_version:
|
461
|
+
recorded_at: Tue, 02 Apr 2019 13:35:38 GMT
|
462
|
+
- request:
|
463
|
+
method: get
|
464
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/roles/1NzxmNIjPtzpJae5OL1m4u
|
465
|
+
body:
|
466
|
+
encoding: US-ASCII
|
467
|
+
string: ''
|
468
|
+
headers:
|
469
|
+
X-Contentful-User-Agent:
|
470
|
+
- sdk contentful-management.rb/2.8.0; platform ruby/2.5.3; os macOS/16;
|
471
|
+
Authorization:
|
472
|
+
- Bearer <ACCESS_TOKEN>
|
473
|
+
Content-Type:
|
474
|
+
- application/vnd.contentful.management.v1+json
|
475
|
+
Connection:
|
476
|
+
- close
|
477
|
+
Host:
|
478
|
+
- api.contentful.com
|
479
|
+
User-Agent:
|
480
|
+
- http.rb/2.2.2
|
481
|
+
response:
|
482
|
+
status:
|
483
|
+
code: 200
|
484
|
+
message: OK
|
485
|
+
headers:
|
486
|
+
Accept-Ranges:
|
487
|
+
- bytes
|
488
|
+
Access-Control-Allow-Headers:
|
489
|
+
- 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,X-Contentful-Team
|
490
|
+
Access-Control-Allow-Methods:
|
491
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
492
|
+
Access-Control-Allow-Origin:
|
493
|
+
- "*"
|
494
|
+
Access-Control-Expose-Headers:
|
495
|
+
- Etag
|
496
|
+
Access-Control-Max-Age:
|
497
|
+
- '1728000'
|
498
|
+
Cache-Control:
|
499
|
+
- max-age=0
|
500
|
+
Cf-Organization-Id:
|
501
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
502
|
+
Cf-Space-Id:
|
503
|
+
- facgnwwgj5fe
|
504
|
+
Content-Type:
|
505
|
+
- application/vnd.contentful.management.v1+json
|
506
|
+
Contentful-Api:
|
507
|
+
- cma
|
508
|
+
Date:
|
509
|
+
- Tue, 02 Apr 2019 13:35:39 GMT
|
510
|
+
Etag:
|
511
|
+
- W/"f76550f5b37635a7e5435fe620d77f99"
|
512
|
+
Referrer-Policy:
|
513
|
+
- strict-origin-when-cross-origin
|
514
|
+
Server:
|
515
|
+
- Contentful
|
516
|
+
Strict-Transport-Security:
|
517
|
+
- max-age=15768000
|
518
|
+
X-Content-Type-Options:
|
519
|
+
- nosniff
|
520
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
521
|
+
- '36000'
|
522
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
523
|
+
- '35998'
|
524
|
+
X-Contentful-Ratelimit-Reset:
|
525
|
+
- '0'
|
526
|
+
X-Contentful-Ratelimit-Second-Limit:
|
527
|
+
- '10'
|
528
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
529
|
+
- '8'
|
530
|
+
X-Contentful-Request-Id:
|
531
|
+
- 0ed59213ef7046c61f821582b26d8e77
|
532
|
+
X-Download-Options:
|
533
|
+
- noopen
|
534
|
+
X-Frame-Options:
|
535
|
+
- ALLOWALL
|
536
|
+
X-Permitted-Cross-Domain-Policies:
|
537
|
+
- none
|
538
|
+
X-Xss-Protection:
|
539
|
+
- 1; mode=block
|
540
|
+
Content-Length:
|
541
|
+
- '2216'
|
542
|
+
Connection:
|
543
|
+
- Close
|
544
|
+
Set-Cookie:
|
545
|
+
- incap_ses_1077_673446=kO9Meu78BUHs4GoUCkbyDiplo1wAAAAAt0A7bq4DxQMGDjQ4V/8J6g==;
|
546
|
+
path=/; Domain=.contentful.com
|
547
|
+
- nlbi_673446=9Cb4NKm7wBE6LgJ6YMlkBAAAAAB9fUfGXU4/IpHpXSrWtoV+; path=/; Domain=.contentful.com
|
548
|
+
- visid_incap_673446=FmPqGnIoSyeUDTVz+uzGfiplo1wAAAAAQUIPAAAAAACkm9rU5qbeFqVX1rdLfSUR;
|
549
|
+
expires=Wed, 01 Apr 2020 05:58:41 GMT; path=/; Domain=.contentful.com
|
550
|
+
X-Iinfo:
|
551
|
+
- 7-1239286-1239291 NNNN CT(126 126 0) RT(1554212138260 54) q(0 0 2 -1) r(4
|
552
|
+
4) U5
|
553
|
+
X-Cdn:
|
554
|
+
- Incapsula
|
555
|
+
body:
|
556
|
+
encoding: ASCII-8BIT
|
557
|
+
string: |+
|
558
|
+
{
|
559
|
+
"name":"Translator - Updated",
|
560
|
+
"description":"Allows editing of localized fields in the specified language",
|
561
|
+
"policies":[
|
562
|
+
{
|
563
|
+
"effect":"allow",
|
564
|
+
"actions":[
|
565
|
+
"read"
|
566
|
+
],
|
567
|
+
"constraint":{
|
568
|
+
"and":[
|
569
|
+
{
|
570
|
+
"equals":[
|
571
|
+
{
|
572
|
+
"doc":"sys.type"
|
573
|
+
},
|
574
|
+
"Entry"
|
575
|
+
]
|
576
|
+
}
|
577
|
+
]
|
578
|
+
}
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"effect":"allow",
|
582
|
+
"actions":[
|
583
|
+
"read"
|
584
|
+
],
|
585
|
+
"constraint":{
|
586
|
+
"and":[
|
587
|
+
{
|
588
|
+
"equals":[
|
589
|
+
{
|
590
|
+
"doc":"sys.type"
|
591
|
+
},
|
592
|
+
"Asset"
|
593
|
+
]
|
594
|
+
}
|
595
|
+
]
|
596
|
+
}
|
597
|
+
},
|
598
|
+
{
|
599
|
+
"effect":"allow",
|
600
|
+
"actions":[
|
601
|
+
"update"
|
602
|
+
],
|
603
|
+
"constraint":{
|
604
|
+
"and":[
|
605
|
+
{
|
606
|
+
"equals":[
|
607
|
+
{
|
608
|
+
"doc":"sys.type"
|
609
|
+
},
|
610
|
+
"Entry"
|
611
|
+
]
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"paths":[
|
615
|
+
{
|
616
|
+
"doc":"fields.%.%"
|
617
|
+
}
|
618
|
+
]
|
619
|
+
}
|
620
|
+
]
|
621
|
+
}
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"effect":"allow",
|
625
|
+
"actions":[
|
626
|
+
"update"
|
627
|
+
],
|
628
|
+
"constraint":{
|
629
|
+
"and":[
|
630
|
+
{
|
631
|
+
"equals":[
|
632
|
+
{
|
633
|
+
"doc":"sys.type"
|
634
|
+
},
|
635
|
+
"Asset"
|
636
|
+
]
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"paths":[
|
640
|
+
{
|
641
|
+
"doc":"fields.%.%"
|
642
|
+
}
|
643
|
+
]
|
644
|
+
}
|
645
|
+
]
|
646
|
+
}
|
647
|
+
}
|
648
|
+
],
|
649
|
+
"permissions":{
|
650
|
+
"ContentModel":[
|
651
|
+
"read"
|
652
|
+
],
|
653
|
+
"Settings":[],
|
654
|
+
"ContentDelivery":[],
|
655
|
+
"Environments":[]
|
656
|
+
},
|
657
|
+
"sys":{
|
658
|
+
"type":"Role",
|
659
|
+
"id":"1NzxmNIjPtzpJae5OL1m4u",
|
660
|
+
"version":1,
|
661
|
+
"space":{
|
662
|
+
"sys":{
|
663
|
+
"type":"Link",
|
664
|
+
"linkType":"Space",
|
665
|
+
"id":"facgnwwgj5fe"
|
666
|
+
}
|
667
|
+
},
|
668
|
+
"createdBy":{
|
669
|
+
"sys":{
|
670
|
+
"type":"Link",
|
671
|
+
"linkType":"User",
|
672
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
673
|
+
}
|
674
|
+
},
|
675
|
+
"createdAt":"2017-03-02T18:30:27Z",
|
676
|
+
"updatedBy":{
|
677
|
+
"sys":{
|
678
|
+
"type":"Link",
|
679
|
+
"linkType":"User",
|
680
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
681
|
+
}
|
682
|
+
},
|
683
|
+
"updatedAt":"2019-04-02T13:35:39Z"
|
684
|
+
}
|
685
|
+
}
|
686
|
+
|
687
|
+
http_version:
|
688
|
+
recorded_at: Tue, 02 Apr 2019 13:35:39 GMT
|
689
|
+
recorded_with: VCR 4.0.0
|