contentful-management 0.0.1.pre → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +17 -18
- data/README.md +10 -19
- data/examples/blog.rb +2 -0
- data/examples/create_space.rb +1 -1
- data/lib/contentful/management.rb +0 -8
- data/lib/contentful/management/asset.rb +41 -38
- data/lib/contentful/management/client.rb +8 -1
- data/lib/contentful/management/content_type.rb +44 -6
- data/lib/contentful/management/entry.rb +61 -29
- data/lib/contentful/management/field.rb +1 -1
- data/lib/contentful/management/file.rb +1 -0
- data/lib/contentful/management/link.rb +1 -1
- data/lib/contentful/management/locale.rb +24 -8
- data/lib/contentful/management/location.rb +1 -1
- data/lib/contentful/management/resource/asset_fields.rb +17 -0
- data/lib/contentful/management/resource/entry_fields.rb +13 -0
- data/lib/contentful/management/resource/fields.rb +1 -0
- data/lib/contentful/management/resource_builder.rb +0 -1
- data/lib/contentful/management/space.rb +38 -10
- data/lib/contentful/management/support.rb +3 -1
- data/lib/contentful/management/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/asset/publish_after_create.yml +268 -0
- data/spec/fixtures/vcr_cassettes/content_type/entry/all.yml +777 -0
- data/spec/fixtures/vcr_cassettes/entry/content_type_entires.yml +156 -0
- data/spec/fixtures/vcr_cassettes/entry/create_with_custom_id.yml +287 -0
- data/spec/fixtures/vcr_cassettes/space/{asset/assets.yml → entry/content_type_entires.yml} +369 -367
- data/spec/lib/contentful/management/asset_spec.rb +32 -23
- data/spec/lib/contentful/management/content_type_spec.rb +31 -6
- data/spec/lib/contentful/management/entry_spec.rb +21 -3
- data/spec/lib/contentful/management/space_spec.rb +26 -37
- metadata +22 -17
- data/spec/fixtures/vcr_cassettes/asset/image_url.yml +0 -133
- data/spec/fixtures/vcr_cassettes/space/content_type/content_types.yml +0 -341
- data/spec/fixtures/vcr_cassettes/space/entry/entries.yml +0 -498
- data/spec/fixtures/vcr_cassettes/space/locale/locales.yml +0 -480
@@ -1,15 +1,17 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
module Contentful
|
3
3
|
module Management
|
4
|
-
# Utility methods used by the contentful
|
4
|
+
# Utility methods used by the contentful management gem
|
5
5
|
module Support
|
6
6
|
class << self
|
7
|
+
|
7
8
|
# Transforms CamelCase into snake_case (taken from zucker)
|
8
9
|
def snakify(object)
|
9
10
|
snake = String(object).gsub(/(?<!^)[A-Z]/) { "_#$&" }
|
10
11
|
snake.downcase
|
11
12
|
end
|
12
13
|
|
14
|
+
# Merges two hashes with recursion
|
13
15
|
def deep_hash_merge(hash_1, hash_2)
|
14
16
|
hash_1.merge(hash_2) do |_key, oldval, newval|
|
15
17
|
oldval = oldval.to_hash if oldval.respond_to?(:to_hash)
|
@@ -0,0 +1,268 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"fields":{"title":{"en-US":"titlebyCreateAPI"},"description":{"en-US":"descByAPI"},"file":{"en-US":{"contentType":"image/jpeg","fileName":"pic1.jpg","upload":"https://upload.wikimedia.org/wikipedia/commons/c/c7/Gasometer_Berlin_Sch%C3%B6neberg_2011.jpg"}}}}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- RubyContenfulManagementGem/0.0.1.pre
|
12
|
+
Authorization:
|
13
|
+
- Bearer <ACCESS_TOKEN>
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.management.v1+json
|
16
|
+
Host:
|
17
|
+
- api.contentful.com
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 201
|
21
|
+
message: Created
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
Date:
|
26
|
+
- Wed, 06 Aug 2014 09:40:45 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/vnd.contentful.management.v1+json
|
29
|
+
Content-Length:
|
30
|
+
- '947'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
X-Powered-By:
|
34
|
+
- Express
|
35
|
+
Cf-Space-Id:
|
36
|
+
- yr5m0jky5hsh
|
37
|
+
Etag:
|
38
|
+
- '"7056a17eedce575db34e50bf2dd0a0b0"'
|
39
|
+
Access-Control-Allow-Origin:
|
40
|
+
- "*"
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- 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
|
43
|
+
Access-Control-Allow-Methods:
|
44
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
45
|
+
"^access-Control-Expose-Headers":
|
46
|
+
- Etag
|
47
|
+
Access-Control-Max-Age:
|
48
|
+
- '1728000'
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: |
|
52
|
+
{
|
53
|
+
"fields": {
|
54
|
+
"title": {
|
55
|
+
"en-US": "titlebyCreateAPI"
|
56
|
+
},
|
57
|
+
"description": {
|
58
|
+
"en-US": "descByAPI"
|
59
|
+
},
|
60
|
+
"file": {
|
61
|
+
"en-US": {
|
62
|
+
"contentType": "image/jpeg",
|
63
|
+
"fileName": "pic1.jpg",
|
64
|
+
"upload": "https://upload.wikimedia.org/wikipedia/commons/c/c7/Gasometer_Berlin_Sch%C3%B6neberg_2011.jpg"
|
65
|
+
}
|
66
|
+
}
|
67
|
+
},
|
68
|
+
"sys": {
|
69
|
+
"id": "RuJ0QuWbmKSIWGCwmwuyc",
|
70
|
+
"type": "Asset",
|
71
|
+
"version": 1,
|
72
|
+
"createdAt": "2014-08-06T09:40:45.290Z",
|
73
|
+
"createdBy": {
|
74
|
+
"sys": {
|
75
|
+
"type": "Link",
|
76
|
+
"linkType": "User",
|
77
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
78
|
+
}
|
79
|
+
},
|
80
|
+
"space": {
|
81
|
+
"sys": {
|
82
|
+
"type": "Link",
|
83
|
+
"linkType": "Space",
|
84
|
+
"id": "yr5m0jky5hsh"
|
85
|
+
}
|
86
|
+
},
|
87
|
+
"updatedAt": "2014-08-06T09:40:45.290Z",
|
88
|
+
"updatedBy": {
|
89
|
+
"sys": {
|
90
|
+
"type": "Link",
|
91
|
+
"linkType": "User",
|
92
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
http_version:
|
98
|
+
recorded_at: Wed, 06 Aug 2014 09:40:45 GMT
|
99
|
+
- request:
|
100
|
+
method: put
|
101
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/RuJ0QuWbmKSIWGCwmwuyc/files/en-US/process
|
102
|
+
body:
|
103
|
+
encoding: US-ASCII
|
104
|
+
string: ''
|
105
|
+
headers:
|
106
|
+
User-Agent:
|
107
|
+
- RubyContenfulManagementGem/0.0.1.pre
|
108
|
+
Authorization:
|
109
|
+
- Bearer <ACCESS_TOKEN>
|
110
|
+
Content-Type:
|
111
|
+
- application/vnd.contentful.management.v1+json
|
112
|
+
X-Contentful-Version:
|
113
|
+
- '1'
|
114
|
+
Content-Length:
|
115
|
+
- '0'
|
116
|
+
Host:
|
117
|
+
- api.contentful.com
|
118
|
+
response:
|
119
|
+
status:
|
120
|
+
code: 204
|
121
|
+
message: No Content
|
122
|
+
headers:
|
123
|
+
Server:
|
124
|
+
- nginx
|
125
|
+
Date:
|
126
|
+
- Wed, 06 Aug 2014 09:40:45 GMT
|
127
|
+
Content-Type:
|
128
|
+
- application/vnd.contentful.management.v1+json
|
129
|
+
Connection:
|
130
|
+
- keep-alive
|
131
|
+
X-Powered-By:
|
132
|
+
- Express
|
133
|
+
Cf-Space-Id:
|
134
|
+
- yr5m0jky5hsh
|
135
|
+
Access-Control-Allow-Origin:
|
136
|
+
- "*"
|
137
|
+
Access-Control-Allow-Headers:
|
138
|
+
- 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
|
139
|
+
Access-Control-Allow-Methods:
|
140
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
141
|
+
"^access-Control-Expose-Headers":
|
142
|
+
- Etag
|
143
|
+
Access-Control-Max-Age:
|
144
|
+
- '1728000'
|
145
|
+
body:
|
146
|
+
encoding: UTF-8
|
147
|
+
string: ''
|
148
|
+
http_version:
|
149
|
+
recorded_at: Wed, 06 Aug 2014 09:40:46 GMT
|
150
|
+
- request:
|
151
|
+
method: put
|
152
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/RuJ0QuWbmKSIWGCwmwuyc/published
|
153
|
+
body:
|
154
|
+
encoding: US-ASCII
|
155
|
+
string: ''
|
156
|
+
headers:
|
157
|
+
User-Agent:
|
158
|
+
- RubyContenfulManagementGem/0.0.1.pre
|
159
|
+
Authorization:
|
160
|
+
- Bearer <ACCESS_TOKEN>
|
161
|
+
Content-Type:
|
162
|
+
- application/vnd.contentful.management.v1+json
|
163
|
+
X-Contentful-Version:
|
164
|
+
- '2'
|
165
|
+
Content-Length:
|
166
|
+
- '0'
|
167
|
+
Host:
|
168
|
+
- api.contentful.com
|
169
|
+
response:
|
170
|
+
status:
|
171
|
+
code: 200
|
172
|
+
message: OK
|
173
|
+
headers:
|
174
|
+
Server:
|
175
|
+
- nginx
|
176
|
+
Date:
|
177
|
+
- Wed, 06 Aug 2014 09:40:51 GMT
|
178
|
+
Content-Type:
|
179
|
+
- application/vnd.contentful.management.v1+json
|
180
|
+
Content-Length:
|
181
|
+
- '1392'
|
182
|
+
Connection:
|
183
|
+
- keep-alive
|
184
|
+
X-Powered-By:
|
185
|
+
- Express
|
186
|
+
Cf-Space-Id:
|
187
|
+
- yr5m0jky5hsh
|
188
|
+
Etag:
|
189
|
+
- '"3ce9c46b0d033c107aff76e86ecf6f88"'
|
190
|
+
Access-Control-Allow-Origin:
|
191
|
+
- "*"
|
192
|
+
Access-Control-Allow-Headers:
|
193
|
+
- 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
|
194
|
+
Access-Control-Allow-Methods:
|
195
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
196
|
+
"^access-Control-Expose-Headers":
|
197
|
+
- Etag
|
198
|
+
Access-Control-Max-Age:
|
199
|
+
- '1728000'
|
200
|
+
body:
|
201
|
+
encoding: UTF-8
|
202
|
+
string: |
|
203
|
+
{
|
204
|
+
"fields": {
|
205
|
+
"title": {
|
206
|
+
"en-US": "titlebyCreateAPI"
|
207
|
+
},
|
208
|
+
"description": {
|
209
|
+
"en-US": "descByAPI"
|
210
|
+
},
|
211
|
+
"file": {
|
212
|
+
"en-US": {
|
213
|
+
"contentType": "image/jpeg",
|
214
|
+
"fileName": "pic1.jpg",
|
215
|
+
"details": {
|
216
|
+
"image": {
|
217
|
+
"width": 1280,
|
218
|
+
"height": 1920
|
219
|
+
},
|
220
|
+
"size": 2584366
|
221
|
+
},
|
222
|
+
"url": "//images.contentful.com/yr5m0jky5hsh/RuJ0QuWbmKSIWGCwmwuyc/b6c3f5bf24cb07778695734538755e5f/pic1.jpg"
|
223
|
+
}
|
224
|
+
}
|
225
|
+
},
|
226
|
+
"sys": {
|
227
|
+
"id": "RuJ0QuWbmKSIWGCwmwuyc",
|
228
|
+
"type": "Asset",
|
229
|
+
"createdAt": "2014-08-06T09:40:45.290Z",
|
230
|
+
"createdBy": {
|
231
|
+
"sys": {
|
232
|
+
"type": "Link",
|
233
|
+
"linkType": "User",
|
234
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
235
|
+
}
|
236
|
+
},
|
237
|
+
"space": {
|
238
|
+
"sys": {
|
239
|
+
"type": "Link",
|
240
|
+
"linkType": "Space",
|
241
|
+
"id": "yr5m0jky5hsh"
|
242
|
+
}
|
243
|
+
},
|
244
|
+
"version": 3,
|
245
|
+
"updatedAt": "2014-08-06T09:40:51.498Z",
|
246
|
+
"updatedBy": {
|
247
|
+
"sys": {
|
248
|
+
"type": "Link",
|
249
|
+
"linkType": "User",
|
250
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
"firstPublishedAt": "2014-08-06T09:40:51.498Z",
|
254
|
+
"publishedCounter": 1,
|
255
|
+
"publishedAt": "2014-08-06T09:40:51.498Z",
|
256
|
+
"publishedBy": {
|
257
|
+
"sys": {
|
258
|
+
"type": "Link",
|
259
|
+
"linkType": "User",
|
260
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
261
|
+
}
|
262
|
+
},
|
263
|
+
"publishedVersion": 2
|
264
|
+
}
|
265
|
+
}
|
266
|
+
http_version:
|
267
|
+
recorded_at: Wed, 06 Aug 2014 09:40:51 GMT
|
268
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,777 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/9lxkhjnp8gyx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- RubyContenfulManagementGem/0.0.1.pre
|
12
|
+
Authorization:
|
13
|
+
- Bearer <ACCESS_TOKEN>
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.management.v1+json
|
16
|
+
Content-Length:
|
17
|
+
- '0'
|
18
|
+
Host:
|
19
|
+
- api.contentful.com
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Wed, 13 Aug 2014 09:43:20 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/vnd.contentful.management.v1+json
|
31
|
+
Content-Length:
|
32
|
+
- '459'
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
X-Contentful-Request-Id:
|
38
|
+
- 85f-1336098860
|
39
|
+
Etag:
|
40
|
+
- '"3335d4851d21bcde70cfc6d843291e65"'
|
41
|
+
Accept-Ranges:
|
42
|
+
- bytes
|
43
|
+
Cache-Control:
|
44
|
+
- max-age=0
|
45
|
+
Access-Control-Allow-Origin:
|
46
|
+
- "*"
|
47
|
+
Access-Control-Allow-Headers:
|
48
|
+
- 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
|
49
|
+
Access-Control-Allow-Methods:
|
50
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
51
|
+
"^access-Control-Expose-Headers":
|
52
|
+
- Etag
|
53
|
+
Access-Control-Max-Age:
|
54
|
+
- '1728000'
|
55
|
+
body:
|
56
|
+
encoding: UTF-8
|
57
|
+
string: |
|
58
|
+
{
|
59
|
+
"sys":{
|
60
|
+
"type":"Space",
|
61
|
+
"id":"9lxkhjnp8gyx",
|
62
|
+
"version":1,
|
63
|
+
"createdBy":{
|
64
|
+
"sys":{
|
65
|
+
"type":"Link",
|
66
|
+
"linkType":"User",
|
67
|
+
"id":"1E7acJL8I5XUXAMHQt9Grs"
|
68
|
+
}
|
69
|
+
},
|
70
|
+
"createdAt":"2014-08-13T07:08:06Z",
|
71
|
+
"updatedBy":{
|
72
|
+
"sys":{
|
73
|
+
"type":"Link",
|
74
|
+
"linkType":"User",
|
75
|
+
"id":"1E7acJL8I5XUXAMHQt9Grs"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"updatedAt":"2014-08-13T07:08:06Z"
|
79
|
+
},
|
80
|
+
"name":"CMA_demo_rails_app"}
|
81
|
+
http_version:
|
82
|
+
recorded_at: Wed, 13 Aug 2014 09:43:20 GMT
|
83
|
+
- request:
|
84
|
+
method: get
|
85
|
+
uri: https://api.contentful.com/spaces/9lxkhjnp8gyx/content_types
|
86
|
+
body:
|
87
|
+
encoding: US-ASCII
|
88
|
+
string: ''
|
89
|
+
headers:
|
90
|
+
User-Agent:
|
91
|
+
- RubyContenfulManagementGem/0.0.1.pre
|
92
|
+
Authorization:
|
93
|
+
- Bearer <ACCESS_TOKEN>
|
94
|
+
Content-Type:
|
95
|
+
- application/vnd.contentful.management.v1+json
|
96
|
+
Content-Length:
|
97
|
+
- '0'
|
98
|
+
Host:
|
99
|
+
- api.contentful.com
|
100
|
+
response:
|
101
|
+
status:
|
102
|
+
code: 200
|
103
|
+
message: OK
|
104
|
+
headers:
|
105
|
+
Server:
|
106
|
+
- nginx
|
107
|
+
Date:
|
108
|
+
- Wed, 13 Aug 2014 09:43:21 GMT
|
109
|
+
Content-Type:
|
110
|
+
- application/vnd.contentful.management.v1+json
|
111
|
+
Content-Length:
|
112
|
+
- '3870'
|
113
|
+
Connection:
|
114
|
+
- keep-alive
|
115
|
+
X-Powered-By:
|
116
|
+
- Express
|
117
|
+
Cf-Space-Id:
|
118
|
+
- 9lxkhjnp8gyx
|
119
|
+
Etag:
|
120
|
+
- '"31999bb67dbf27f847e801b118cc0f65"'
|
121
|
+
Access-Control-Allow-Origin:
|
122
|
+
- "*"
|
123
|
+
Access-Control-Allow-Headers:
|
124
|
+
- 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
|
125
|
+
Access-Control-Allow-Methods:
|
126
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
127
|
+
"^access-Control-Expose-Headers":
|
128
|
+
- Etag
|
129
|
+
Access-Control-Max-Age:
|
130
|
+
- '1728000'
|
131
|
+
body:
|
132
|
+
encoding: UTF-8
|
133
|
+
string: |
|
134
|
+
{
|
135
|
+
"sys": {
|
136
|
+
"type": "Array"
|
137
|
+
},
|
138
|
+
"total": 2,
|
139
|
+
"skip": 0,
|
140
|
+
"limit": 100,
|
141
|
+
"items": [
|
142
|
+
{
|
143
|
+
"name": "Post",
|
144
|
+
"description": "",
|
145
|
+
"fields": [
|
146
|
+
{
|
147
|
+
"id": "post_title",
|
148
|
+
"name": "Title",
|
149
|
+
"type": "Text",
|
150
|
+
"localized": true,
|
151
|
+
"uiid": "3xm829r2znk"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"id": "post_author",
|
155
|
+
"name": "Author",
|
156
|
+
"type": "Text",
|
157
|
+
"localized": true,
|
158
|
+
"uiid": "33wd7up1xc0"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"id": "post_body",
|
162
|
+
"name": "Body",
|
163
|
+
"type": "Text",
|
164
|
+
"localized": true,
|
165
|
+
"uiid": "350kwutvny8"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"id": "post_title_image",
|
169
|
+
"name": "Title Image",
|
170
|
+
"type": "Link",
|
171
|
+
"linkType": "Asset",
|
172
|
+
"required": true,
|
173
|
+
"localized": true,
|
174
|
+
"uiid": "2zd0n27rx8g"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"id": "post_second_image",
|
178
|
+
"name": "Second Image",
|
179
|
+
"type": "Link",
|
180
|
+
"linkType": "Asset",
|
181
|
+
"localized": true,
|
182
|
+
"uiid": "368ajwiokjk"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"id": "post_category_id",
|
186
|
+
"name": "Category",
|
187
|
+
"type": "Link",
|
188
|
+
"linkType": "Entry",
|
189
|
+
"uiid": "3w4whcs9bsw"
|
190
|
+
}
|
191
|
+
],
|
192
|
+
"sys": {
|
193
|
+
"id": "post_content_type",
|
194
|
+
"type": "ContentType",
|
195
|
+
"createdAt": "2014-08-13T07:08:18.812Z",
|
196
|
+
"createdBy": {
|
197
|
+
"sys": {
|
198
|
+
"type": "Link",
|
199
|
+
"linkType": "User",
|
200
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"space": {
|
204
|
+
"sys": {
|
205
|
+
"type": "Link",
|
206
|
+
"linkType": "Space",
|
207
|
+
"id": "9lxkhjnp8gyx"
|
208
|
+
}
|
209
|
+
},
|
210
|
+
"firstPublishedAt": "2014-08-13T07:08:25.593Z",
|
211
|
+
"publishedCounter": 2,
|
212
|
+
"publishedAt": "2014-08-13T07:19:20.404Z",
|
213
|
+
"publishedBy": {
|
214
|
+
"sys": {
|
215
|
+
"type": "Link",
|
216
|
+
"linkType": "User",
|
217
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
218
|
+
}
|
219
|
+
},
|
220
|
+
"publishedVersion": 11,
|
221
|
+
"version": 12,
|
222
|
+
"updatedAt": "2014-08-13T07:19:20.410Z",
|
223
|
+
"updatedBy": {
|
224
|
+
"sys": {
|
225
|
+
"type": "Link",
|
226
|
+
"linkType": "User",
|
227
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
228
|
+
}
|
229
|
+
}
|
230
|
+
},
|
231
|
+
"displayField": "post_title"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"name": "Category",
|
235
|
+
"description": "",
|
236
|
+
"fields": [
|
237
|
+
{
|
238
|
+
"id": "name",
|
239
|
+
"name": "Name",
|
240
|
+
"type": "Text",
|
241
|
+
"localized": true,
|
242
|
+
"uiid": "4mzgm0nbgn4"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"id": "description",
|
246
|
+
"name": "Description",
|
247
|
+
"type": "Text",
|
248
|
+
"localized": true,
|
249
|
+
"uiid": "482w81hlb0g"
|
250
|
+
}
|
251
|
+
],
|
252
|
+
"sys": {
|
253
|
+
"id": "category_content_type",
|
254
|
+
"type": "ContentType",
|
255
|
+
"createdAt": "2014-08-13T07:08:14.318Z",
|
256
|
+
"createdBy": {
|
257
|
+
"sys": {
|
258
|
+
"type": "Link",
|
259
|
+
"linkType": "User",
|
260
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
261
|
+
}
|
262
|
+
},
|
263
|
+
"space": {
|
264
|
+
"sys": {
|
265
|
+
"type": "Link",
|
266
|
+
"linkType": "Space",
|
267
|
+
"id": "9lxkhjnp8gyx"
|
268
|
+
}
|
269
|
+
},
|
270
|
+
"firstPublishedAt": "2014-08-13T07:08:17.219Z",
|
271
|
+
"publishedCounter": 2,
|
272
|
+
"publishedAt": "2014-08-13T07:19:25.771Z",
|
273
|
+
"publishedBy": {
|
274
|
+
"sys": {
|
275
|
+
"type": "Link",
|
276
|
+
"linkType": "User",
|
277
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
278
|
+
}
|
279
|
+
},
|
280
|
+
"publishedVersion": 7,
|
281
|
+
"version": 8,
|
282
|
+
"updatedAt": "2014-08-13T07:19:25.778Z",
|
283
|
+
"updatedBy": {
|
284
|
+
"sys": {
|
285
|
+
"type": "Link",
|
286
|
+
"linkType": "User",
|
287
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
288
|
+
}
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"displayField": "name"
|
292
|
+
}
|
293
|
+
]
|
294
|
+
}
|
295
|
+
http_version:
|
296
|
+
recorded_at: Wed, 13 Aug 2014 09:43:21 GMT
|
297
|
+
- request:
|
298
|
+
method: get
|
299
|
+
uri: https://api.contentful.com/spaces/9lxkhjnp8gyx/content_types
|
300
|
+
body:
|
301
|
+
encoding: US-ASCII
|
302
|
+
string: ''
|
303
|
+
headers:
|
304
|
+
User-Agent:
|
305
|
+
- RubyContenfulManagementGem/0.0.1.pre
|
306
|
+
Authorization:
|
307
|
+
- Bearer <ACCESS_TOKEN>
|
308
|
+
Content-Type:
|
309
|
+
- application/vnd.contentful.management.v1+json
|
310
|
+
Content-Length:
|
311
|
+
- '0'
|
312
|
+
Host:
|
313
|
+
- api.contentful.com
|
314
|
+
response:
|
315
|
+
status:
|
316
|
+
code: 200
|
317
|
+
message: OK
|
318
|
+
headers:
|
319
|
+
Server:
|
320
|
+
- nginx
|
321
|
+
Date:
|
322
|
+
- Wed, 13 Aug 2014 09:43:22 GMT
|
323
|
+
Content-Type:
|
324
|
+
- application/vnd.contentful.management.v1+json
|
325
|
+
Content-Length:
|
326
|
+
- '3870'
|
327
|
+
Connection:
|
328
|
+
- keep-alive
|
329
|
+
X-Powered-By:
|
330
|
+
- Express
|
331
|
+
Cf-Space-Id:
|
332
|
+
- 9lxkhjnp8gyx
|
333
|
+
Etag:
|
334
|
+
- '"31999bb67dbf27f847e801b118cc0f65"'
|
335
|
+
Access-Control-Allow-Origin:
|
336
|
+
- "*"
|
337
|
+
Access-Control-Allow-Headers:
|
338
|
+
- 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
|
339
|
+
Access-Control-Allow-Methods:
|
340
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
341
|
+
"^access-Control-Expose-Headers":
|
342
|
+
- Etag
|
343
|
+
Access-Control-Max-Age:
|
344
|
+
- '1728000'
|
345
|
+
body:
|
346
|
+
encoding: UTF-8
|
347
|
+
string: |
|
348
|
+
{
|
349
|
+
"sys": {
|
350
|
+
"type": "Array"
|
351
|
+
},
|
352
|
+
"total": 2,
|
353
|
+
"skip": 0,
|
354
|
+
"limit": 100,
|
355
|
+
"items": [
|
356
|
+
{
|
357
|
+
"name": "Post",
|
358
|
+
"description": "",
|
359
|
+
"fields": [
|
360
|
+
{
|
361
|
+
"id": "post_title",
|
362
|
+
"name": "Title",
|
363
|
+
"type": "Text",
|
364
|
+
"localized": true,
|
365
|
+
"uiid": "3xm829r2znk"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"id": "post_author",
|
369
|
+
"name": "Author",
|
370
|
+
"type": "Text",
|
371
|
+
"localized": true,
|
372
|
+
"uiid": "33wd7up1xc0"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"id": "post_body",
|
376
|
+
"name": "Body",
|
377
|
+
"type": "Text",
|
378
|
+
"localized": true,
|
379
|
+
"uiid": "350kwutvny8"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"id": "post_title_image",
|
383
|
+
"name": "Title Image",
|
384
|
+
"type": "Link",
|
385
|
+
"linkType": "Asset",
|
386
|
+
"required": true,
|
387
|
+
"localized": true,
|
388
|
+
"uiid": "2zd0n27rx8g"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"id": "post_second_image",
|
392
|
+
"name": "Second Image",
|
393
|
+
"type": "Link",
|
394
|
+
"linkType": "Asset",
|
395
|
+
"localized": true,
|
396
|
+
"uiid": "368ajwiokjk"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"id": "post_category_id",
|
400
|
+
"name": "Category",
|
401
|
+
"type": "Link",
|
402
|
+
"linkType": "Entry",
|
403
|
+
"uiid": "3w4whcs9bsw"
|
404
|
+
}
|
405
|
+
],
|
406
|
+
"sys": {
|
407
|
+
"id": "post_content_type",
|
408
|
+
"type": "ContentType",
|
409
|
+
"createdAt": "2014-08-13T07:08:18.812Z",
|
410
|
+
"createdBy": {
|
411
|
+
"sys": {
|
412
|
+
"type": "Link",
|
413
|
+
"linkType": "User",
|
414
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
415
|
+
}
|
416
|
+
},
|
417
|
+
"space": {
|
418
|
+
"sys": {
|
419
|
+
"type": "Link",
|
420
|
+
"linkType": "Space",
|
421
|
+
"id": "9lxkhjnp8gyx"
|
422
|
+
}
|
423
|
+
},
|
424
|
+
"firstPublishedAt": "2014-08-13T07:08:25.593Z",
|
425
|
+
"publishedCounter": 2,
|
426
|
+
"publishedAt": "2014-08-13T07:19:20.404Z",
|
427
|
+
"publishedBy": {
|
428
|
+
"sys": {
|
429
|
+
"type": "Link",
|
430
|
+
"linkType": "User",
|
431
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
432
|
+
}
|
433
|
+
},
|
434
|
+
"publishedVersion": 11,
|
435
|
+
"version": 12,
|
436
|
+
"updatedAt": "2014-08-13T07:19:20.410Z",
|
437
|
+
"updatedBy": {
|
438
|
+
"sys": {
|
439
|
+
"type": "Link",
|
440
|
+
"linkType": "User",
|
441
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
442
|
+
}
|
443
|
+
}
|
444
|
+
},
|
445
|
+
"displayField": "post_title"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"name": "Category",
|
449
|
+
"description": "",
|
450
|
+
"fields": [
|
451
|
+
{
|
452
|
+
"id": "name",
|
453
|
+
"name": "Name",
|
454
|
+
"type": "Text",
|
455
|
+
"localized": true,
|
456
|
+
"uiid": "4mzgm0nbgn4"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"id": "description",
|
460
|
+
"name": "Description",
|
461
|
+
"type": "Text",
|
462
|
+
"localized": true,
|
463
|
+
"uiid": "482w81hlb0g"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"sys": {
|
467
|
+
"id": "category_content_type",
|
468
|
+
"type": "ContentType",
|
469
|
+
"createdAt": "2014-08-13T07:08:14.318Z",
|
470
|
+
"createdBy": {
|
471
|
+
"sys": {
|
472
|
+
"type": "Link",
|
473
|
+
"linkType": "User",
|
474
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
475
|
+
}
|
476
|
+
},
|
477
|
+
"space": {
|
478
|
+
"sys": {
|
479
|
+
"type": "Link",
|
480
|
+
"linkType": "Space",
|
481
|
+
"id": "9lxkhjnp8gyx"
|
482
|
+
}
|
483
|
+
},
|
484
|
+
"firstPublishedAt": "2014-08-13T07:08:17.219Z",
|
485
|
+
"publishedCounter": 2,
|
486
|
+
"publishedAt": "2014-08-13T07:19:25.771Z",
|
487
|
+
"publishedBy": {
|
488
|
+
"sys": {
|
489
|
+
"type": "Link",
|
490
|
+
"linkType": "User",
|
491
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
492
|
+
}
|
493
|
+
},
|
494
|
+
"publishedVersion": 7,
|
495
|
+
"version": 8,
|
496
|
+
"updatedAt": "2014-08-13T07:19:25.778Z",
|
497
|
+
"updatedBy": {
|
498
|
+
"sys": {
|
499
|
+
"type": "Link",
|
500
|
+
"linkType": "User",
|
501
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
502
|
+
}
|
503
|
+
}
|
504
|
+
},
|
505
|
+
"displayField": "name"
|
506
|
+
}
|
507
|
+
]
|
508
|
+
}
|
509
|
+
http_version:
|
510
|
+
recorded_at: Wed, 13 Aug 2014 09:43:22 GMT
|
511
|
+
- request:
|
512
|
+
method: get
|
513
|
+
uri: https://api.contentful.com/spaces/9lxkhjnp8gyx/content_types/category_content_type
|
514
|
+
body:
|
515
|
+
encoding: US-ASCII
|
516
|
+
string: ''
|
517
|
+
headers:
|
518
|
+
User-Agent:
|
519
|
+
- RubyContenfulManagementGem/0.0.1.pre
|
520
|
+
Authorization:
|
521
|
+
- Bearer <ACCESS_TOKEN>
|
522
|
+
Content-Type:
|
523
|
+
- application/vnd.contentful.management.v1+json
|
524
|
+
Content-Length:
|
525
|
+
- '0'
|
526
|
+
Host:
|
527
|
+
- api.contentful.com
|
528
|
+
response:
|
529
|
+
status:
|
530
|
+
code: 200
|
531
|
+
message: OK
|
532
|
+
headers:
|
533
|
+
Server:
|
534
|
+
- nginx
|
535
|
+
Date:
|
536
|
+
- Wed, 13 Aug 2014 09:43:23 GMT
|
537
|
+
Content-Type:
|
538
|
+
- application/vnd.contentful.management.v1+json
|
539
|
+
Content-Length:
|
540
|
+
- '1251'
|
541
|
+
Connection:
|
542
|
+
- keep-alive
|
543
|
+
X-Powered-By:
|
544
|
+
- Express
|
545
|
+
Cf-Space-Id:
|
546
|
+
- 9lxkhjnp8gyx
|
547
|
+
Etag:
|
548
|
+
- '"3154657241fbf004d48d35e0777bfe9e"'
|
549
|
+
Access-Control-Allow-Origin:
|
550
|
+
- "*"
|
551
|
+
Access-Control-Allow-Headers:
|
552
|
+
- 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
|
553
|
+
Access-Control-Allow-Methods:
|
554
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
555
|
+
"^access-Control-Expose-Headers":
|
556
|
+
- Etag
|
557
|
+
Access-Control-Max-Age:
|
558
|
+
- '1728000'
|
559
|
+
body:
|
560
|
+
encoding: UTF-8
|
561
|
+
string: |
|
562
|
+
{
|
563
|
+
"name": "Category",
|
564
|
+
"description": "",
|
565
|
+
"fields": [
|
566
|
+
{
|
567
|
+
"id": "name",
|
568
|
+
"name": "Name",
|
569
|
+
"type": "Text",
|
570
|
+
"localized": true,
|
571
|
+
"uiid": "4mzgm0nbgn4"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"id": "description",
|
575
|
+
"name": "Description",
|
576
|
+
"type": "Text",
|
577
|
+
"localized": true,
|
578
|
+
"uiid": "482w81hlb0g"
|
579
|
+
}
|
580
|
+
],
|
581
|
+
"sys": {
|
582
|
+
"id": "category_content_type",
|
583
|
+
"type": "ContentType",
|
584
|
+
"createdAt": "2014-08-13T07:08:14.318Z",
|
585
|
+
"createdBy": {
|
586
|
+
"sys": {
|
587
|
+
"type": "Link",
|
588
|
+
"linkType": "User",
|
589
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
590
|
+
}
|
591
|
+
},
|
592
|
+
"space": {
|
593
|
+
"sys": {
|
594
|
+
"type": "Link",
|
595
|
+
"linkType": "Space",
|
596
|
+
"id": "9lxkhjnp8gyx"
|
597
|
+
}
|
598
|
+
},
|
599
|
+
"firstPublishedAt": "2014-08-13T07:08:17.219Z",
|
600
|
+
"publishedCounter": 2,
|
601
|
+
"publishedAt": "2014-08-13T07:19:25.771Z",
|
602
|
+
"publishedBy": {
|
603
|
+
"sys": {
|
604
|
+
"type": "Link",
|
605
|
+
"linkType": "User",
|
606
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
607
|
+
}
|
608
|
+
},
|
609
|
+
"publishedVersion": 7,
|
610
|
+
"version": 8,
|
611
|
+
"updatedAt": "2014-08-13T07:19:25.778Z",
|
612
|
+
"updatedBy": {
|
613
|
+
"sys": {
|
614
|
+
"type": "Link",
|
615
|
+
"linkType": "User",
|
616
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
617
|
+
}
|
618
|
+
}
|
619
|
+
},
|
620
|
+
"displayField": "name"
|
621
|
+
}
|
622
|
+
http_version:
|
623
|
+
recorded_at: Wed, 13 Aug 2014 09:43:23 GMT
|
624
|
+
- request:
|
625
|
+
method: get
|
626
|
+
uri: https://api.contentful.com/spaces/9lxkhjnp8gyx/entries?content_type=category_content_type
|
627
|
+
body:
|
628
|
+
encoding: US-ASCII
|
629
|
+
string: ''
|
630
|
+
headers:
|
631
|
+
User-Agent:
|
632
|
+
- RubyContenfulManagementGem/0.0.1.pre
|
633
|
+
Authorization:
|
634
|
+
- Bearer <ACCESS_TOKEN>
|
635
|
+
Content-Type:
|
636
|
+
- application/vnd.contentful.management.v1+json
|
637
|
+
Content-Length:
|
638
|
+
- '0'
|
639
|
+
Host:
|
640
|
+
- api.contentful.com
|
641
|
+
response:
|
642
|
+
status:
|
643
|
+
code: 200
|
644
|
+
message: OK
|
645
|
+
headers:
|
646
|
+
Server:
|
647
|
+
- nginx
|
648
|
+
Date:
|
649
|
+
- Wed, 13 Aug 2014 09:43:24 GMT
|
650
|
+
Content-Type:
|
651
|
+
- application/vnd.contentful.management.v1+json
|
652
|
+
Content-Length:
|
653
|
+
- '2176'
|
654
|
+
Connection:
|
655
|
+
- keep-alive
|
656
|
+
X-Powered-By:
|
657
|
+
- Express
|
658
|
+
Cf-Space-Id:
|
659
|
+
- 9lxkhjnp8gyx
|
660
|
+
Etag:
|
661
|
+
- '"971ee4a299e08e65093824445f32ad78"'
|
662
|
+
Access-Control-Allow-Origin:
|
663
|
+
- "*"
|
664
|
+
Access-Control-Allow-Headers:
|
665
|
+
- 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
|
666
|
+
Access-Control-Allow-Methods:
|
667
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
668
|
+
"^access-Control-Expose-Headers":
|
669
|
+
- Etag
|
670
|
+
Access-Control-Max-Age:
|
671
|
+
- '1728000'
|
672
|
+
body:
|
673
|
+
encoding: UTF-8
|
674
|
+
string: |
|
675
|
+
{
|
676
|
+
"sys": {
|
677
|
+
"type": "Array"
|
678
|
+
},
|
679
|
+
"total": 2,
|
680
|
+
"skip": 0,
|
681
|
+
"limit": 100,
|
682
|
+
"items": [
|
683
|
+
{
|
684
|
+
"fields": {
|
685
|
+
"name": {
|
686
|
+
"en-US": "Sport"
|
687
|
+
},
|
688
|
+
"description": {
|
689
|
+
"en-US": "Sport category"
|
690
|
+
}
|
691
|
+
},
|
692
|
+
"sys": {
|
693
|
+
"id": "1CpB2YkA5q0aMywe0wmCCQ",
|
694
|
+
"type": "Entry",
|
695
|
+
"createdAt": "2014-08-13T07:08:52.842Z",
|
696
|
+
"createdBy": {
|
697
|
+
"sys": {
|
698
|
+
"type": "Link",
|
699
|
+
"linkType": "User",
|
700
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
701
|
+
}
|
702
|
+
},
|
703
|
+
"space": {
|
704
|
+
"sys": {
|
705
|
+
"type": "Link",
|
706
|
+
"linkType": "Space",
|
707
|
+
"id": "9lxkhjnp8gyx"
|
708
|
+
}
|
709
|
+
},
|
710
|
+
"contentType": {
|
711
|
+
"sys": {
|
712
|
+
"type": "Link",
|
713
|
+
"linkType": "ContentType",
|
714
|
+
"id": "category_content_type"
|
715
|
+
}
|
716
|
+
},
|
717
|
+
"version": 1,
|
718
|
+
"updatedAt": "2014-08-13T07:08:52.850Z",
|
719
|
+
"updatedBy": {
|
720
|
+
"sys": {
|
721
|
+
"type": "Link",
|
722
|
+
"linkType": "User",
|
723
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
724
|
+
}
|
725
|
+
}
|
726
|
+
}
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"fields": {
|
730
|
+
"name": {
|
731
|
+
"en-US": "Categoru"
|
732
|
+
},
|
733
|
+
"description": {
|
734
|
+
"en-US": "asdasd"
|
735
|
+
}
|
736
|
+
},
|
737
|
+
"sys": {
|
738
|
+
"id": "3B7dW2mpO8SqOGaUs8kGCq",
|
739
|
+
"type": "Entry",
|
740
|
+
"createdAt": "2014-08-13T07:34:34.456Z",
|
741
|
+
"createdBy": {
|
742
|
+
"sys": {
|
743
|
+
"type": "Link",
|
744
|
+
"linkType": "User",
|
745
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
746
|
+
}
|
747
|
+
},
|
748
|
+
"space": {
|
749
|
+
"sys": {
|
750
|
+
"type": "Link",
|
751
|
+
"linkType": "Space",
|
752
|
+
"id": "9lxkhjnp8gyx"
|
753
|
+
}
|
754
|
+
},
|
755
|
+
"contentType": {
|
756
|
+
"sys": {
|
757
|
+
"type": "Link",
|
758
|
+
"linkType": "ContentType",
|
759
|
+
"id": "category_content_type"
|
760
|
+
}
|
761
|
+
},
|
762
|
+
"version": 1,
|
763
|
+
"updatedAt": "2014-08-13T07:34:34.459Z",
|
764
|
+
"updatedBy": {
|
765
|
+
"sys": {
|
766
|
+
"type": "Link",
|
767
|
+
"linkType": "User",
|
768
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
769
|
+
}
|
770
|
+
}
|
771
|
+
}
|
772
|
+
}
|
773
|
+
]
|
774
|
+
}
|
775
|
+
http_version:
|
776
|
+
recorded_at: Wed, 13 Aug 2014 09:43:24 GMT
|
777
|
+
recorded_with: VCR 2.9.2
|