contentful-management 1.10.0 → 1.10.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 +8 -0
- data/README.md +1 -1
- data/lib/contentful/management/array.rb +1 -0
- data/lib/contentful/management/locale.rb +3 -2
- data/lib/contentful/management/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/asset/143_assets_next_page.yml +1500 -0
- data/spec/fixtures/vcr_cassettes/locale/fallback_code.yml +263 -0
- data/spec/lib/contentful/management/asset_spec.rb +12 -1
- data/spec/lib/contentful/management/locale_spec.rb +12 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 830c89f9c7aca41a9bd49279659cde3fd52749de
|
4
|
+
data.tar.gz: e89598e1ff1ad742b7c127d8662998198937d314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e295c3a89f384e258c7ec87ddbf5c475e990bf0fb703739f94480b4575528a629b8d74c0d75aa6f5a7b6eeec1ede27d250832ad7ad15f04c78ac8503f2fb70a
|
7
|
+
data.tar.gz: 2e75de7fae165a19d26d685dd1b39f7626a8ebf56b6d536350658343467643aed9193afe6354b52f3951bef9ce16bf7d4735724c441c83b63404ddcd98e5ca5c
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
## Master
|
4
4
|
|
5
|
+
## 1.10.1
|
6
|
+
### Fixed
|
7
|
+
* Fixed an error when calling next page on `Contentful::Array` that came from requests without query parameters. [#143](https://github.com/contentful/contentful-management.rb/issues/143)
|
8
|
+
* Fixed an issue with sending `default` on newly created locales.
|
9
|
+
|
10
|
+
### Added
|
11
|
+
* Added option to add a `fallback_code` when creating locales.
|
12
|
+
|
5
13
|
## 1.10.0
|
6
14
|
### Added
|
7
15
|
* Added better error messages for all possible API errors [#95](https://github.com/contentful/contentful-management.rb/issues/95)
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Ruby client for the Contentful Content Management API.
|
5
5
|
|
6
|
-
Contentful
|
6
|
+
[Contentful](https://www.contentful.com) provides a content infrastructure for digital teams to power content in websites, apps, and devices. Unlike a CMS, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship digital products faster.
|
7
7
|
|
8
8
|
## Setup
|
9
9
|
|
@@ -24,6 +24,7 @@ module Contentful
|
|
24
24
|
if request
|
25
25
|
new_skip = (skip || 0) + (limit || DEFAULT_LIMIT)
|
26
26
|
new_request = request.copy
|
27
|
+
new_request.instance_variable_set(:@query, {}) if new_request.query.nil?
|
27
28
|
new_request.query[:skip] = new_skip
|
28
29
|
response = new_request.get
|
29
30
|
ResourceBuilder.new(response, client).run
|
@@ -15,14 +15,15 @@ module Contentful
|
|
15
15
|
property :publish, :boolean
|
16
16
|
property :default, :boolean
|
17
17
|
property :optional, :boolean
|
18
|
+
property :fallbackCode, :string
|
18
19
|
|
19
20
|
# @private
|
20
21
|
def self.create_attributes(_client, attributes)
|
21
22
|
{
|
22
23
|
'name' => attributes.fetch(:name),
|
23
24
|
'code' => attributes.fetch(:code),
|
24
|
-
'
|
25
|
-
'
|
25
|
+
'optional' => attributes.fetch(:optional, false),
|
26
|
+
'fallbackCode' => attributes.fetch(:fallback_code, nil)
|
26
27
|
}
|
27
28
|
end
|
28
29
|
|
@@ -0,0 +1,1500 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/assets
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/1.10.0; 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-Alpha-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
|
+
- facgnwwgj5fe
|
39
|
+
Content-Type:
|
40
|
+
- application/vnd.contentful.management.v1+json
|
41
|
+
Date:
|
42
|
+
- Tue, 06 Feb 2018 10:26:21 GMT
|
43
|
+
Etag:
|
44
|
+
- '"5dc7aaf659b657430a2035d6a72a7484"'
|
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
|
+
- '35949'
|
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
|
+
- 4951dcc151fcd2a3d8b8f9b9d698539d
|
63
|
+
Content-Length:
|
64
|
+
- '32259'
|
65
|
+
Connection:
|
66
|
+
- Close
|
67
|
+
Set-Cookie:
|
68
|
+
- incap_ses_408_673446=wt0iS3doTFHOUMsT4IKpBcyCeVoAAAAAhJu5oBbFmDqZ5hZ1qsiw1A==;
|
69
|
+
path=/; Domain=.contentful.com
|
70
|
+
- nlbi_673446=wcqeKMpjWxLmYXAs6lKYhQAAAADStoipm/NRKjbMlUMKwE4U; path=/; Domain=.contentful.com
|
71
|
+
- visid_incap_673446=kBLqInM4SKm16tt3T62O+syCeVoAAAAAQUIPAAAAAAAoAX7mOuBOtyQh8WLzU2yI;
|
72
|
+
expires=Tue, 05 Feb 2019 16:43:45 GMT; path=/; Domain=.contentful.com
|
73
|
+
X-Iinfo:
|
74
|
+
- 9-89957449-89957455 NNNN CT(86 88 0) RT(1517912779840 57) q(0 0 2 -1) r(9
|
75
|
+
10) U5
|
76
|
+
X-Cdn:
|
77
|
+
- Incapsula
|
78
|
+
body:
|
79
|
+
encoding: ASCII-8BIT
|
80
|
+
string: |
|
81
|
+
{
|
82
|
+
"sys": {
|
83
|
+
"type": "Array"
|
84
|
+
},
|
85
|
+
"total": 29,
|
86
|
+
"skip": 0,
|
87
|
+
"limit": 100,
|
88
|
+
"items": [
|
89
|
+
{
|
90
|
+
"sys": {
|
91
|
+
"space": {
|
92
|
+
"sys": {
|
93
|
+
"type": "Link",
|
94
|
+
"linkType": "Space",
|
95
|
+
"id": "facgnwwgj5fe"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
"id": "2N7PmLm2QoSI8MiI4kyeos",
|
99
|
+
"type": "Asset",
|
100
|
+
"createdAt": "2017-03-10T15:23:06.752Z",
|
101
|
+
"updatedAt": "2017-03-10T15:23:06.760Z",
|
102
|
+
"createdBy": {
|
103
|
+
"sys": {
|
104
|
+
"type": "Link",
|
105
|
+
"linkType": "User",
|
106
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
107
|
+
}
|
108
|
+
},
|
109
|
+
"updatedBy": {
|
110
|
+
"sys": {
|
111
|
+
"type": "Link",
|
112
|
+
"linkType": "User",
|
113
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
114
|
+
}
|
115
|
+
},
|
116
|
+
"version": 1
|
117
|
+
},
|
118
|
+
"fields": {}
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"sys": {
|
122
|
+
"space": {
|
123
|
+
"sys": {
|
124
|
+
"type": "Link",
|
125
|
+
"linkType": "Space",
|
126
|
+
"id": "facgnwwgj5fe"
|
127
|
+
}
|
128
|
+
},
|
129
|
+
"id": "1GupmisymIcWqO2GM6ugao",
|
130
|
+
"type": "Asset",
|
131
|
+
"createdAt": "2017-03-21T19:24:37.921Z",
|
132
|
+
"updatedAt": "2017-03-21T19:24:47.733Z",
|
133
|
+
"createdBy": {
|
134
|
+
"sys": {
|
135
|
+
"type": "Link",
|
136
|
+
"linkType": "User",
|
137
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"updatedBy": {
|
141
|
+
"sys": {
|
142
|
+
"type": "Link",
|
143
|
+
"linkType": "User",
|
144
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
145
|
+
}
|
146
|
+
},
|
147
|
+
"version": 2
|
148
|
+
},
|
149
|
+
"fields": {
|
150
|
+
"title": {
|
151
|
+
"en-US": "readme"
|
152
|
+
},
|
153
|
+
"description": {
|
154
|
+
"en-US": null
|
155
|
+
},
|
156
|
+
"file": {
|
157
|
+
"en-US": {
|
158
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/1GupmisymIcWqO2GM6ugao/495359091b5be197499dd7e976a5c3a5/README.md",
|
159
|
+
"details": {
|
160
|
+
"size": 26
|
161
|
+
},
|
162
|
+
"fileName": "README.md",
|
163
|
+
"contentType": "text/plain"
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"sys": {
|
170
|
+
"space": {
|
171
|
+
"sys": {
|
172
|
+
"type": "Link",
|
173
|
+
"linkType": "Space",
|
174
|
+
"id": "facgnwwgj5fe"
|
175
|
+
}
|
176
|
+
},
|
177
|
+
"id": "3AyKXkNUc8aEOA4u0MyOyI",
|
178
|
+
"type": "Asset",
|
179
|
+
"createdAt": "2017-04-21T11:52:45.809Z",
|
180
|
+
"updatedAt": "2017-04-21T11:52:54.145Z",
|
181
|
+
"createdBy": {
|
182
|
+
"sys": {
|
183
|
+
"type": "Link",
|
184
|
+
"linkType": "User",
|
185
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
186
|
+
}
|
187
|
+
},
|
188
|
+
"updatedBy": {
|
189
|
+
"sys": {
|
190
|
+
"type": "Link",
|
191
|
+
"linkType": "User",
|
192
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"version": 2
|
196
|
+
},
|
197
|
+
"fields": {
|
198
|
+
"title": {
|
199
|
+
"en-US": "readme"
|
200
|
+
},
|
201
|
+
"description": {
|
202
|
+
"en-US": null
|
203
|
+
},
|
204
|
+
"file": {
|
205
|
+
"en-US": {
|
206
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/3AyKXkNUc8aEOA4u0MyOyI/3f165c51458aeed21d6ba59655aecbf5/README.md",
|
207
|
+
"details": {
|
208
|
+
"size": 18747
|
209
|
+
},
|
210
|
+
"fileName": "README.md",
|
211
|
+
"contentType": "text/plain"
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"sys": {
|
218
|
+
"space": {
|
219
|
+
"sys": {
|
220
|
+
"type": "Link",
|
221
|
+
"linkType": "Space",
|
222
|
+
"id": "facgnwwgj5fe"
|
223
|
+
}
|
224
|
+
},
|
225
|
+
"id": "upload_test",
|
226
|
+
"type": "Asset",
|
227
|
+
"createdAt": "2017-03-07T10:11:11.971Z",
|
228
|
+
"updatedAt": "2017-03-07T10:11:11.991Z",
|
229
|
+
"createdBy": {
|
230
|
+
"sys": {
|
231
|
+
"type": "Link",
|
232
|
+
"linkType": "User",
|
233
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"updatedBy": {
|
237
|
+
"sys": {
|
238
|
+
"type": "Link",
|
239
|
+
"linkType": "User",
|
240
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
241
|
+
}
|
242
|
+
},
|
243
|
+
"version": 1
|
244
|
+
},
|
245
|
+
"fields": {
|
246
|
+
"file": {
|
247
|
+
"en-US": {
|
248
|
+
"fileName": "readme",
|
249
|
+
"uploadFrom": {
|
250
|
+
"sys": {
|
251
|
+
"id": "3DFaxFZ7jFBHTa1g27cA7l",
|
252
|
+
"linkType": "Upload"
|
253
|
+
}
|
254
|
+
},
|
255
|
+
"contentType": "application/rst"
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"sys": {
|
262
|
+
"space": {
|
263
|
+
"sys": {
|
264
|
+
"type": "Link",
|
265
|
+
"linkType": "Space",
|
266
|
+
"id": "facgnwwgj5fe"
|
267
|
+
}
|
268
|
+
},
|
269
|
+
"id": "foo",
|
270
|
+
"type": "Asset",
|
271
|
+
"createdAt": "2017-03-02T20:09:31.139Z",
|
272
|
+
"updatedAt": "2017-03-02T20:09:31.155Z",
|
273
|
+
"createdBy": {
|
274
|
+
"sys": {
|
275
|
+
"type": "Link",
|
276
|
+
"linkType": "User",
|
277
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
278
|
+
}
|
279
|
+
},
|
280
|
+
"updatedBy": {
|
281
|
+
"sys": {
|
282
|
+
"type": "Link",
|
283
|
+
"linkType": "User",
|
284
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
285
|
+
}
|
286
|
+
},
|
287
|
+
"version": 1
|
288
|
+
},
|
289
|
+
"fields": {
|
290
|
+
"title": {
|
291
|
+
"en-US": "foo"
|
292
|
+
}
|
293
|
+
}
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"sys": {
|
297
|
+
"space": {
|
298
|
+
"sys": {
|
299
|
+
"type": "Link",
|
300
|
+
"linkType": "Space",
|
301
|
+
"id": "facgnwwgj5fe"
|
302
|
+
}
|
303
|
+
},
|
304
|
+
"id": "3d7PVhU4w8kEWSy0WMCwoC",
|
305
|
+
"type": "Asset",
|
306
|
+
"createdAt": "2017-04-25T14:01:02.079Z",
|
307
|
+
"updatedAt": "2017-04-25T14:01:03.198Z",
|
308
|
+
"createdBy": {
|
309
|
+
"sys": {
|
310
|
+
"type": "Link",
|
311
|
+
"linkType": "User",
|
312
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
313
|
+
}
|
314
|
+
},
|
315
|
+
"updatedBy": {
|
316
|
+
"sys": {
|
317
|
+
"type": "Link",
|
318
|
+
"linkType": "User",
|
319
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
320
|
+
}
|
321
|
+
},
|
322
|
+
"version": 2
|
323
|
+
},
|
324
|
+
"fields": {
|
325
|
+
"title": {
|
326
|
+
"en-US": "pixel"
|
327
|
+
},
|
328
|
+
"description": {
|
329
|
+
"en-US": null
|
330
|
+
},
|
331
|
+
"file": {
|
332
|
+
"en-US": {
|
333
|
+
"url": "//images.contentful.com/facgnwwgj5fe/3d7PVhU4w8kEWSy0WMCwoC/454a143d7c7ab596d0a0f2bccb8c2019/pixel",
|
334
|
+
"details": {
|
335
|
+
"size": 284,
|
336
|
+
"image": {
|
337
|
+
"width": 1,
|
338
|
+
"height": 1
|
339
|
+
}
|
340
|
+
},
|
341
|
+
"fileName": "pixel",
|
342
|
+
"contentType": "image/jpeg"
|
343
|
+
}
|
344
|
+
}
|
345
|
+
}
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"sys": {
|
349
|
+
"space": {
|
350
|
+
"sys": {
|
351
|
+
"type": "Link",
|
352
|
+
"linkType": "Space",
|
353
|
+
"id": "facgnwwgj5fe"
|
354
|
+
}
|
355
|
+
},
|
356
|
+
"id": "1V0FEvBSGEGIWm2OIGssAM",
|
357
|
+
"type": "Asset",
|
358
|
+
"createdAt": "2017-04-21T11:46:25.151Z",
|
359
|
+
"updatedAt": "2017-04-21T11:46:52.635Z",
|
360
|
+
"createdBy": {
|
361
|
+
"sys": {
|
362
|
+
"type": "Link",
|
363
|
+
"linkType": "User",
|
364
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
365
|
+
}
|
366
|
+
},
|
367
|
+
"updatedBy": {
|
368
|
+
"sys": {
|
369
|
+
"type": "Link",
|
370
|
+
"linkType": "User",
|
371
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
372
|
+
}
|
373
|
+
},
|
374
|
+
"version": 2
|
375
|
+
},
|
376
|
+
"fields": {
|
377
|
+
"title": {
|
378
|
+
"en-US": "readme"
|
379
|
+
},
|
380
|
+
"description": {
|
381
|
+
"en-US": null
|
382
|
+
},
|
383
|
+
"file": {
|
384
|
+
"en-US": {
|
385
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/1V0FEvBSGEGIWm2OIGssAM/554883e49d5cb558b0b95368a5aec26f/README.md",
|
386
|
+
"details": {
|
387
|
+
"size": 18747
|
388
|
+
},
|
389
|
+
"fileName": "README.md",
|
390
|
+
"contentType": "text/plain"
|
391
|
+
}
|
392
|
+
}
|
393
|
+
}
|
394
|
+
},
|
395
|
+
{
|
396
|
+
"sys": {
|
397
|
+
"space": {
|
398
|
+
"sys": {
|
399
|
+
"type": "Link",
|
400
|
+
"linkType": "Space",
|
401
|
+
"id": "facgnwwgj5fe"
|
402
|
+
}
|
403
|
+
},
|
404
|
+
"id": "id_asset_create_test",
|
405
|
+
"type": "Asset",
|
406
|
+
"createdAt": "2017-03-10T15:23:06.189Z",
|
407
|
+
"updatedAt": "2017-03-10T15:23:06.196Z",
|
408
|
+
"createdBy": {
|
409
|
+
"sys": {
|
410
|
+
"type": "Link",
|
411
|
+
"linkType": "User",
|
412
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
413
|
+
}
|
414
|
+
},
|
415
|
+
"updatedBy": {
|
416
|
+
"sys": {
|
417
|
+
"type": "Link",
|
418
|
+
"linkType": "User",
|
419
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
420
|
+
}
|
421
|
+
},
|
422
|
+
"version": 1
|
423
|
+
},
|
424
|
+
"fields": {
|
425
|
+
"file": {
|
426
|
+
"en-US": {
|
427
|
+
"upload": "https://i.imgur.com/Zmum6k4.png",
|
428
|
+
"fileName": "foo.png",
|
429
|
+
"contentType": "image/png"
|
430
|
+
}
|
431
|
+
}
|
432
|
+
}
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"sys": {
|
436
|
+
"space": {
|
437
|
+
"sys": {
|
438
|
+
"type": "Link",
|
439
|
+
"linkType": "Space",
|
440
|
+
"id": "facgnwwgj5fe"
|
441
|
+
}
|
442
|
+
},
|
443
|
+
"id": "file5",
|
444
|
+
"type": "Asset",
|
445
|
+
"createdAt": "2017-03-02T20:39:19.163Z",
|
446
|
+
"updatedAt": "2017-03-02T20:39:20.821Z",
|
447
|
+
"createdBy": {
|
448
|
+
"sys": {
|
449
|
+
"type": "Link",
|
450
|
+
"linkType": "User",
|
451
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
452
|
+
}
|
453
|
+
},
|
454
|
+
"updatedBy": {
|
455
|
+
"sys": {
|
456
|
+
"type": "Link",
|
457
|
+
"linkType": "User",
|
458
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
459
|
+
}
|
460
|
+
},
|
461
|
+
"version": 2
|
462
|
+
},
|
463
|
+
"fields": {
|
464
|
+
"title": {
|
465
|
+
"en-US": "file5"
|
466
|
+
},
|
467
|
+
"file": {
|
468
|
+
"en-US": {
|
469
|
+
"url": "//images.contentful.com/facgnwwgj5fe/file5/2d2cecb189580ea58ab6eae17533c7cf/foo.png",
|
470
|
+
"details": {
|
471
|
+
"size": 73481,
|
472
|
+
"image": {
|
473
|
+
"width": 1227,
|
474
|
+
"height": 1988
|
475
|
+
}
|
476
|
+
},
|
477
|
+
"fileName": "foo.png",
|
478
|
+
"contentType": "image/png"
|
479
|
+
}
|
480
|
+
}
|
481
|
+
}
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"sys": {
|
485
|
+
"space": {
|
486
|
+
"sys": {
|
487
|
+
"type": "Link",
|
488
|
+
"linkType": "Space",
|
489
|
+
"id": "facgnwwgj5fe"
|
490
|
+
}
|
491
|
+
},
|
492
|
+
"id": "5DfyNh7tN6goog0SyIcmi2",
|
493
|
+
"type": "Asset",
|
494
|
+
"createdAt": "2017-03-21T19:31:50.722Z",
|
495
|
+
"updatedAt": "2017-03-21T19:31:56.935Z",
|
496
|
+
"createdBy": {
|
497
|
+
"sys": {
|
498
|
+
"type": "Link",
|
499
|
+
"linkType": "User",
|
500
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
501
|
+
}
|
502
|
+
},
|
503
|
+
"updatedBy": {
|
504
|
+
"sys": {
|
505
|
+
"type": "Link",
|
506
|
+
"linkType": "User",
|
507
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
508
|
+
}
|
509
|
+
},
|
510
|
+
"version": 2
|
511
|
+
},
|
512
|
+
"fields": {
|
513
|
+
"title": {
|
514
|
+
"en-US": "readme"
|
515
|
+
},
|
516
|
+
"description": {
|
517
|
+
"en-US": null
|
518
|
+
},
|
519
|
+
"file": {
|
520
|
+
"en-US": {
|
521
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/5DfyNh7tN6goog0SyIcmi2/482206c7ec49b023eaf756fdf842522e/README.md",
|
522
|
+
"details": {
|
523
|
+
"size": 18747
|
524
|
+
},
|
525
|
+
"fileName": "README.md",
|
526
|
+
"contentType": "text/plain"
|
527
|
+
}
|
528
|
+
}
|
529
|
+
}
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"sys": {
|
533
|
+
"space": {
|
534
|
+
"sys": {
|
535
|
+
"type": "Link",
|
536
|
+
"linkType": "Space",
|
537
|
+
"id": "facgnwwgj5fe"
|
538
|
+
}
|
539
|
+
},
|
540
|
+
"id": "file",
|
541
|
+
"type": "Asset",
|
542
|
+
"createdAt": "2017-03-02T20:12:08.991Z",
|
543
|
+
"updatedAt": "2017-03-02T20:14:23.551Z",
|
544
|
+
"createdBy": {
|
545
|
+
"sys": {
|
546
|
+
"type": "Link",
|
547
|
+
"linkType": "User",
|
548
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
549
|
+
}
|
550
|
+
},
|
551
|
+
"updatedBy": {
|
552
|
+
"sys": {
|
553
|
+
"type": "Link",
|
554
|
+
"linkType": "User",
|
555
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
556
|
+
}
|
557
|
+
},
|
558
|
+
"version": 2
|
559
|
+
},
|
560
|
+
"fields": {
|
561
|
+
"title": {
|
562
|
+
"en-US": "file"
|
563
|
+
},
|
564
|
+
"file": {
|
565
|
+
"en-US": {
|
566
|
+
"url": "//images.contentful.com/facgnwwgj5fe/file/f81bc12fbde8a16e800fa3dfd22b5a1a/foo.png",
|
567
|
+
"details": {
|
568
|
+
"size": 73481,
|
569
|
+
"image": {
|
570
|
+
"width": 1227,
|
571
|
+
"height": 1988
|
572
|
+
}
|
573
|
+
},
|
574
|
+
"fileName": "foo.png",
|
575
|
+
"contentType": "image/png"
|
576
|
+
}
|
577
|
+
}
|
578
|
+
}
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"sys": {
|
582
|
+
"space": {
|
583
|
+
"sys": {
|
584
|
+
"type": "Link",
|
585
|
+
"linkType": "Space",
|
586
|
+
"id": "facgnwwgj5fe"
|
587
|
+
}
|
588
|
+
},
|
589
|
+
"id": "4ckNqu4Y6AkaM2uEQSQ6ye",
|
590
|
+
"type": "Asset",
|
591
|
+
"createdAt": "2017-04-21T12:55:31.598Z",
|
592
|
+
"updatedAt": "2017-04-21T12:55:40.103Z",
|
593
|
+
"createdBy": {
|
594
|
+
"sys": {
|
595
|
+
"type": "Link",
|
596
|
+
"linkType": "User",
|
597
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
598
|
+
}
|
599
|
+
},
|
600
|
+
"updatedBy": {
|
601
|
+
"sys": {
|
602
|
+
"type": "Link",
|
603
|
+
"linkType": "User",
|
604
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
605
|
+
}
|
606
|
+
},
|
607
|
+
"version": 2
|
608
|
+
},
|
609
|
+
"fields": {
|
610
|
+
"title": {
|
611
|
+
"en-US": "readme"
|
612
|
+
},
|
613
|
+
"description": {
|
614
|
+
"en-US": null
|
615
|
+
},
|
616
|
+
"file": {
|
617
|
+
"en-US": {
|
618
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/4ckNqu4Y6AkaM2uEQSQ6ye/ae24eb4d4a45cddbe22c47dce0d00b59/README.md",
|
619
|
+
"details": {
|
620
|
+
"size": 17972
|
621
|
+
},
|
622
|
+
"fileName": "README.md",
|
623
|
+
"contentType": "text/plain"
|
624
|
+
}
|
625
|
+
}
|
626
|
+
}
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"sys": {
|
630
|
+
"space": {
|
631
|
+
"sys": {
|
632
|
+
"type": "Link",
|
633
|
+
"linkType": "Space",
|
634
|
+
"id": "facgnwwgj5fe"
|
635
|
+
}
|
636
|
+
},
|
637
|
+
"id": "file7",
|
638
|
+
"type": "Asset",
|
639
|
+
"createdAt": "2017-03-02T21:47:27.429Z",
|
640
|
+
"updatedAt": "2017-03-02T21:49:05.468Z",
|
641
|
+
"createdBy": {
|
642
|
+
"sys": {
|
643
|
+
"type": "Link",
|
644
|
+
"linkType": "User",
|
645
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
646
|
+
}
|
647
|
+
},
|
648
|
+
"updatedBy": {
|
649
|
+
"sys": {
|
650
|
+
"type": "Link",
|
651
|
+
"linkType": "User",
|
652
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
653
|
+
}
|
654
|
+
},
|
655
|
+
"publishedCounter": 1,
|
656
|
+
"version": 3,
|
657
|
+
"publishedBy": {
|
658
|
+
"sys": {
|
659
|
+
"type": "Link",
|
660
|
+
"linkType": "User",
|
661
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
662
|
+
}
|
663
|
+
},
|
664
|
+
"publishedVersion": 2,
|
665
|
+
"firstPublishedAt": "2017-03-02T21:49:05.458Z",
|
666
|
+
"publishedAt": "2017-03-02T21:49:05.458Z"
|
667
|
+
},
|
668
|
+
"fields": {
|
669
|
+
"title": {
|
670
|
+
"en-US": "file7"
|
671
|
+
},
|
672
|
+
"file": {
|
673
|
+
"en-US": {
|
674
|
+
"url": "//images.contentful.com/facgnwwgj5fe/file7/4050a82b3ac85a59d56658e2dd6dfa58/foo.png",
|
675
|
+
"details": {
|
676
|
+
"size": 73481,
|
677
|
+
"image": {
|
678
|
+
"width": 1227,
|
679
|
+
"height": 1988
|
680
|
+
}
|
681
|
+
},
|
682
|
+
"fileName": "foo.png",
|
683
|
+
"contentType": "image/png"
|
684
|
+
}
|
685
|
+
}
|
686
|
+
}
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"sys": {
|
690
|
+
"space": {
|
691
|
+
"sys": {
|
692
|
+
"type": "Link",
|
693
|
+
"linkType": "Space",
|
694
|
+
"id": "facgnwwgj5fe"
|
695
|
+
}
|
696
|
+
},
|
697
|
+
"id": "1u9iURs53uQWIOCqeUQYuO",
|
698
|
+
"type": "Asset",
|
699
|
+
"createdAt": "2017-03-10T15:23:09.069Z",
|
700
|
+
"updatedAt": "2017-03-10T15:23:09.083Z",
|
701
|
+
"createdBy": {
|
702
|
+
"sys": {
|
703
|
+
"type": "Link",
|
704
|
+
"linkType": "User",
|
705
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
706
|
+
}
|
707
|
+
},
|
708
|
+
"updatedBy": {
|
709
|
+
"sys": {
|
710
|
+
"type": "Link",
|
711
|
+
"linkType": "User",
|
712
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
713
|
+
}
|
714
|
+
},
|
715
|
+
"version": 1
|
716
|
+
},
|
717
|
+
"fields": {
|
718
|
+
"file": {
|
719
|
+
"en-US": {
|
720
|
+
"fileName": "Asset Tests",
|
721
|
+
"uploadFrom": {
|
722
|
+
"sys": {
|
723
|
+
"id": "2mFa9dp9ZfHFRQ9dOCGy6d",
|
724
|
+
"type": "Link",
|
725
|
+
"linkType": "Upload"
|
726
|
+
}
|
727
|
+
},
|
728
|
+
"contentType": "application/x-python"
|
729
|
+
}
|
730
|
+
}
|
731
|
+
}
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"sys": {
|
735
|
+
"space": {
|
736
|
+
"sys": {
|
737
|
+
"type": "Link",
|
738
|
+
"linkType": "Space",
|
739
|
+
"id": "facgnwwgj5fe"
|
740
|
+
}
|
741
|
+
},
|
742
|
+
"id": "4S4h0ozlZmICK6EqiIGgMk",
|
743
|
+
"type": "Asset",
|
744
|
+
"createdAt": "2017-04-21T19:28:04.860Z",
|
745
|
+
"updatedAt": "2017-04-21T19:28:04.867Z",
|
746
|
+
"createdBy": {
|
747
|
+
"sys": {
|
748
|
+
"type": "Link",
|
749
|
+
"linkType": "User",
|
750
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
751
|
+
}
|
752
|
+
},
|
753
|
+
"updatedBy": {
|
754
|
+
"sys": {
|
755
|
+
"type": "Link",
|
756
|
+
"linkType": "User",
|
757
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
758
|
+
}
|
759
|
+
},
|
760
|
+
"version": 1
|
761
|
+
},
|
762
|
+
"fields": {
|
763
|
+
"title": {
|
764
|
+
"en-US": "readme"
|
765
|
+
},
|
766
|
+
"description": {
|
767
|
+
"en-US": null
|
768
|
+
},
|
769
|
+
"file": {
|
770
|
+
"en-US": {
|
771
|
+
"fileName": "README.md",
|
772
|
+
"uploadFrom": {
|
773
|
+
"sys": {
|
774
|
+
"id": "s8BDvSV9vpcLaOCaE4VSE",
|
775
|
+
"type": "Link",
|
776
|
+
"linkType": "Upload"
|
777
|
+
}
|
778
|
+
},
|
779
|
+
"contentType": "text/plain"
|
780
|
+
}
|
781
|
+
}
|
782
|
+
}
|
783
|
+
},
|
784
|
+
{
|
785
|
+
"sys": {
|
786
|
+
"space": {
|
787
|
+
"sys": {
|
788
|
+
"type": "Link",
|
789
|
+
"linkType": "Space",
|
790
|
+
"id": "facgnwwgj5fe"
|
791
|
+
}
|
792
|
+
},
|
793
|
+
"id": "30UtYaNTjqmKU0q0iw4C6M",
|
794
|
+
"type": "Asset",
|
795
|
+
"createdAt": "2017-04-21T12:06:25.223Z",
|
796
|
+
"updatedAt": "2017-04-21T12:06:32.043Z",
|
797
|
+
"createdBy": {
|
798
|
+
"sys": {
|
799
|
+
"type": "Link",
|
800
|
+
"linkType": "User",
|
801
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
802
|
+
}
|
803
|
+
},
|
804
|
+
"updatedBy": {
|
805
|
+
"sys": {
|
806
|
+
"type": "Link",
|
807
|
+
"linkType": "User",
|
808
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
809
|
+
}
|
810
|
+
},
|
811
|
+
"version": 2
|
812
|
+
},
|
813
|
+
"fields": {
|
814
|
+
"title": {
|
815
|
+
"en-US": "readme"
|
816
|
+
},
|
817
|
+
"description": {
|
818
|
+
"en-US": null
|
819
|
+
},
|
820
|
+
"file": {
|
821
|
+
"en-US": {
|
822
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/30UtYaNTjqmKU0q0iw4C6M/44a0e542a2ff2217fb218779e156135f/README.md",
|
823
|
+
"details": {
|
824
|
+
"size": 18747
|
825
|
+
},
|
826
|
+
"fileName": "README.md",
|
827
|
+
"contentType": "text/plain"
|
828
|
+
}
|
829
|
+
}
|
830
|
+
}
|
831
|
+
},
|
832
|
+
{
|
833
|
+
"sys": {
|
834
|
+
"space": {
|
835
|
+
"sys": {
|
836
|
+
"type": "Link",
|
837
|
+
"linkType": "Space",
|
838
|
+
"id": "facgnwwgj5fe"
|
839
|
+
}
|
840
|
+
},
|
841
|
+
"id": "55dmsSwKmAww6AoO8Su8u4",
|
842
|
+
"type": "Asset",
|
843
|
+
"createdAt": "2017-03-10T15:17:34.634Z",
|
844
|
+
"updatedAt": "2017-03-10T15:17:34.679Z",
|
845
|
+
"createdBy": {
|
846
|
+
"sys": {
|
847
|
+
"type": "Link",
|
848
|
+
"linkType": "User",
|
849
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
850
|
+
}
|
851
|
+
},
|
852
|
+
"updatedBy": {
|
853
|
+
"sys": {
|
854
|
+
"type": "Link",
|
855
|
+
"linkType": "User",
|
856
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
857
|
+
}
|
858
|
+
},
|
859
|
+
"version": 1
|
860
|
+
},
|
861
|
+
"fields": {
|
862
|
+
"file": {
|
863
|
+
"en-US": {
|
864
|
+
"upload": "https://i.imgur.com/Zmum6k4.png",
|
865
|
+
"fileName": "foo.png",
|
866
|
+
"contentType": "image/png"
|
867
|
+
}
|
868
|
+
}
|
869
|
+
}
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"sys": {
|
873
|
+
"space": {
|
874
|
+
"sys": {
|
875
|
+
"type": "Link",
|
876
|
+
"linkType": "Space",
|
877
|
+
"id": "facgnwwgj5fe"
|
878
|
+
}
|
879
|
+
},
|
880
|
+
"id": "file3",
|
881
|
+
"type": "Asset",
|
882
|
+
"createdAt": "2017-03-02T20:32:06.899Z",
|
883
|
+
"updatedAt": "2017-03-10T15:27:29.883Z",
|
884
|
+
"createdBy": {
|
885
|
+
"sys": {
|
886
|
+
"type": "Link",
|
887
|
+
"linkType": "User",
|
888
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
889
|
+
}
|
890
|
+
},
|
891
|
+
"updatedBy": {
|
892
|
+
"sys": {
|
893
|
+
"type": "Link",
|
894
|
+
"linkType": "User",
|
895
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
896
|
+
}
|
897
|
+
},
|
898
|
+
"publishedCounter": 4,
|
899
|
+
"version": 17,
|
900
|
+
"firstPublishedAt": "2017-03-09T12:03:43.021Z"
|
901
|
+
},
|
902
|
+
"fields": {
|
903
|
+
"title": {
|
904
|
+
"en-US": "file3"
|
905
|
+
},
|
906
|
+
"file": {
|
907
|
+
"en-US": {
|
908
|
+
"url": "//images.contentful.com/facgnwwgj5fe/file3/13dd37f4772a99f3380fd712824795ec/foo.png",
|
909
|
+
"details": {
|
910
|
+
"size": 73481,
|
911
|
+
"image": {
|
912
|
+
"width": 1227,
|
913
|
+
"height": 1988
|
914
|
+
}
|
915
|
+
},
|
916
|
+
"fileName": "demo app image",
|
917
|
+
"contentType": "image/png"
|
918
|
+
}
|
919
|
+
}
|
920
|
+
}
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"sys": {
|
924
|
+
"space": {
|
925
|
+
"sys": {
|
926
|
+
"type": "Link",
|
927
|
+
"linkType": "Space",
|
928
|
+
"id": "facgnwwgj5fe"
|
929
|
+
}
|
930
|
+
},
|
931
|
+
"id": "3bUvnHNBeMygiswOEy2wio",
|
932
|
+
"type": "Asset",
|
933
|
+
"createdAt": "2017-03-10T10:12:22.306Z",
|
934
|
+
"updatedAt": "2017-03-10T10:12:22.311Z",
|
935
|
+
"createdBy": {
|
936
|
+
"sys": {
|
937
|
+
"type": "Link",
|
938
|
+
"linkType": "User",
|
939
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
940
|
+
}
|
941
|
+
},
|
942
|
+
"updatedBy": {
|
943
|
+
"sys": {
|
944
|
+
"type": "Link",
|
945
|
+
"linkType": "User",
|
946
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
947
|
+
}
|
948
|
+
},
|
949
|
+
"version": 1
|
950
|
+
},
|
951
|
+
"fields": {}
|
952
|
+
},
|
953
|
+
{
|
954
|
+
"sys": {
|
955
|
+
"space": {
|
956
|
+
"sys": {
|
957
|
+
"type": "Link",
|
958
|
+
"linkType": "Space",
|
959
|
+
"id": "facgnwwgj5fe"
|
960
|
+
}
|
961
|
+
},
|
962
|
+
"id": "4oGuZRinn2oyGCKmwwCAgo",
|
963
|
+
"type": "Asset",
|
964
|
+
"createdAt": "2017-04-21T19:28:30.212Z",
|
965
|
+
"updatedAt": "2017-04-21T19:28:31.700Z",
|
966
|
+
"createdBy": {
|
967
|
+
"sys": {
|
968
|
+
"type": "Link",
|
969
|
+
"linkType": "User",
|
970
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
971
|
+
}
|
972
|
+
},
|
973
|
+
"updatedBy": {
|
974
|
+
"sys": {
|
975
|
+
"type": "Link",
|
976
|
+
"linkType": "User",
|
977
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
978
|
+
}
|
979
|
+
},
|
980
|
+
"version": 2
|
981
|
+
},
|
982
|
+
"fields": {
|
983
|
+
"title": {
|
984
|
+
"en-US": "readme"
|
985
|
+
},
|
986
|
+
"description": {
|
987
|
+
"en-US": null
|
988
|
+
},
|
989
|
+
"file": {
|
990
|
+
"en-US": {
|
991
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/4oGuZRinn2oyGCKmwwCAgo/cf1f75c39d1e24aa94111d5eb04910ee/README.md",
|
992
|
+
"details": {
|
993
|
+
"size": 17972
|
994
|
+
},
|
995
|
+
"fileName": "README.md",
|
996
|
+
"contentType": "text/plain"
|
997
|
+
}
|
998
|
+
}
|
999
|
+
}
|
1000
|
+
},
|
1001
|
+
{
|
1002
|
+
"sys": {
|
1003
|
+
"space": {
|
1004
|
+
"sys": {
|
1005
|
+
"type": "Link",
|
1006
|
+
"linkType": "Space",
|
1007
|
+
"id": "facgnwwgj5fe"
|
1008
|
+
}
|
1009
|
+
},
|
1010
|
+
"id": "1bw1zhJnlWC80waUKYo6gy",
|
1011
|
+
"type": "Asset",
|
1012
|
+
"createdAt": "2017-03-09T12:28:50.351Z",
|
1013
|
+
"updatedAt": "2017-03-09T12:28:50.362Z",
|
1014
|
+
"createdBy": {
|
1015
|
+
"sys": {
|
1016
|
+
"type": "Link",
|
1017
|
+
"linkType": "User",
|
1018
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1019
|
+
}
|
1020
|
+
},
|
1021
|
+
"updatedBy": {
|
1022
|
+
"sys": {
|
1023
|
+
"type": "Link",
|
1024
|
+
"linkType": "User",
|
1025
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1026
|
+
}
|
1027
|
+
},
|
1028
|
+
"version": 1
|
1029
|
+
},
|
1030
|
+
"fields": {
|
1031
|
+
"file": {
|
1032
|
+
"en-US": {
|
1033
|
+
"fileName": "Asset Tests",
|
1034
|
+
"uploadFrom": {
|
1035
|
+
"sys": {
|
1036
|
+
"id": "1fe2z2e6pyV6GkAwVO0G1U",
|
1037
|
+
"type": "Link",
|
1038
|
+
"linkType": "Upload"
|
1039
|
+
}
|
1040
|
+
},
|
1041
|
+
"contentType": "application/x-python"
|
1042
|
+
}
|
1043
|
+
}
|
1044
|
+
}
|
1045
|
+
},
|
1046
|
+
{
|
1047
|
+
"sys": {
|
1048
|
+
"space": {
|
1049
|
+
"sys": {
|
1050
|
+
"type": "Link",
|
1051
|
+
"linkType": "Space",
|
1052
|
+
"id": "facgnwwgj5fe"
|
1053
|
+
}
|
1054
|
+
},
|
1055
|
+
"id": "id_create_test",
|
1056
|
+
"type": "Asset",
|
1057
|
+
"createdAt": "2017-03-09T12:31:06.377Z",
|
1058
|
+
"updatedAt": "2017-03-09T12:31:06.386Z",
|
1059
|
+
"createdBy": {
|
1060
|
+
"sys": {
|
1061
|
+
"type": "Link",
|
1062
|
+
"linkType": "User",
|
1063
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1064
|
+
}
|
1065
|
+
},
|
1066
|
+
"updatedBy": {
|
1067
|
+
"sys": {
|
1068
|
+
"type": "Link",
|
1069
|
+
"linkType": "User",
|
1070
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1071
|
+
}
|
1072
|
+
},
|
1073
|
+
"version": 1
|
1074
|
+
},
|
1075
|
+
"fields": {
|
1076
|
+
"file": {
|
1077
|
+
"en-US": {
|
1078
|
+
"upload": "https://i.imgur.com/Zmum6k4.png",
|
1079
|
+
"fileName": "foo.png",
|
1080
|
+
"contentType": "image/png"
|
1081
|
+
}
|
1082
|
+
}
|
1083
|
+
}
|
1084
|
+
},
|
1085
|
+
{
|
1086
|
+
"sys": {
|
1087
|
+
"space": {
|
1088
|
+
"sys": {
|
1089
|
+
"type": "Link",
|
1090
|
+
"linkType": "Space",
|
1091
|
+
"id": "facgnwwgj5fe"
|
1092
|
+
}
|
1093
|
+
},
|
1094
|
+
"id": "6RRhz6zOUgg2aaw0iE24Cg",
|
1095
|
+
"type": "Asset",
|
1096
|
+
"createdAt": "2017-03-17T16:11:43.386Z",
|
1097
|
+
"updatedAt": "2017-03-17T16:11:44.205Z",
|
1098
|
+
"createdBy": {
|
1099
|
+
"sys": {
|
1100
|
+
"type": "Link",
|
1101
|
+
"linkType": "User",
|
1102
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1103
|
+
}
|
1104
|
+
},
|
1105
|
+
"updatedBy": {
|
1106
|
+
"sys": {
|
1107
|
+
"type": "Link",
|
1108
|
+
"linkType": "User",
|
1109
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1110
|
+
}
|
1111
|
+
},
|
1112
|
+
"version": 2
|
1113
|
+
},
|
1114
|
+
"fields": {
|
1115
|
+
"file": {
|
1116
|
+
"en-US": {
|
1117
|
+
"url": "//images.contentful.com/facgnwwgj5fe/6RRhz6zOUgg2aaw0iE24Cg/2a2e699996f7538e08106a2f788e6e4a/UPLOAD_ALL_THE_THINGS",
|
1118
|
+
"details": {
|
1119
|
+
"size": 23490,
|
1120
|
+
"image": {
|
1121
|
+
"width": 320,
|
1122
|
+
"height": 240
|
1123
|
+
}
|
1124
|
+
},
|
1125
|
+
"fileName": "UPLOAD ALL THE THINGS",
|
1126
|
+
"contentType": "image/jpeg"
|
1127
|
+
}
|
1128
|
+
}
|
1129
|
+
}
|
1130
|
+
},
|
1131
|
+
{
|
1132
|
+
"sys": {
|
1133
|
+
"space": {
|
1134
|
+
"sys": {
|
1135
|
+
"type": "Link",
|
1136
|
+
"linkType": "Space",
|
1137
|
+
"id": "facgnwwgj5fe"
|
1138
|
+
}
|
1139
|
+
},
|
1140
|
+
"id": "5hmN9L3HpSeMcO6sceCoqO",
|
1141
|
+
"type": "Asset",
|
1142
|
+
"createdAt": "2017-03-02T20:07:04.879Z",
|
1143
|
+
"updatedAt": "2017-03-02T20:07:04.895Z",
|
1144
|
+
"createdBy": {
|
1145
|
+
"sys": {
|
1146
|
+
"type": "Link",
|
1147
|
+
"linkType": "User",
|
1148
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1149
|
+
}
|
1150
|
+
},
|
1151
|
+
"updatedBy": {
|
1152
|
+
"sys": {
|
1153
|
+
"type": "Link",
|
1154
|
+
"linkType": "User",
|
1155
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1156
|
+
}
|
1157
|
+
},
|
1158
|
+
"version": 1
|
1159
|
+
},
|
1160
|
+
"fields": {
|
1161
|
+
"title": {
|
1162
|
+
"en-US": "foobar"
|
1163
|
+
}
|
1164
|
+
}
|
1165
|
+
},
|
1166
|
+
{
|
1167
|
+
"sys": {
|
1168
|
+
"space": {
|
1169
|
+
"sys": {
|
1170
|
+
"type": "Link",
|
1171
|
+
"linkType": "Space",
|
1172
|
+
"id": "facgnwwgj5fe"
|
1173
|
+
}
|
1174
|
+
},
|
1175
|
+
"id": "5pRAvmOy5i4ICkASqwSiUK",
|
1176
|
+
"type": "Asset",
|
1177
|
+
"createdAt": "2017-03-21T20:06:07.775Z",
|
1178
|
+
"updatedAt": "2017-03-21T20:06:11.974Z",
|
1179
|
+
"createdBy": {
|
1180
|
+
"sys": {
|
1181
|
+
"type": "Link",
|
1182
|
+
"linkType": "User",
|
1183
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1184
|
+
}
|
1185
|
+
},
|
1186
|
+
"updatedBy": {
|
1187
|
+
"sys": {
|
1188
|
+
"type": "Link",
|
1189
|
+
"linkType": "User",
|
1190
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1191
|
+
}
|
1192
|
+
},
|
1193
|
+
"version": 2
|
1194
|
+
},
|
1195
|
+
"fields": {
|
1196
|
+
"title": {
|
1197
|
+
"en-US": "readme"
|
1198
|
+
},
|
1199
|
+
"description": {
|
1200
|
+
"en-US": null
|
1201
|
+
},
|
1202
|
+
"file": {
|
1203
|
+
"en-US": {
|
1204
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/5pRAvmOy5i4ICkASqwSiUK/6cb026f4ba764a176a6c3d5e7d911de0/README.md",
|
1205
|
+
"details": {
|
1206
|
+
"size": 18747
|
1207
|
+
},
|
1208
|
+
"fileName": "README.md",
|
1209
|
+
"contentType": "text/plain"
|
1210
|
+
}
|
1211
|
+
}
|
1212
|
+
}
|
1213
|
+
},
|
1214
|
+
{
|
1215
|
+
"sys": {
|
1216
|
+
"space": {
|
1217
|
+
"sys": {
|
1218
|
+
"type": "Link",
|
1219
|
+
"linkType": "Space",
|
1220
|
+
"id": "facgnwwgj5fe"
|
1221
|
+
}
|
1222
|
+
},
|
1223
|
+
"id": "6xdU5bchry22wqQIewmmG6",
|
1224
|
+
"type": "Asset",
|
1225
|
+
"createdAt": "2017-03-10T15:21:52.389Z",
|
1226
|
+
"updatedAt": "2017-03-10T15:21:52.396Z",
|
1227
|
+
"createdBy": {
|
1228
|
+
"sys": {
|
1229
|
+
"type": "Link",
|
1230
|
+
"linkType": "User",
|
1231
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1232
|
+
}
|
1233
|
+
},
|
1234
|
+
"updatedBy": {
|
1235
|
+
"sys": {
|
1236
|
+
"type": "Link",
|
1237
|
+
"linkType": "User",
|
1238
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1239
|
+
}
|
1240
|
+
},
|
1241
|
+
"version": 1
|
1242
|
+
},
|
1243
|
+
"fields": {
|
1244
|
+
"file": {
|
1245
|
+
"en-US": {
|
1246
|
+
"upload": "https://i.imgur.com/Zmum6k4.png",
|
1247
|
+
"fileName": "foo.png",
|
1248
|
+
"contentType": "image/png"
|
1249
|
+
}
|
1250
|
+
}
|
1251
|
+
}
|
1252
|
+
},
|
1253
|
+
{
|
1254
|
+
"sys": {
|
1255
|
+
"space": {
|
1256
|
+
"sys": {
|
1257
|
+
"type": "Link",
|
1258
|
+
"linkType": "Space",
|
1259
|
+
"id": "facgnwwgj5fe"
|
1260
|
+
}
|
1261
|
+
},
|
1262
|
+
"id": "file2",
|
1263
|
+
"type": "Asset",
|
1264
|
+
"createdAt": "2017-03-02T20:28:31.512Z",
|
1265
|
+
"updatedAt": "2017-03-02T20:31:02.279Z",
|
1266
|
+
"createdBy": {
|
1267
|
+
"sys": {
|
1268
|
+
"type": "Link",
|
1269
|
+
"linkType": "User",
|
1270
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1271
|
+
}
|
1272
|
+
},
|
1273
|
+
"updatedBy": {
|
1274
|
+
"sys": {
|
1275
|
+
"type": "Link",
|
1276
|
+
"linkType": "User",
|
1277
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1278
|
+
}
|
1279
|
+
},
|
1280
|
+
"version": 2
|
1281
|
+
},
|
1282
|
+
"fields": {
|
1283
|
+
"title": {
|
1284
|
+
"en-US": "file"
|
1285
|
+
},
|
1286
|
+
"file": {
|
1287
|
+
"en-US": {
|
1288
|
+
"url": "//images.contentful.com/facgnwwgj5fe/file2/ab0d19f2ee623cb57e718b630b037fdc/foo.png",
|
1289
|
+
"details": {
|
1290
|
+
"size": 73481,
|
1291
|
+
"image": {
|
1292
|
+
"width": 1227,
|
1293
|
+
"height": 1988
|
1294
|
+
}
|
1295
|
+
},
|
1296
|
+
"fileName": "foo.png",
|
1297
|
+
"contentType": "image/png"
|
1298
|
+
}
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
},
|
1302
|
+
{
|
1303
|
+
"sys": {
|
1304
|
+
"space": {
|
1305
|
+
"sys": {
|
1306
|
+
"type": "Link",
|
1307
|
+
"linkType": "Space",
|
1308
|
+
"id": "facgnwwgj5fe"
|
1309
|
+
}
|
1310
|
+
},
|
1311
|
+
"id": "13eDi35CSWqAuCQ2ysOA6G",
|
1312
|
+
"type": "Asset",
|
1313
|
+
"createdAt": "2017-03-10T15:17:33.874Z",
|
1314
|
+
"updatedAt": "2017-03-10T15:17:33.902Z",
|
1315
|
+
"createdBy": {
|
1316
|
+
"sys": {
|
1317
|
+
"type": "Link",
|
1318
|
+
"linkType": "User",
|
1319
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1320
|
+
}
|
1321
|
+
},
|
1322
|
+
"updatedBy": {
|
1323
|
+
"sys": {
|
1324
|
+
"type": "Link",
|
1325
|
+
"linkType": "User",
|
1326
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1327
|
+
}
|
1328
|
+
},
|
1329
|
+
"version": 1
|
1330
|
+
},
|
1331
|
+
"fields": {
|
1332
|
+
"file": {
|
1333
|
+
"en-US": {
|
1334
|
+
"fileName": "Asset Tests",
|
1335
|
+
"uploadFrom": {
|
1336
|
+
"sys": {
|
1337
|
+
"id": "2gbsOqVjUytkRYxFGfIV2J",
|
1338
|
+
"type": "Link",
|
1339
|
+
"linkType": "Upload"
|
1340
|
+
}
|
1341
|
+
},
|
1342
|
+
"contentType": "application/x-python"
|
1343
|
+
}
|
1344
|
+
}
|
1345
|
+
}
|
1346
|
+
},
|
1347
|
+
{
|
1348
|
+
"sys": {
|
1349
|
+
"space": {
|
1350
|
+
"sys": {
|
1351
|
+
"type": "Link",
|
1352
|
+
"linkType": "Space",
|
1353
|
+
"id": "facgnwwgj5fe"
|
1354
|
+
}
|
1355
|
+
},
|
1356
|
+
"id": "upload_test2",
|
1357
|
+
"type": "Asset",
|
1358
|
+
"createdAt": "2017-03-07T10:13:17.950Z",
|
1359
|
+
"updatedAt": "2017-03-07T10:13:37.142Z",
|
1360
|
+
"createdBy": {
|
1361
|
+
"sys": {
|
1362
|
+
"type": "Link",
|
1363
|
+
"linkType": "User",
|
1364
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1365
|
+
}
|
1366
|
+
},
|
1367
|
+
"updatedBy": {
|
1368
|
+
"sys": {
|
1369
|
+
"type": "Link",
|
1370
|
+
"linkType": "User",
|
1371
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1372
|
+
}
|
1373
|
+
},
|
1374
|
+
"publishedCounter": 1,
|
1375
|
+
"version": 3,
|
1376
|
+
"publishedBy": {
|
1377
|
+
"sys": {
|
1378
|
+
"type": "Link",
|
1379
|
+
"linkType": "User",
|
1380
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
1381
|
+
}
|
1382
|
+
},
|
1383
|
+
"publishedVersion": 2,
|
1384
|
+
"firstPublishedAt": "2017-03-07T10:13:37.128Z",
|
1385
|
+
"publishedAt": "2017-03-07T10:13:37.128Z"
|
1386
|
+
},
|
1387
|
+
"fields": {
|
1388
|
+
"file": {
|
1389
|
+
"en-US": {
|
1390
|
+
"url": "//assets.contentful.com/facgnwwgj5fe/upload_test2/028006bc6daace8c9f872c835762583d/readme",
|
1391
|
+
"details": {
|
1392
|
+
"size": 1631
|
1393
|
+
},
|
1394
|
+
"fileName": "readme",
|
1395
|
+
"uploadFrom": {
|
1396
|
+
"sys": {
|
1397
|
+
"id": "3DFaxFZ7jFBHTa1g27cA7l",
|
1398
|
+
"type": "Link",
|
1399
|
+
"linkType": "Upload"
|
1400
|
+
}
|
1401
|
+
},
|
1402
|
+
"contentType": "application/rst"
|
1403
|
+
}
|
1404
|
+
}
|
1405
|
+
}
|
1406
|
+
}
|
1407
|
+
]
|
1408
|
+
}
|
1409
|
+
http_version:
|
1410
|
+
recorded_at: Tue, 06 Feb 2018 10:26:21 GMT
|
1411
|
+
- request:
|
1412
|
+
method: get
|
1413
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/assets?skip=100
|
1414
|
+
body:
|
1415
|
+
encoding: US-ASCII
|
1416
|
+
string: ''
|
1417
|
+
headers:
|
1418
|
+
X-Contentful-User-Agent:
|
1419
|
+
- sdk contentful-management.rb/1.10.0; platform ruby/2.4.1; os macOS/16;
|
1420
|
+
Authorization:
|
1421
|
+
- Bearer <ACCESS_TOKEN>
|
1422
|
+
Content-Type:
|
1423
|
+
- application/vnd.contentful.management.v1+json
|
1424
|
+
Connection:
|
1425
|
+
- close
|
1426
|
+
Host:
|
1427
|
+
- api.contentful.com
|
1428
|
+
User-Agent:
|
1429
|
+
- http.rb/2.2.2
|
1430
|
+
response:
|
1431
|
+
status:
|
1432
|
+
code: 200
|
1433
|
+
message: OK
|
1434
|
+
headers:
|
1435
|
+
Access-Control-Allow-Headers:
|
1436
|
+
- 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
|
1437
|
+
Access-Control-Allow-Methods:
|
1438
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
1439
|
+
Access-Control-Allow-Origin:
|
1440
|
+
- "*"
|
1441
|
+
Access-Control-Expose-Headers:
|
1442
|
+
- Etag
|
1443
|
+
Access-Control-Max-Age:
|
1444
|
+
- '1728000'
|
1445
|
+
Cf-Space-Id:
|
1446
|
+
- facgnwwgj5fe
|
1447
|
+
Content-Type:
|
1448
|
+
- application/vnd.contentful.management.v1+json
|
1449
|
+
Date:
|
1450
|
+
- Tue, 06 Feb 2018 10:26:22 GMT
|
1451
|
+
Etag:
|
1452
|
+
- '"fa4d447770a60483814c6a6d4eb4c0c0"'
|
1453
|
+
Server:
|
1454
|
+
- Contentful
|
1455
|
+
Strict-Transport-Security:
|
1456
|
+
- max-age=15768000
|
1457
|
+
X-Content-Type-Options:
|
1458
|
+
- nosniff
|
1459
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
1460
|
+
- '36000'
|
1461
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
1462
|
+
- '35948'
|
1463
|
+
X-Contentful-Ratelimit-Reset:
|
1464
|
+
- '0'
|
1465
|
+
X-Contentful-Ratelimit-Second-Limit:
|
1466
|
+
- '10'
|
1467
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
1468
|
+
- '9'
|
1469
|
+
X-Contentful-Request-Id:
|
1470
|
+
- 6ee9aea84098bc48bf55f0696959600d
|
1471
|
+
Content-Length:
|
1472
|
+
- '99'
|
1473
|
+
Connection:
|
1474
|
+
- Close
|
1475
|
+
Set-Cookie:
|
1476
|
+
- incap_ses_408_673446=q41Qdz4TRE+NUcsT4IKpBc2CeVoAAAAAMG7zMt5C6oNShZ/pw9NCng==;
|
1477
|
+
path=/; Domain=.contentful.com
|
1478
|
+
- nlbi_673446=p+TmRiCIdHHZuItu6lKYhQAAAACTDpGGrN7Nz5+6kmgPuCqc; path=/; Domain=.contentful.com
|
1479
|
+
- visid_incap_673446=o+31IrqCTUeDr3gW2JseAM2CeVoAAAAAQUIPAAAAAAAUYW27NvR58YV+6jwZYv/d;
|
1480
|
+
expires=Tue, 05 Feb 2019 16:43:45 GMT; path=/; Domain=.contentful.com
|
1481
|
+
X-Iinfo:
|
1482
|
+
- 5-56508689-56508692 NNNN CT(88 92 0) RT(1517912780953 34) q(0 0 2 -1) r(10
|
1483
|
+
10) U5
|
1484
|
+
X-Cdn:
|
1485
|
+
- Incapsula
|
1486
|
+
body:
|
1487
|
+
encoding: ASCII-8BIT
|
1488
|
+
string: |
|
1489
|
+
{
|
1490
|
+
"sys": {
|
1491
|
+
"type": "Array"
|
1492
|
+
},
|
1493
|
+
"total": 0,
|
1494
|
+
"skip": 100,
|
1495
|
+
"limit": 100,
|
1496
|
+
"items": []
|
1497
|
+
}
|
1498
|
+
http_version:
|
1499
|
+
recorded_at: Tue, 06 Feb 2018 10:26:22 GMT
|
1500
|
+
recorded_with: VCR 3.0.3
|