contentful-management 1.8.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +15 -0
- data/README.md +209 -41
- data/contentful-management.gemspec +1 -1
- data/lib/contentful/management/asset.rb +1 -1
- data/lib/contentful/management/client.rb +155 -31
- data/lib/contentful/management/client_organization_methods_factory.rb +23 -0
- data/lib/contentful/management/client_personal_access_tokens_methods_factory.rb +27 -0
- data/lib/contentful/management/client_snapshot_methods_factory.rb +16 -6
- data/lib/contentful/management/client_space_membership_methods_factory.rb +15 -0
- data/lib/contentful/management/client_ui_extension_methods_factory.rb +15 -0
- data/lib/contentful/management/client_user_methods_factory.rb +27 -0
- data/lib/contentful/management/client_webhook_call_methods_factory.rb +30 -0
- data/lib/contentful/management/client_webhook_health_methods_factory.rb +27 -0
- data/lib/contentful/management/content_type.rb +10 -0
- data/lib/contentful/management/content_type_snapshot_methods_factory.rb +35 -0
- data/lib/contentful/management/editor_interface.rb +1 -1
- data/lib/contentful/management/organization.rb +20 -0
- data/lib/contentful/management/personal_access_token.rb +45 -0
- data/lib/contentful/management/request.rb +0 -1
- data/lib/contentful/management/resource.rb +4 -2
- data/lib/contentful/management/resource_builder.rb +15 -0
- data/lib/contentful/management/snapshot.rb +31 -20
- data/lib/contentful/management/space.rb +32 -10
- data/lib/contentful/management/space_membership.rb +43 -0
- data/lib/contentful/management/space_space_membership_methods_factory.rb +15 -0
- data/lib/contentful/management/space_ui_extension_methods_factory.rb +15 -0
- data/lib/contentful/management/ui_extension.rb +106 -0
- data/lib/contentful/management/user.rb +28 -0
- data/lib/contentful/management/version.rb +1 -1
- data/lib/contentful/management/webhook.rb +20 -0
- data/lib/contentful/management/webhook_call.rb +77 -0
- data/lib/contentful/management/webhook_health.rb +79 -0
- data/lib/contentful/management/webhook_webhook_call_methods_factory.rb +30 -0
- data/lib/contentful/management/webhook_webhook_health_methods_factory.rb +28 -0
- data/spec/fixtures/vcr_cassettes/get_request.yml +34 -17
- data/spec/fixtures/vcr_cassettes/organization/all.yml +100 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/all.yml +101 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/create.yml +94 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/find.yml +91 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/find_not_found.yml +88 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/revoke.yml +179 -0
- data/spec/fixtures/vcr_cassettes/snapshot/ct_all.yml +207 -0
- data/spec/fixtures/vcr_cassettes/snapshot/ct_find.yml +198 -0
- data/spec/fixtures/vcr_cassettes/snapshot/ct_find_not_found.yml +94 -0
- data/spec/fixtures/vcr_cassettes/space/all_disabled_cache.yml +428 -0
- data/spec/fixtures/vcr_cassettes/space/disabled_cache.yml +120 -0
- data/spec/fixtures/vcr_cassettes/space_memberships/all.yml +190 -0
- data/spec/fixtures/vcr_cassettes/space_memberships/create.yml +143 -0
- data/spec/fixtures/vcr_cassettes/space_memberships/delete.yml +322 -0
- data/spec/fixtures/vcr_cassettes/space_memberships/find.yml +141 -0
- data/spec/fixtures/vcr_cassettes/ui_extension/all.yml +1020 -0
- data/spec/fixtures/vcr_cassettes/ui_extension/create.yml +133 -0
- data/spec/fixtures/vcr_cassettes/ui_extension/delete.yml +291 -0
- data/spec/fixtures/vcr_cassettes/ui_extension/find.yml +126 -0
- data/spec/fixtures/vcr_cassettes/user/find.yml +96 -0
- data/spec/fixtures/vcr_cassettes/webhook_call/all.yml +151 -0
- data/spec/fixtures/vcr_cassettes/webhook_call/find.yml +88 -0
- data/spec/fixtures/vcr_cassettes/webhook_call/find_not_found.yml +93 -0
- data/spec/fixtures/vcr_cassettes/webhook_health/find.yml +111 -0
- data/spec/lib/contentful/management/client_spec.rb +25 -26
- data/spec/lib/contentful/management/entry_spec.rb +48 -48
- data/spec/lib/contentful/management/organization_spec.rb +33 -0
- data/spec/lib/contentful/management/personal_access_token_spec.rb +85 -0
- data/spec/lib/contentful/management/snapshot_spec.rb +134 -47
- data/spec/lib/contentful/management/space_membership_spec.rb +147 -0
- data/spec/lib/contentful/management/space_spec.rb +35 -1
- data/spec/lib/contentful/management/ui_extension_spec.rb +276 -0
- data/spec/lib/contentful/management/user_spec.rb +52 -0
- data/spec/lib/contentful/management/webhook_calls_spec.rb +69 -0
- data/spec/lib/contentful/management/webhook_health_spec.rb +51 -0
- metadata +88 -8
- data/lib/contentful/management/http_client.rb +0 -89
@@ -0,0 +1,1020 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/arqlnkt58eul/extensions
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; 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
|
+
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-User-Agent,X-Contentful-Enable-Experimental-Feature
|
29
|
+
Access-Control-Allow-Methods:
|
30
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
31
|
+
Access-Control-Allow-Origin:
|
32
|
+
- "*"
|
33
|
+
Access-Control-Expose-Headers:
|
34
|
+
- Etag
|
35
|
+
Access-Control-Max-Age:
|
36
|
+
- '1728000'
|
37
|
+
Cf-Space-Id:
|
38
|
+
- arqlnkt58eul
|
39
|
+
Content-Type:
|
40
|
+
- application/vnd.contentful.management.v1+json
|
41
|
+
Date:
|
42
|
+
- Tue, 05 Sep 2017 07:46:42 GMT
|
43
|
+
Etag:
|
44
|
+
- '"fa58f82b9b1e883c33946ed45dfa57b1"'
|
45
|
+
Server:
|
46
|
+
- Contentful
|
47
|
+
Strict-Transport-Security:
|
48
|
+
- max-age=15768000
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
51
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
52
|
+
- '36000'
|
53
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
54
|
+
- '35992'
|
55
|
+
X-Contentful-Ratelimit-Reset:
|
56
|
+
- '0'
|
57
|
+
X-Contentful-Ratelimit-Second-Limit:
|
58
|
+
- '10'
|
59
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
60
|
+
- '9'
|
61
|
+
X-Contentful-Request-Id:
|
62
|
+
- fb6da861989b07a0fda1634d7b3021d9
|
63
|
+
Content-Length:
|
64
|
+
- '22958'
|
65
|
+
Connection:
|
66
|
+
- Close
|
67
|
+
Set-Cookie:
|
68
|
+
- incap_ses_187_673446=XTQMFbqMy3PgvHSA5luYAmJWrlkAAAAAVvZFx79Qnw90JV86/S2kIg==;
|
69
|
+
path=/; Domain=.contentful.com
|
70
|
+
- nlbi_673446=OsPFRXCwOyAvNtdi6lKYhQAAAACJL0UiJpDGdHFpJFdjlFeS; path=/; Domain=.contentful.com
|
71
|
+
- visid_incap_673446=G2YdDJJ3SNa65gOIdK91uWJWrlkAAAAAQUIPAAAAAABXEBTg0SPoZ47xltzt0wgH;
|
72
|
+
expires=Tue, 04 Sep 2018 12:02:10 GMT; path=/; Domain=.contentful.com
|
73
|
+
X-Iinfo:
|
74
|
+
- 7-35862200-35862210 NNNN CT(97 79 0) RT(1504597597623 103) q(0 0 2 -1) r(44
|
75
|
+
45) U5
|
76
|
+
X-Cdn:
|
77
|
+
- Incapsula
|
78
|
+
body:
|
79
|
+
encoding: ASCII-8BIT
|
80
|
+
string: |
|
81
|
+
{
|
82
|
+
"sys": {
|
83
|
+
"type": "Array"
|
84
|
+
},
|
85
|
+
"total": 23,
|
86
|
+
"skip": 0,
|
87
|
+
"limit": 0,
|
88
|
+
"items": [
|
89
|
+
{
|
90
|
+
"extension": {
|
91
|
+
"srcdoc": "<!doctype html><html lang='en'><head><meta charset='UTF-8'/><title>Sample Editor Extension</title><link rel='stylesheet' href='https://contentful.github.io/ui-extensions-sdk/cf-extension.css'><script src='https://contentful.github.io/ui-extensions-sdk/cf-extension-api.js'></script></head><body><div id='content'></div><script>window.contentfulExtension.init(function (extension) {window.alert(extension);var value = extension.field.getValue();extension.field.setValue('Hello world!');extension.field.onValueChanged(function(value) {if (value !== currentValue) {extension.field.setValue('Hello world!');}});});</script></body></html>",
|
92
|
+
"name": "My awesome extension by srcDoc",
|
93
|
+
"fieldTypes": [
|
94
|
+
{
|
95
|
+
"type": "Symbol"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"type": "Text"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"sidebar": false
|
102
|
+
},
|
103
|
+
"sys": {
|
104
|
+
"id": "2ZJduY1pKEma6G8Y2ImqYU",
|
105
|
+
"type": "Extension",
|
106
|
+
"version": 1,
|
107
|
+
"createdAt": "2017-06-29T11:04:33.874Z",
|
108
|
+
"createdBy": {
|
109
|
+
"sys": {
|
110
|
+
"type": "Link",
|
111
|
+
"linkType": "User",
|
112
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
113
|
+
}
|
114
|
+
},
|
115
|
+
"space": {
|
116
|
+
"sys": {
|
117
|
+
"type": "Link",
|
118
|
+
"linkType": "Space",
|
119
|
+
"id": "arqlnkt58eul"
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"updatedAt": "2017-06-29T11:04:33.874Z",
|
123
|
+
"updatedBy": {
|
124
|
+
"sys": {
|
125
|
+
"type": "Link",
|
126
|
+
"linkType": "User",
|
127
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"extension": {
|
134
|
+
"srcdoc": "<!doctype html> <html lang='en'> <head> <meta charset='UTF-8'/> <title>Sample Editor Extension<itle> <link rel='stylesheet' href='https://contentful.github.io/ui-extensions-sdk/cf-extension.css'> <script src='https://contentful.github.io/ui-extensions-sdk/cf-extension-api.js'></script> </head> <body> <div id='content'></div> <script> window.contentfulExtension.init(function (extension) { var value = extension.field.getValue() extension.field.setValue('Hello world!')extension.field.onValueChanged(function(value) { if (value !== currentValue) { extension.field.setValue('Hello world!') } }) }) </script> </body> </html>",
|
135
|
+
"name": "My awesome extension by srcDoc",
|
136
|
+
"fieldTypes": [
|
137
|
+
{
|
138
|
+
"type": "Symbol"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"type": "Text"
|
142
|
+
}
|
143
|
+
],
|
144
|
+
"sidebar": false
|
145
|
+
},
|
146
|
+
"sys": {
|
147
|
+
"id": "4dBWHpKhao8AuYAMcosSyw",
|
148
|
+
"type": "Extension",
|
149
|
+
"version": 1,
|
150
|
+
"createdAt": "2017-06-29T10:07:47.689Z",
|
151
|
+
"createdBy": {
|
152
|
+
"sys": {
|
153
|
+
"type": "Link",
|
154
|
+
"linkType": "User",
|
155
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
156
|
+
}
|
157
|
+
},
|
158
|
+
"space": {
|
159
|
+
"sys": {
|
160
|
+
"type": "Link",
|
161
|
+
"linkType": "Space",
|
162
|
+
"id": "arqlnkt58eul"
|
163
|
+
}
|
164
|
+
},
|
165
|
+
"updatedAt": "2017-06-29T10:07:47.690Z",
|
166
|
+
"updatedBy": {
|
167
|
+
"sys": {
|
168
|
+
"type": "Link",
|
169
|
+
"linkType": "User",
|
170
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"extension": {
|
177
|
+
"name": "foo",
|
178
|
+
"src": "https://example.com/foo/bar",
|
179
|
+
"fieldTypes": [
|
180
|
+
{
|
181
|
+
"type": "Integer"
|
182
|
+
}
|
183
|
+
]
|
184
|
+
},
|
185
|
+
"sys": {
|
186
|
+
"id": "asdf1",
|
187
|
+
"type": "Extension",
|
188
|
+
"version": 1,
|
189
|
+
"createdAt": "2017-07-18T16:31:39.814Z",
|
190
|
+
"createdBy": {
|
191
|
+
"sys": {
|
192
|
+
"type": "Link",
|
193
|
+
"linkType": "User",
|
194
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
195
|
+
}
|
196
|
+
},
|
197
|
+
"space": {
|
198
|
+
"sys": {
|
199
|
+
"type": "Link",
|
200
|
+
"linkType": "Space",
|
201
|
+
"id": "arqlnkt58eul"
|
202
|
+
}
|
203
|
+
},
|
204
|
+
"updatedAt": "2017-07-18T16:31:39.814Z",
|
205
|
+
"updatedBy": {
|
206
|
+
"sys": {
|
207
|
+
"type": "Link",
|
208
|
+
"linkType": "User",
|
209
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"extension": {
|
216
|
+
"name": "foo",
|
217
|
+
"src": "https://example.com/foo/bar",
|
218
|
+
"fieldTypes": [
|
219
|
+
{
|
220
|
+
"type": "Integer"
|
221
|
+
}
|
222
|
+
]
|
223
|
+
},
|
224
|
+
"sys": {
|
225
|
+
"id": "asdf2",
|
226
|
+
"type": "Extension",
|
227
|
+
"version": 1,
|
228
|
+
"createdAt": "2017-07-18T16:31:47.336Z",
|
229
|
+
"createdBy": {
|
230
|
+
"sys": {
|
231
|
+
"type": "Link",
|
232
|
+
"linkType": "User",
|
233
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"space": {
|
237
|
+
"sys": {
|
238
|
+
"type": "Link",
|
239
|
+
"linkType": "Space",
|
240
|
+
"id": "arqlnkt58eul"
|
241
|
+
}
|
242
|
+
},
|
243
|
+
"updatedAt": "2017-07-18T16:31:47.336Z",
|
244
|
+
"updatedBy": {
|
245
|
+
"sys": {
|
246
|
+
"type": "Link",
|
247
|
+
"linkType": "User",
|
248
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"extension": {
|
255
|
+
"name": "MyExtension",
|
256
|
+
"fieldTypes": [
|
257
|
+
{
|
258
|
+
"type": "Integer"
|
259
|
+
}
|
260
|
+
],
|
261
|
+
"src": "https://example.com/foo/bar",
|
262
|
+
"sidebar": false
|
263
|
+
},
|
264
|
+
"sys": {
|
265
|
+
"id": "foo",
|
266
|
+
"type": "Extension",
|
267
|
+
"version": 1,
|
268
|
+
"createdAt": "2017-07-18T16:25:54.837Z",
|
269
|
+
"createdBy": {
|
270
|
+
"sys": {
|
271
|
+
"type": "Link",
|
272
|
+
"linkType": "User",
|
273
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
274
|
+
}
|
275
|
+
},
|
276
|
+
"space": {
|
277
|
+
"sys": {
|
278
|
+
"type": "Link",
|
279
|
+
"linkType": "Space",
|
280
|
+
"id": "arqlnkt58eul"
|
281
|
+
}
|
282
|
+
},
|
283
|
+
"updatedAt": "2017-07-18T16:25:54.837Z",
|
284
|
+
"updatedBy": {
|
285
|
+
"sys": {
|
286
|
+
"type": "Link",
|
287
|
+
"linkType": "User",
|
288
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
289
|
+
}
|
290
|
+
}
|
291
|
+
}
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"extension": {
|
295
|
+
"name": "Random foo!",
|
296
|
+
"fieldTypes": [
|
297
|
+
{
|
298
|
+
"type": "Integer"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"src": "https://example.com/foo/bar",
|
302
|
+
"sidebar": false
|
303
|
+
},
|
304
|
+
"sys": {
|
305
|
+
"id": "foo_0.09058147806872052",
|
306
|
+
"type": "Extension",
|
307
|
+
"version": 1,
|
308
|
+
"createdAt": "2017-07-25T12:33:14.938Z",
|
309
|
+
"createdBy": {
|
310
|
+
"sys": {
|
311
|
+
"type": "Link",
|
312
|
+
"linkType": "User",
|
313
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
314
|
+
}
|
315
|
+
},
|
316
|
+
"space": {
|
317
|
+
"sys": {
|
318
|
+
"type": "Link",
|
319
|
+
"linkType": "Space",
|
320
|
+
"id": "arqlnkt58eul"
|
321
|
+
}
|
322
|
+
},
|
323
|
+
"updatedAt": "2017-07-25T12:33:14.938Z",
|
324
|
+
"updatedBy": {
|
325
|
+
"sys": {
|
326
|
+
"type": "Link",
|
327
|
+
"linkType": "User",
|
328
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
329
|
+
}
|
330
|
+
}
|
331
|
+
}
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"extension": {
|
335
|
+
"name": "Random foo!",
|
336
|
+
"fieldTypes": [
|
337
|
+
{
|
338
|
+
"type": "Integer"
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"src": "https://example.com/foo/bar",
|
342
|
+
"sidebar": false
|
343
|
+
},
|
344
|
+
"sys": {
|
345
|
+
"id": "foo_0.11158895615739506",
|
346
|
+
"type": "Extension",
|
347
|
+
"version": 1,
|
348
|
+
"createdAt": "2017-08-25T12:34:22.503Z",
|
349
|
+
"createdBy": {
|
350
|
+
"sys": {
|
351
|
+
"type": "Link",
|
352
|
+
"linkType": "User",
|
353
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
354
|
+
}
|
355
|
+
},
|
356
|
+
"space": {
|
357
|
+
"sys": {
|
358
|
+
"type": "Link",
|
359
|
+
"linkType": "Space",
|
360
|
+
"id": "arqlnkt58eul"
|
361
|
+
}
|
362
|
+
},
|
363
|
+
"updatedAt": "2017-08-25T12:34:22.503Z",
|
364
|
+
"updatedBy": {
|
365
|
+
"sys": {
|
366
|
+
"type": "Link",
|
367
|
+
"linkType": "User",
|
368
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
369
|
+
}
|
370
|
+
}
|
371
|
+
}
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"extension": {
|
375
|
+
"name": "Random foo!",
|
376
|
+
"fieldTypes": [
|
377
|
+
{
|
378
|
+
"type": "Integer"
|
379
|
+
}
|
380
|
+
],
|
381
|
+
"src": "https://example.com/foo/bar",
|
382
|
+
"sidebar": false
|
383
|
+
},
|
384
|
+
"sys": {
|
385
|
+
"id": "foo_0.2337521992350765",
|
386
|
+
"type": "Extension",
|
387
|
+
"version": 1,
|
388
|
+
"createdAt": "2017-07-25T12:34:19.449Z",
|
389
|
+
"createdBy": {
|
390
|
+
"sys": {
|
391
|
+
"type": "Link",
|
392
|
+
"linkType": "User",
|
393
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
394
|
+
}
|
395
|
+
},
|
396
|
+
"space": {
|
397
|
+
"sys": {
|
398
|
+
"type": "Link",
|
399
|
+
"linkType": "Space",
|
400
|
+
"id": "arqlnkt58eul"
|
401
|
+
}
|
402
|
+
},
|
403
|
+
"updatedAt": "2017-07-25T12:34:19.449Z",
|
404
|
+
"updatedBy": {
|
405
|
+
"sys": {
|
406
|
+
"type": "Link",
|
407
|
+
"linkType": "User",
|
408
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
409
|
+
}
|
410
|
+
}
|
411
|
+
}
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"extension": {
|
415
|
+
"name": "Random foo!",
|
416
|
+
"fieldTypes": [
|
417
|
+
{
|
418
|
+
"type": "Integer"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"src": "https://example.com/foo/bar",
|
422
|
+
"sidebar": false
|
423
|
+
},
|
424
|
+
"sys": {
|
425
|
+
"id": "foo_0.28266914986640845",
|
426
|
+
"type": "Extension",
|
427
|
+
"version": 1,
|
428
|
+
"createdAt": "2017-07-25T12:31:35.245Z",
|
429
|
+
"createdBy": {
|
430
|
+
"sys": {
|
431
|
+
"type": "Link",
|
432
|
+
"linkType": "User",
|
433
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
434
|
+
}
|
435
|
+
},
|
436
|
+
"space": {
|
437
|
+
"sys": {
|
438
|
+
"type": "Link",
|
439
|
+
"linkType": "Space",
|
440
|
+
"id": "arqlnkt58eul"
|
441
|
+
}
|
442
|
+
},
|
443
|
+
"updatedAt": "2017-07-25T12:31:35.245Z",
|
444
|
+
"updatedBy": {
|
445
|
+
"sys": {
|
446
|
+
"type": "Link",
|
447
|
+
"linkType": "User",
|
448
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
449
|
+
}
|
450
|
+
}
|
451
|
+
}
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"extension": {
|
455
|
+
"name": "Random foo!",
|
456
|
+
"fieldTypes": [
|
457
|
+
{
|
458
|
+
"type": "Integer"
|
459
|
+
}
|
460
|
+
],
|
461
|
+
"src": "https://example.com/foo/bar",
|
462
|
+
"sidebar": false
|
463
|
+
},
|
464
|
+
"sys": {
|
465
|
+
"id": "foo_0.31057052025357434",
|
466
|
+
"type": "Extension",
|
467
|
+
"version": 1,
|
468
|
+
"createdAt": "2017-08-25T10:51:39.606Z",
|
469
|
+
"createdBy": {
|
470
|
+
"sys": {
|
471
|
+
"type": "Link",
|
472
|
+
"linkType": "User",
|
473
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
474
|
+
}
|
475
|
+
},
|
476
|
+
"space": {
|
477
|
+
"sys": {
|
478
|
+
"type": "Link",
|
479
|
+
"linkType": "Space",
|
480
|
+
"id": "arqlnkt58eul"
|
481
|
+
}
|
482
|
+
},
|
483
|
+
"updatedAt": "2017-08-25T10:51:39.606Z",
|
484
|
+
"updatedBy": {
|
485
|
+
"sys": {
|
486
|
+
"type": "Link",
|
487
|
+
"linkType": "User",
|
488
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
489
|
+
}
|
490
|
+
}
|
491
|
+
}
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"extension": {
|
495
|
+
"name": "Random foo!",
|
496
|
+
"fieldTypes": [
|
497
|
+
{
|
498
|
+
"type": "Integer"
|
499
|
+
}
|
500
|
+
],
|
501
|
+
"src": "https://example.com/foo/bar",
|
502
|
+
"sidebar": false
|
503
|
+
},
|
504
|
+
"sys": {
|
505
|
+
"id": "foo_0.3804977901911889",
|
506
|
+
"type": "Extension",
|
507
|
+
"version": 1,
|
508
|
+
"createdAt": "2017-07-21T09:44:57.509Z",
|
509
|
+
"createdBy": {
|
510
|
+
"sys": {
|
511
|
+
"type": "Link",
|
512
|
+
"linkType": "User",
|
513
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
514
|
+
}
|
515
|
+
},
|
516
|
+
"space": {
|
517
|
+
"sys": {
|
518
|
+
"type": "Link",
|
519
|
+
"linkType": "Space",
|
520
|
+
"id": "arqlnkt58eul"
|
521
|
+
}
|
522
|
+
},
|
523
|
+
"updatedAt": "2017-07-21T09:44:57.509Z",
|
524
|
+
"updatedBy": {
|
525
|
+
"sys": {
|
526
|
+
"type": "Link",
|
527
|
+
"linkType": "User",
|
528
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
529
|
+
}
|
530
|
+
}
|
531
|
+
}
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"extension": {
|
535
|
+
"name": "Random foo!",
|
536
|
+
"fieldTypes": [
|
537
|
+
{
|
538
|
+
"type": "Integer"
|
539
|
+
}
|
540
|
+
],
|
541
|
+
"src": "https://example.com/foo/bar",
|
542
|
+
"sidebar": false
|
543
|
+
},
|
544
|
+
"sys": {
|
545
|
+
"id": "foo_0.427107413949659",
|
546
|
+
"type": "Extension",
|
547
|
+
"version": 1,
|
548
|
+
"createdAt": "2017-07-25T12:33:49.644Z",
|
549
|
+
"createdBy": {
|
550
|
+
"sys": {
|
551
|
+
"type": "Link",
|
552
|
+
"linkType": "User",
|
553
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
554
|
+
}
|
555
|
+
},
|
556
|
+
"space": {
|
557
|
+
"sys": {
|
558
|
+
"type": "Link",
|
559
|
+
"linkType": "Space",
|
560
|
+
"id": "arqlnkt58eul"
|
561
|
+
}
|
562
|
+
},
|
563
|
+
"updatedAt": "2017-07-25T12:33:49.644Z",
|
564
|
+
"updatedBy": {
|
565
|
+
"sys": {
|
566
|
+
"type": "Link",
|
567
|
+
"linkType": "User",
|
568
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
569
|
+
}
|
570
|
+
}
|
571
|
+
}
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"extension": {
|
575
|
+
"name": "Random foo!",
|
576
|
+
"fieldTypes": [
|
577
|
+
{
|
578
|
+
"type": "Integer"
|
579
|
+
}
|
580
|
+
],
|
581
|
+
"src": "https://example.com/foo/bar",
|
582
|
+
"sidebar": false
|
583
|
+
},
|
584
|
+
"sys": {
|
585
|
+
"id": "foo_0.44137780408661287",
|
586
|
+
"type": "Extension",
|
587
|
+
"version": 1,
|
588
|
+
"createdAt": "2017-07-25T12:29:59.294Z",
|
589
|
+
"createdBy": {
|
590
|
+
"sys": {
|
591
|
+
"type": "Link",
|
592
|
+
"linkType": "User",
|
593
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
594
|
+
}
|
595
|
+
},
|
596
|
+
"space": {
|
597
|
+
"sys": {
|
598
|
+
"type": "Link",
|
599
|
+
"linkType": "Space",
|
600
|
+
"id": "arqlnkt58eul"
|
601
|
+
}
|
602
|
+
},
|
603
|
+
"updatedAt": "2017-07-25T12:29:59.294Z",
|
604
|
+
"updatedBy": {
|
605
|
+
"sys": {
|
606
|
+
"type": "Link",
|
607
|
+
"linkType": "User",
|
608
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
609
|
+
}
|
610
|
+
}
|
611
|
+
}
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"extension": {
|
615
|
+
"name": "Random foo!",
|
616
|
+
"fieldTypes": [
|
617
|
+
{
|
618
|
+
"type": "Integer"
|
619
|
+
}
|
620
|
+
],
|
621
|
+
"src": "https://example.com/foo/bar",
|
622
|
+
"sidebar": false
|
623
|
+
},
|
624
|
+
"sys": {
|
625
|
+
"id": "foo_0.5469003597427643",
|
626
|
+
"type": "Extension",
|
627
|
+
"version": 1,
|
628
|
+
"createdAt": "2017-07-19T11:30:13.654Z",
|
629
|
+
"createdBy": {
|
630
|
+
"sys": {
|
631
|
+
"type": "Link",
|
632
|
+
"linkType": "User",
|
633
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
634
|
+
}
|
635
|
+
},
|
636
|
+
"space": {
|
637
|
+
"sys": {
|
638
|
+
"type": "Link",
|
639
|
+
"linkType": "Space",
|
640
|
+
"id": "arqlnkt58eul"
|
641
|
+
}
|
642
|
+
},
|
643
|
+
"updatedAt": "2017-07-19T11:30:13.654Z",
|
644
|
+
"updatedBy": {
|
645
|
+
"sys": {
|
646
|
+
"type": "Link",
|
647
|
+
"linkType": "User",
|
648
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
649
|
+
}
|
650
|
+
}
|
651
|
+
}
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"extension": {
|
655
|
+
"name": "Random foo!",
|
656
|
+
"fieldTypes": [
|
657
|
+
{
|
658
|
+
"type": "Integer"
|
659
|
+
}
|
660
|
+
],
|
661
|
+
"src": "https://example.com/foo/bar",
|
662
|
+
"sidebar": false
|
663
|
+
},
|
664
|
+
"sys": {
|
665
|
+
"id": "foo_0.5943340488250936",
|
666
|
+
"type": "Extension",
|
667
|
+
"version": 1,
|
668
|
+
"createdAt": "2017-07-19T11:33:09.597Z",
|
669
|
+
"createdBy": {
|
670
|
+
"sys": {
|
671
|
+
"type": "Link",
|
672
|
+
"linkType": "User",
|
673
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
674
|
+
}
|
675
|
+
},
|
676
|
+
"space": {
|
677
|
+
"sys": {
|
678
|
+
"type": "Link",
|
679
|
+
"linkType": "Space",
|
680
|
+
"id": "arqlnkt58eul"
|
681
|
+
}
|
682
|
+
},
|
683
|
+
"updatedAt": "2017-07-19T11:33:09.597Z",
|
684
|
+
"updatedBy": {
|
685
|
+
"sys": {
|
686
|
+
"type": "Link",
|
687
|
+
"linkType": "User",
|
688
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
689
|
+
}
|
690
|
+
}
|
691
|
+
}
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"extension": {
|
695
|
+
"name": "Random foo!",
|
696
|
+
"fieldTypes": [
|
697
|
+
{
|
698
|
+
"type": "Integer"
|
699
|
+
}
|
700
|
+
],
|
701
|
+
"src": "https://example.com/foo/bar",
|
702
|
+
"sidebar": false
|
703
|
+
},
|
704
|
+
"sys": {
|
705
|
+
"id": "foo_0.6078415126885682",
|
706
|
+
"type": "Extension",
|
707
|
+
"version": 1,
|
708
|
+
"createdAt": "2017-08-25T10:50:22.667Z",
|
709
|
+
"createdBy": {
|
710
|
+
"sys": {
|
711
|
+
"type": "Link",
|
712
|
+
"linkType": "User",
|
713
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
714
|
+
}
|
715
|
+
},
|
716
|
+
"space": {
|
717
|
+
"sys": {
|
718
|
+
"type": "Link",
|
719
|
+
"linkType": "Space",
|
720
|
+
"id": "arqlnkt58eul"
|
721
|
+
}
|
722
|
+
},
|
723
|
+
"updatedAt": "2017-08-25T10:50:22.667Z",
|
724
|
+
"updatedBy": {
|
725
|
+
"sys": {
|
726
|
+
"type": "Link",
|
727
|
+
"linkType": "User",
|
728
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
729
|
+
}
|
730
|
+
}
|
731
|
+
}
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"extension": {
|
735
|
+
"name": "Random foo!",
|
736
|
+
"fieldTypes": [
|
737
|
+
{
|
738
|
+
"type": "Integer"
|
739
|
+
}
|
740
|
+
],
|
741
|
+
"src": "https://example.com/foo/bar",
|
742
|
+
"sidebar": false
|
743
|
+
},
|
744
|
+
"sys": {
|
745
|
+
"id": "foo_0.6467758169364224",
|
746
|
+
"type": "Extension",
|
747
|
+
"version": 1,
|
748
|
+
"createdAt": "2017-07-18T16:33:35.110Z",
|
749
|
+
"createdBy": {
|
750
|
+
"sys": {
|
751
|
+
"type": "Link",
|
752
|
+
"linkType": "User",
|
753
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
754
|
+
}
|
755
|
+
},
|
756
|
+
"space": {
|
757
|
+
"sys": {
|
758
|
+
"type": "Link",
|
759
|
+
"linkType": "Space",
|
760
|
+
"id": "arqlnkt58eul"
|
761
|
+
}
|
762
|
+
},
|
763
|
+
"updatedAt": "2017-07-18T16:33:35.110Z",
|
764
|
+
"updatedBy": {
|
765
|
+
"sys": {
|
766
|
+
"type": "Link",
|
767
|
+
"linkType": "User",
|
768
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
769
|
+
}
|
770
|
+
}
|
771
|
+
}
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"extension": {
|
775
|
+
"name": "Random foo!",
|
776
|
+
"fieldTypes": [
|
777
|
+
{
|
778
|
+
"type": "Integer"
|
779
|
+
}
|
780
|
+
],
|
781
|
+
"src": "https://example.com/foo/bar",
|
782
|
+
"sidebar": false
|
783
|
+
},
|
784
|
+
"sys": {
|
785
|
+
"id": "foo_0.6773174148802604",
|
786
|
+
"type": "Extension",
|
787
|
+
"version": 1,
|
788
|
+
"createdAt": "2017-08-23T13:46:35.093Z",
|
789
|
+
"createdBy": {
|
790
|
+
"sys": {
|
791
|
+
"type": "Link",
|
792
|
+
"linkType": "User",
|
793
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
794
|
+
}
|
795
|
+
},
|
796
|
+
"space": {
|
797
|
+
"sys": {
|
798
|
+
"type": "Link",
|
799
|
+
"linkType": "Space",
|
800
|
+
"id": "arqlnkt58eul"
|
801
|
+
}
|
802
|
+
},
|
803
|
+
"updatedAt": "2017-08-23T13:46:35.093Z",
|
804
|
+
"updatedBy": {
|
805
|
+
"sys": {
|
806
|
+
"type": "Link",
|
807
|
+
"linkType": "User",
|
808
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
809
|
+
}
|
810
|
+
}
|
811
|
+
}
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"extension": {
|
815
|
+
"name": "Random foo!",
|
816
|
+
"fieldTypes": [
|
817
|
+
{
|
818
|
+
"type": "Integer"
|
819
|
+
}
|
820
|
+
],
|
821
|
+
"src": "https://example.com/foo/bar",
|
822
|
+
"sidebar": false
|
823
|
+
},
|
824
|
+
"sys": {
|
825
|
+
"id": "foo_0.729478427364257",
|
826
|
+
"type": "Extension",
|
827
|
+
"version": 1,
|
828
|
+
"createdAt": "2017-07-19T11:42:03.575Z",
|
829
|
+
"createdBy": {
|
830
|
+
"sys": {
|
831
|
+
"type": "Link",
|
832
|
+
"linkType": "User",
|
833
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
834
|
+
}
|
835
|
+
},
|
836
|
+
"space": {
|
837
|
+
"sys": {
|
838
|
+
"type": "Link",
|
839
|
+
"linkType": "Space",
|
840
|
+
"id": "arqlnkt58eul"
|
841
|
+
}
|
842
|
+
},
|
843
|
+
"updatedAt": "2017-07-19T11:42:03.575Z",
|
844
|
+
"updatedBy": {
|
845
|
+
"sys": {
|
846
|
+
"type": "Link",
|
847
|
+
"linkType": "User",
|
848
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
849
|
+
}
|
850
|
+
}
|
851
|
+
}
|
852
|
+
},
|
853
|
+
{
|
854
|
+
"extension": {
|
855
|
+
"name": "Random foo!",
|
856
|
+
"fieldTypes": [
|
857
|
+
{
|
858
|
+
"type": "Integer"
|
859
|
+
}
|
860
|
+
],
|
861
|
+
"src": "https://example.com/foo/bar",
|
862
|
+
"sidebar": false
|
863
|
+
},
|
864
|
+
"sys": {
|
865
|
+
"id": "foo_0.9467214246849242",
|
866
|
+
"type": "Extension",
|
867
|
+
"version": 1,
|
868
|
+
"createdAt": "2017-08-25T12:38:23.336Z",
|
869
|
+
"createdBy": {
|
870
|
+
"sys": {
|
871
|
+
"type": "Link",
|
872
|
+
"linkType": "User",
|
873
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
874
|
+
}
|
875
|
+
},
|
876
|
+
"space": {
|
877
|
+
"sys": {
|
878
|
+
"type": "Link",
|
879
|
+
"linkType": "Space",
|
880
|
+
"id": "arqlnkt58eul"
|
881
|
+
}
|
882
|
+
},
|
883
|
+
"updatedAt": "2017-08-25T12:38:23.337Z",
|
884
|
+
"updatedBy": {
|
885
|
+
"sys": {
|
886
|
+
"type": "Link",
|
887
|
+
"linkType": "User",
|
888
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
889
|
+
}
|
890
|
+
}
|
891
|
+
}
|
892
|
+
},
|
893
|
+
{
|
894
|
+
"extension": {
|
895
|
+
"name": "new named extension",
|
896
|
+
"fieldTypes": [
|
897
|
+
{
|
898
|
+
"type": "Text"
|
899
|
+
}
|
900
|
+
],
|
901
|
+
"src": "http://localhost:3000/",
|
902
|
+
"sidebar": false
|
903
|
+
},
|
904
|
+
"sys": {
|
905
|
+
"id": "hello-world",
|
906
|
+
"type": "Extension",
|
907
|
+
"version": 18,
|
908
|
+
"createdAt": "2017-06-29T09:35:33.707Z",
|
909
|
+
"createdBy": {
|
910
|
+
"sys": {
|
911
|
+
"type": "Link",
|
912
|
+
"linkType": "User",
|
913
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
914
|
+
}
|
915
|
+
},
|
916
|
+
"space": {
|
917
|
+
"sys": {
|
918
|
+
"type": "Link",
|
919
|
+
"linkType": "Space",
|
920
|
+
"id": "arqlnkt58eul"
|
921
|
+
}
|
922
|
+
},
|
923
|
+
"updatedAt": "2017-08-25T12:38:24.365Z",
|
924
|
+
"updatedBy": {
|
925
|
+
"sys": {
|
926
|
+
"type": "Link",
|
927
|
+
"linkType": "User",
|
928
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
929
|
+
}
|
930
|
+
}
|
931
|
+
}
|
932
|
+
},
|
933
|
+
{
|
934
|
+
"extension": {
|
935
|
+
"src": "https://example.com/my",
|
936
|
+
"name": "My awesome extension",
|
937
|
+
"fieldTypes": [
|
938
|
+
{
|
939
|
+
"type": "Symbol"
|
940
|
+
},
|
941
|
+
{
|
942
|
+
"type": "Text"
|
943
|
+
}
|
944
|
+
],
|
945
|
+
"sidebar": false
|
946
|
+
},
|
947
|
+
"sys": {
|
948
|
+
"id": "n0KKahl78cWGay6cEAoeq",
|
949
|
+
"type": "Extension",
|
950
|
+
"version": 1,
|
951
|
+
"createdAt": "2017-06-29T10:05:52.592Z",
|
952
|
+
"createdBy": {
|
953
|
+
"sys": {
|
954
|
+
"type": "Link",
|
955
|
+
"linkType": "User",
|
956
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
957
|
+
}
|
958
|
+
},
|
959
|
+
"space": {
|
960
|
+
"sys": {
|
961
|
+
"type": "Link",
|
962
|
+
"linkType": "Space",
|
963
|
+
"id": "arqlnkt58eul"
|
964
|
+
}
|
965
|
+
},
|
966
|
+
"updatedAt": "2017-06-29T10:05:52.592Z",
|
967
|
+
"updatedBy": {
|
968
|
+
"sys": {
|
969
|
+
"type": "Link",
|
970
|
+
"linkType": "User",
|
971
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
972
|
+
}
|
973
|
+
}
|
974
|
+
}
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"extension": {
|
978
|
+
"src": "https://mariobodemann.github.io/contentful-extensions-3d-model-viewer/index.html",
|
979
|
+
"name": "3D Model Viewer",
|
980
|
+
"fieldTypes": [
|
981
|
+
{
|
982
|
+
"type": "Link",
|
983
|
+
"linkType": "Asset"
|
984
|
+
}
|
985
|
+
]
|
986
|
+
},
|
987
|
+
"sys": {
|
988
|
+
"id": "threed-model-viewer",
|
989
|
+
"type": "Extension",
|
990
|
+
"version": 5,
|
991
|
+
"createdAt": "2016-07-29T10:16:24.730Z",
|
992
|
+
"createdBy": {
|
993
|
+
"sys": {
|
994
|
+
"type": "Link",
|
995
|
+
"linkType": "User",
|
996
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
997
|
+
}
|
998
|
+
},
|
999
|
+
"space": {
|
1000
|
+
"sys": {
|
1001
|
+
"type": "Link",
|
1002
|
+
"linkType": "Space",
|
1003
|
+
"id": "arqlnkt58eul"
|
1004
|
+
}
|
1005
|
+
},
|
1006
|
+
"updatedAt": "2016-07-29T10:19:38.653Z",
|
1007
|
+
"updatedBy": {
|
1008
|
+
"sys": {
|
1009
|
+
"type": "Link",
|
1010
|
+
"linkType": "User",
|
1011
|
+
"id": "7uJNojWP0gbuP7Pplz7Syo"
|
1012
|
+
}
|
1013
|
+
}
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
]
|
1017
|
+
}
|
1018
|
+
http_version:
|
1019
|
+
recorded_at: Tue, 05 Sep 2017 07:46:43 GMT
|
1020
|
+
recorded_with: VCR 3.0.3
|