contentful-management 0.9.0 → 1.0.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/.rubocop_todo.yml +2 -2
- data/CHANGELOG.md +27 -3
- data/README.md +34 -7
- data/lib/contentful/management/api_key.rb +4 -43
- data/lib/contentful/management/array.rb +1 -2
- data/lib/contentful/management/asset.rb +29 -191
- data/lib/contentful/management/client.rb +96 -7
- data/lib/contentful/management/client_api_key_methods_factory.rb +15 -0
- data/lib/contentful/management/client_asset_methods_factory.rb +13 -0
- data/lib/contentful/management/client_association_all_published_method_factory.rb +21 -0
- data/lib/contentful/management/client_association_methods_factory.rb +54 -0
- data/lib/contentful/management/client_content_type_methods_factory.rb +13 -0
- data/lib/contentful/management/client_entry_methods_factory.rb +21 -0
- data/lib/contentful/management/client_locale_methods_factory.rb +15 -0
- data/lib/contentful/management/client_space_methods_factory.rb +58 -0
- data/lib/contentful/management/client_webhook_methods_factory.rb +15 -0
- data/lib/contentful/management/content_type.rb +30 -151
- data/lib/contentful/management/content_type_entry_methods_factory.rb +9 -3
- data/lib/contentful/management/dynamic_entry.rb +20 -39
- data/lib/contentful/management/entry.rb +47 -182
- data/lib/contentful/management/http_client.rb +41 -8
- data/lib/contentful/management/locale.rb +7 -76
- data/lib/contentful/management/request.rb +3 -3
- data/lib/contentful/management/resource.rb +105 -7
- data/lib/contentful/management/resource/all_published.rb +24 -0
- data/lib/contentful/management/resource/archiver.rb +37 -0
- data/lib/contentful/management/resource/field_aware.rb +49 -29
- data/lib/contentful/management/resource/publisher.rb +37 -0
- data/lib/contentful/management/resource/refresher.rb +1 -1
- data/lib/contentful/management/resource_builder.rb +8 -4
- data/lib/contentful/management/resource_requester.rb +96 -0
- data/lib/contentful/management/space.rb +40 -43
- data/lib/contentful/management/space_association_all_published_method_factory.rb +1 -1
- data/lib/contentful/management/space_association_methods_factory.rb +6 -3
- data/lib/contentful/management/space_entry_methods_factory.rb +1 -1
- data/lib/contentful/management/version.rb +1 -1
- data/lib/contentful/management/webhook.rb +9 -82
- data/spec/fixtures/vcr_cassettes/asset/create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/create_with_locale.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/process.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/publish_after_create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Array_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Boolean_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Date_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Integer_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Link_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Location_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Number_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Object_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Symbol_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Text_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/entry/create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_only_with_localized_fields.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_to_single_locale_only_with_localized_fields.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_with_camel_case_id_to_multiple_locales.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_with_entries.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_with_entries_for_multiple_locales.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_with_multiple_locales.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/fields/create_array_types.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/save_new.yml +1 -1
- data/spec/fixtures/vcr_cassettes/delete_request.yml +38 -0
- data/spec/fixtures/vcr_cassettes/entry/create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create_with_asset.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create_with_assets.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create_with_entries.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create_with_entry.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create_with_just_id.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create_with_location.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create_with_specified_locale.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create_with_symbols.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/too_many_requests.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/update_bool_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/post_request.yml +64 -0
- data/spec/fixtures/vcr_cassettes/proxy_request.yml +562 -0
- data/spec/fixtures/vcr_cassettes/put_request.yml +40 -0
- data/spec/fixtures/vcr_cassettes/space/asset/create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/space/asset/create_with_multiple_locales.yml +1 -1
- data/spec/fixtures/vcr_cassettes/space/content_type/create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/space/create_with_client_default_locale.yml +197 -36
- data/spec/fixtures/vcr_cassettes/space/webhook/create.yml +1 -1
- data/spec/lib/contentful/management/api_key_spec.rb +7 -1
- data/spec/lib/contentful/management/array_spec.rb +1 -1
- data/spec/lib/contentful/management/asset_spec.rb +52 -32
- data/spec/lib/contentful/management/client_spec.rb +38 -0
- data/spec/lib/contentful/management/content_type_spec.rb +37 -22
- data/spec/lib/contentful/management/entry_spec.rb +68 -57
- data/spec/lib/contentful/management/locale_spec.rb +7 -1
- data/spec/lib/contentful/management/space_spec.rb +9 -3
- data/spec/lib/contentful/management/webhook_spec.rb +11 -5
- metadata +23 -2
@@ -0,0 +1,562 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/zh42n1tmsaiq
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- RubyContentfulManagementGem/0.9.0
|
12
|
+
Authorization:
|
13
|
+
- Bearer <ACCESS_TOKEN>
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.management.v1+json
|
16
|
+
Content-Length:
|
17
|
+
- '0'
|
18
|
+
Connection:
|
19
|
+
- close
|
20
|
+
Host:
|
21
|
+
- api.contentful.com
|
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
|
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
|
+
Content-Type:
|
42
|
+
- application/vnd.contentful.management.v1+json
|
43
|
+
Date:
|
44
|
+
- Fri, 11 Mar 2016 10:19:17 GMT
|
45
|
+
Etag:
|
46
|
+
- '"a1b95f8ce7ecfa1e9ea68e91314f3d64"'
|
47
|
+
Server:
|
48
|
+
- nginx
|
49
|
+
Status:
|
50
|
+
- 200 OK
|
51
|
+
Strict-Transport-Security:
|
52
|
+
- max-age=15768000
|
53
|
+
X-Content-Type-Options:
|
54
|
+
- nosniff
|
55
|
+
X-Contentful-Request-Id:
|
56
|
+
- 9e1-1083866496
|
57
|
+
Content-Length:
|
58
|
+
- '454'
|
59
|
+
Set-Cookie:
|
60
|
+
- "___utmvaaBuVKoi=Kul\x01xFOI; path=/; Max-Age=900"
|
61
|
+
- '___utmvbaBuVKoi=VZl XiAONalY: TtT; path=/; Max-Age=900'
|
62
|
+
- ___utmvmaBuVKoi=CXfYuXPRiny; path=/; Max-Age=900
|
63
|
+
- incap_ses_47_673446=Km4XE64jbF6fgZyjwvqmAKSb4lYAAAAA3dIh2277tVIDB94+TTPsMw==;
|
64
|
+
path=/; Domain=.contentful.com
|
65
|
+
- nlbi_673446=76Y4POh8OmNISfm1lMJDTwAAAADPYYAk+kme2PfXppi5nkfm; path=/; Domain=.contentful.com
|
66
|
+
- visid_incap_673446=oDXW1PG4Ro+q7gciqSHHQKSb4lYAAAAAQUIPAAAAAAB3yklF1qouTCfIj5K/Hp3R;
|
67
|
+
expires=Fri, 10 Mar 2017 17:04:23 GMT; path=/; Domain=.contentful.com
|
68
|
+
X-Iinfo:
|
69
|
+
- 9-6030105-6030121 NNNY CT(76 159 0) RT(1457691555868 92) q(0 0 2 -1) r(4 4)
|
70
|
+
U5
|
71
|
+
X-Cdn:
|
72
|
+
- Incapsula
|
73
|
+
Connection:
|
74
|
+
- Close
|
75
|
+
body:
|
76
|
+
encoding: UTF-8
|
77
|
+
string: |+
|
78
|
+
{
|
79
|
+
"name":"MinecraftVR",
|
80
|
+
"sys":{
|
81
|
+
"type":"Space",
|
82
|
+
"id":"zh42n1tmsaiq",
|
83
|
+
"version":1,
|
84
|
+
"createdBy":{
|
85
|
+
"sys":{
|
86
|
+
"type":"Link",
|
87
|
+
"linkType":"User",
|
88
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"createdAt":"2016-03-09T09:19:37Z",
|
92
|
+
"updatedBy":{
|
93
|
+
"sys":{
|
94
|
+
"type":"Link",
|
95
|
+
"linkType":"User",
|
96
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
97
|
+
}
|
98
|
+
},
|
99
|
+
"updatedAt":"2016-03-09T09:19:37Z"
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
http_version:
|
104
|
+
recorded_at: Fri, 11 Mar 2016 10:19:17 GMT
|
105
|
+
- request:
|
106
|
+
method: get
|
107
|
+
uri: https://api.contentful.com/spaces/zh42n1tmsaiq/content_types
|
108
|
+
body:
|
109
|
+
encoding: US-ASCII
|
110
|
+
string: ''
|
111
|
+
headers:
|
112
|
+
User-Agent:
|
113
|
+
- RubyContentfulManagementGem/0.9.0
|
114
|
+
Authorization:
|
115
|
+
- Bearer <ACCESS_TOKEN>
|
116
|
+
Content-Type:
|
117
|
+
- application/vnd.contentful.management.v1+json
|
118
|
+
Content-Length:
|
119
|
+
- '0'
|
120
|
+
Connection:
|
121
|
+
- close
|
122
|
+
Host:
|
123
|
+
- api.contentful.com
|
124
|
+
response:
|
125
|
+
status:
|
126
|
+
code: 200
|
127
|
+
message: OK
|
128
|
+
headers:
|
129
|
+
Access-Control-Allow-Headers:
|
130
|
+
- 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
|
131
|
+
Access-Control-Allow-Methods:
|
132
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
133
|
+
Access-Control-Allow-Origin:
|
134
|
+
- "*"
|
135
|
+
Access-Control-Expose-Headers:
|
136
|
+
- Etag
|
137
|
+
Access-Control-Max-Age:
|
138
|
+
- '1728000'
|
139
|
+
Cf-Space-Id:
|
140
|
+
- zh42n1tmsaiq
|
141
|
+
Content-Type:
|
142
|
+
- application/vnd.contentful.management.v1+json
|
143
|
+
Date:
|
144
|
+
- Fri, 11 Mar 2016 10:19:19 GMT
|
145
|
+
Etag:
|
146
|
+
- '"de4b4e14eb9bd1df5aac007985566f62"'
|
147
|
+
Server:
|
148
|
+
- nginx
|
149
|
+
Strict-Transport-Security:
|
150
|
+
- max-age=15768000
|
151
|
+
X-Content-Type-Options:
|
152
|
+
- nosniff
|
153
|
+
X-Contentful-Request-Id:
|
154
|
+
- content-api:4OoOTq6r0sEamecCyWSSUU
|
155
|
+
X-Powered-By:
|
156
|
+
- Express
|
157
|
+
Content-Length:
|
158
|
+
- '9270'
|
159
|
+
Set-Cookie:
|
160
|
+
- "___utmvaaBuVKoi=ftf\x01DKRm; path=/; Max-Age=900"
|
161
|
+
- '___utmvbaBuVKoi=eZr XerOSalt: XtW; path=/; Max-Age=900'
|
162
|
+
- ___utmvmaBuVKoi=DEeDgdjhuZs; path=/; Max-Age=900
|
163
|
+
- incap_ses_47_673446=RpivINXH+xoUg5yjwvqmAKab4lYAAAAAnQF7rFJ721z75yTr8DdDBw==;
|
164
|
+
path=/; Domain=.contentful.com
|
165
|
+
- nlbi_673446=iPwjVw7B/VuWPacMlMJDTwAAAAC02HLhMzF0Pp/X6G6oZOMi; path=/; Domain=.contentful.com
|
166
|
+
- visid_incap_673446=5esdq38CRuGYq+jLeNnekKab4lYAAAAAQUIPAAAAAADDTrCaQZdFMpq2uomf0WuQ;
|
167
|
+
expires=Fri, 10 Mar 2017 17:04:23 GMT; path=/; Domain=.contentful.com
|
168
|
+
X-Iinfo:
|
169
|
+
- 10-8052876-8052904 NNNY CT(72 73 0) RT(1457691557361 90) q(0 0 1 -1) r(10
|
170
|
+
10) U5
|
171
|
+
X-Cdn:
|
172
|
+
- Incapsula
|
173
|
+
Connection:
|
174
|
+
- Close
|
175
|
+
body:
|
176
|
+
encoding: UTF-8
|
177
|
+
string: |
|
178
|
+
{
|
179
|
+
"sys": {
|
180
|
+
"type": "Array"
|
181
|
+
},
|
182
|
+
"total": 4,
|
183
|
+
"skip": 0,
|
184
|
+
"limit": 100,
|
185
|
+
"items": [
|
186
|
+
{
|
187
|
+
"sys": {
|
188
|
+
"space": {
|
189
|
+
"sys": {
|
190
|
+
"type": "Link",
|
191
|
+
"linkType": "Space",
|
192
|
+
"id": "zh42n1tmsaiq"
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"id": "block",
|
196
|
+
"type": "ContentType",
|
197
|
+
"createdAt": "2016-03-09T09:19:40.799Z",
|
198
|
+
"updatedAt": "2016-03-09T09:39:09.209Z",
|
199
|
+
"createdBy": {
|
200
|
+
"sys": {
|
201
|
+
"type": "Link",
|
202
|
+
"linkType": "User",
|
203
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
204
|
+
}
|
205
|
+
},
|
206
|
+
"updatedBy": {
|
207
|
+
"sys": {
|
208
|
+
"type": "Link",
|
209
|
+
"linkType": "User",
|
210
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
211
|
+
}
|
212
|
+
},
|
213
|
+
"publishedCounter": 2,
|
214
|
+
"version": 4,
|
215
|
+
"publishedBy": {
|
216
|
+
"sys": {
|
217
|
+
"type": "Link",
|
218
|
+
"linkType": "User",
|
219
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
220
|
+
}
|
221
|
+
},
|
222
|
+
"publishedVersion": 3,
|
223
|
+
"firstPublishedAt": "2016-03-09T09:19:42.102Z",
|
224
|
+
"publishedAt": "2016-03-09T09:39:09.185Z"
|
225
|
+
},
|
226
|
+
"displayField": "name",
|
227
|
+
"name": "Block",
|
228
|
+
"description": null,
|
229
|
+
"fields": [
|
230
|
+
{
|
231
|
+
"id": "name",
|
232
|
+
"name": "Name",
|
233
|
+
"type": "Symbol",
|
234
|
+
"localized": false,
|
235
|
+
"required": false,
|
236
|
+
"validations": [],
|
237
|
+
"disabled": false
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"id": "x",
|
241
|
+
"name": "X",
|
242
|
+
"type": "Number",
|
243
|
+
"localized": false,
|
244
|
+
"required": false,
|
245
|
+
"validations": [],
|
246
|
+
"disabled": false
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"id": "y",
|
250
|
+
"name": "Y",
|
251
|
+
"type": "Number",
|
252
|
+
"localized": false,
|
253
|
+
"required": false,
|
254
|
+
"validations": [],
|
255
|
+
"disabled": false
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"id": "z",
|
259
|
+
"name": "Z",
|
260
|
+
"type": "Number",
|
261
|
+
"localized": false,
|
262
|
+
"required": false,
|
263
|
+
"validations": [],
|
264
|
+
"disabled": false
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"id": "texture",
|
268
|
+
"name": "Texture",
|
269
|
+
"type": "Link",
|
270
|
+
"localized": false,
|
271
|
+
"required": false,
|
272
|
+
"validations": [],
|
273
|
+
"disabled": false,
|
274
|
+
"linkType": "Entry"
|
275
|
+
}
|
276
|
+
]
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"sys": {
|
280
|
+
"space": {
|
281
|
+
"sys": {
|
282
|
+
"type": "Link",
|
283
|
+
"linkType": "Space",
|
284
|
+
"id": "zh42n1tmsaiq"
|
285
|
+
}
|
286
|
+
},
|
287
|
+
"id": "map",
|
288
|
+
"type": "ContentType",
|
289
|
+
"createdAt": "2016-03-09T09:19:43.221Z",
|
290
|
+
"updatedAt": "2016-03-09T09:39:49.307Z",
|
291
|
+
"createdBy": {
|
292
|
+
"sys": {
|
293
|
+
"type": "Link",
|
294
|
+
"linkType": "User",
|
295
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
296
|
+
}
|
297
|
+
},
|
298
|
+
"updatedBy": {
|
299
|
+
"sys": {
|
300
|
+
"type": "Link",
|
301
|
+
"linkType": "User",
|
302
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
303
|
+
}
|
304
|
+
},
|
305
|
+
"publishedCounter": 3,
|
306
|
+
"version": 6,
|
307
|
+
"publishedBy": {
|
308
|
+
"sys": {
|
309
|
+
"type": "Link",
|
310
|
+
"linkType": "User",
|
311
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
312
|
+
}
|
313
|
+
},
|
314
|
+
"publishedVersion": 5,
|
315
|
+
"firstPublishedAt": "2016-03-09T09:19:43.787Z",
|
316
|
+
"publishedAt": "2016-03-09T09:39:49.289Z"
|
317
|
+
},
|
318
|
+
"displayField": "name",
|
319
|
+
"name": "Map",
|
320
|
+
"description": null,
|
321
|
+
"fields": [
|
322
|
+
{
|
323
|
+
"id": "name",
|
324
|
+
"name": "Name",
|
325
|
+
"type": "Symbol",
|
326
|
+
"localized": false,
|
327
|
+
"required": false,
|
328
|
+
"validations": [],
|
329
|
+
"disabled": false
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"id": "mesh",
|
333
|
+
"name": "Mesh",
|
334
|
+
"type": "Link",
|
335
|
+
"localized": false,
|
336
|
+
"required": false,
|
337
|
+
"validations": [],
|
338
|
+
"disabled": false,
|
339
|
+
"linkType": "Asset"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"id": "blocks",
|
343
|
+
"name": "blocks",
|
344
|
+
"type": "Array",
|
345
|
+
"localized": false,
|
346
|
+
"required": false,
|
347
|
+
"validations": [],
|
348
|
+
"disabled": false,
|
349
|
+
"items": {
|
350
|
+
"type": "Link",
|
351
|
+
"validations": [],
|
352
|
+
"linkType": "Entry"
|
353
|
+
}
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"id": "blockMesh",
|
357
|
+
"name": "Block Mesh",
|
358
|
+
"type": "Link",
|
359
|
+
"localized": false,
|
360
|
+
"required": false,
|
361
|
+
"validations": [],
|
362
|
+
"disabled": false,
|
363
|
+
"linkType": "Asset"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"id": "mapTexture",
|
367
|
+
"name": "Map Texture",
|
368
|
+
"type": "Link",
|
369
|
+
"localized": false,
|
370
|
+
"required": false,
|
371
|
+
"validations": [],
|
372
|
+
"disabled": false,
|
373
|
+
"linkType": "Asset"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"id": "waypoints",
|
377
|
+
"name": "Waypoints",
|
378
|
+
"type": "Array",
|
379
|
+
"localized": false,
|
380
|
+
"required": false,
|
381
|
+
"validations": [],
|
382
|
+
"disabled": false,
|
383
|
+
"items": {
|
384
|
+
"type": "Link",
|
385
|
+
"validations": [],
|
386
|
+
"linkType": "Entry"
|
387
|
+
}
|
388
|
+
}
|
389
|
+
]
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"sys": {
|
393
|
+
"space": {
|
394
|
+
"sys": {
|
395
|
+
"type": "Link",
|
396
|
+
"linkType": "Space",
|
397
|
+
"id": "zh42n1tmsaiq"
|
398
|
+
}
|
399
|
+
},
|
400
|
+
"id": "waypoint",
|
401
|
+
"type": "ContentType",
|
402
|
+
"createdAt": "2016-03-09T09:19:47.330Z",
|
403
|
+
"updatedAt": "2016-03-09T09:40:17.544Z",
|
404
|
+
"createdBy": {
|
405
|
+
"sys": {
|
406
|
+
"type": "Link",
|
407
|
+
"linkType": "User",
|
408
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
409
|
+
}
|
410
|
+
},
|
411
|
+
"updatedBy": {
|
412
|
+
"sys": {
|
413
|
+
"type": "Link",
|
414
|
+
"linkType": "User",
|
415
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
416
|
+
}
|
417
|
+
},
|
418
|
+
"publishedCounter": 2,
|
419
|
+
"version": 4,
|
420
|
+
"publishedBy": {
|
421
|
+
"sys": {
|
422
|
+
"type": "Link",
|
423
|
+
"linkType": "User",
|
424
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
425
|
+
}
|
426
|
+
},
|
427
|
+
"publishedVersion": 3,
|
428
|
+
"firstPublishedAt": "2016-03-09T09:19:47.871Z",
|
429
|
+
"publishedAt": "2016-03-09T09:40:17.521Z"
|
430
|
+
},
|
431
|
+
"displayField": "name",
|
432
|
+
"name": "Waypoint",
|
433
|
+
"description": null,
|
434
|
+
"fields": [
|
435
|
+
{
|
436
|
+
"id": "x",
|
437
|
+
"name": "X",
|
438
|
+
"type": "Number",
|
439
|
+
"localized": false,
|
440
|
+
"required": false,
|
441
|
+
"validations": [],
|
442
|
+
"disabled": false
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"id": "y",
|
446
|
+
"name": "Y",
|
447
|
+
"type": "Number",
|
448
|
+
"localized": false,
|
449
|
+
"required": false,
|
450
|
+
"validations": [],
|
451
|
+
"disabled": false
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"id": "z",
|
455
|
+
"name": "Z",
|
456
|
+
"type": "Number",
|
457
|
+
"localized": false,
|
458
|
+
"required": false,
|
459
|
+
"validations": [],
|
460
|
+
"disabled": false
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"id": "name",
|
464
|
+
"name": "Name",
|
465
|
+
"type": "Symbol",
|
466
|
+
"localized": false,
|
467
|
+
"required": false,
|
468
|
+
"validations": [],
|
469
|
+
"disabled": false
|
470
|
+
}
|
471
|
+
]
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"sys": {
|
475
|
+
"space": {
|
476
|
+
"sys": {
|
477
|
+
"type": "Link",
|
478
|
+
"linkType": "Space",
|
479
|
+
"id": "zh42n1tmsaiq"
|
480
|
+
}
|
481
|
+
},
|
482
|
+
"id": "texture",
|
483
|
+
"type": "ContentType",
|
484
|
+
"createdAt": "2016-03-09T09:19:45.549Z",
|
485
|
+
"updatedAt": "2016-03-09T09:40:01.512Z",
|
486
|
+
"createdBy": {
|
487
|
+
"sys": {
|
488
|
+
"type": "Link",
|
489
|
+
"linkType": "User",
|
490
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
491
|
+
}
|
492
|
+
},
|
493
|
+
"updatedBy": {
|
494
|
+
"sys": {
|
495
|
+
"type": "Link",
|
496
|
+
"linkType": "User",
|
497
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
498
|
+
}
|
499
|
+
},
|
500
|
+
"publishedCounter": 2,
|
501
|
+
"version": 4,
|
502
|
+
"publishedBy": {
|
503
|
+
"sys": {
|
504
|
+
"type": "Link",
|
505
|
+
"linkType": "User",
|
506
|
+
"id": "4SejVrWT96dvL9IV4Nb7sQ"
|
507
|
+
}
|
508
|
+
},
|
509
|
+
"publishedVersion": 3,
|
510
|
+
"firstPublishedAt": "2016-03-09T09:19:46.028Z",
|
511
|
+
"publishedAt": "2016-03-09T09:40:01.480Z"
|
512
|
+
},
|
513
|
+
"displayField": "name",
|
514
|
+
"name": "Texture",
|
515
|
+
"description": null,
|
516
|
+
"fields": [
|
517
|
+
{
|
518
|
+
"id": "name",
|
519
|
+
"name": "Name",
|
520
|
+
"type": "Symbol",
|
521
|
+
"localized": false,
|
522
|
+
"required": false,
|
523
|
+
"validations": [],
|
524
|
+
"disabled": false
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"id": "textureImage",
|
528
|
+
"name": "Texture Image",
|
529
|
+
"type": "Link",
|
530
|
+
"localized": false,
|
531
|
+
"required": false,
|
532
|
+
"validations": [],
|
533
|
+
"disabled": false,
|
534
|
+
"linkType": "Asset"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"id": "metaMesh",
|
538
|
+
"name": "Meta Mesh",
|
539
|
+
"type": "Link",
|
540
|
+
"localized": false,
|
541
|
+
"required": false,
|
542
|
+
"validations": [],
|
543
|
+
"disabled": false,
|
544
|
+
"linkType": "Asset"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"id": "metaTexture",
|
548
|
+
"name": "Meta Texture",
|
549
|
+
"type": "Link",
|
550
|
+
"localized": false,
|
551
|
+
"required": false,
|
552
|
+
"validations": [],
|
553
|
+
"disabled": false,
|
554
|
+
"linkType": "Asset"
|
555
|
+
}
|
556
|
+
]
|
557
|
+
}
|
558
|
+
]
|
559
|
+
}
|
560
|
+
http_version:
|
561
|
+
recorded_at: Fri, 11 Mar 2016 10:19:18 GMT
|
562
|
+
recorded_with: VCR 2.9.3
|