hotchoc 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/README.md +38 -8
- data/hotchoc.gemspec +5 -2
- data/lib/hotchoc/api.rb +45 -0
- data/lib/hotchoc/client.rb +16 -5
- data/lib/hotchoc/configuration.rb +6 -11
- data/lib/hotchoc/errors.rb +12 -0
- data/lib/hotchoc/fetcher.rb +35 -0
- data/lib/hotchoc/version.rb +1 -1
- data/lib/hotchoc.rb +3 -0
- data/spec/hotchoc/api_spec.rb +103 -0
- data/spec/hotchoc/client_spec.rb +16 -48
- data/spec/hotchoc/configuration_spec.rb +1 -13
- data/spec/hotchoc/main_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -1
- data/spec/support/helpers.rb +3 -0
- data/spec/support/responses/album.json +165 -0
- data/spec/support/responses/albums.json +344 -0
- data/spec/support/responses/page.json +33 -0
- data/spec/support/responses/pages.json +54 -0
- data/spec/support/responses/post.json +29 -0
- data/spec/support/responses/posts.json +58 -0
- data/spec/support/responses/topic.json +9 -0
- data/spec/support/responses/topics.json +18 -0
- data/spec/support/stubs.rb +29 -0
- metadata +64 -10
@@ -0,0 +1,165 @@
|
|
1
|
+
{
|
2
|
+
"album": {
|
3
|
+
"blocks": [
|
4
|
+
{
|
5
|
+
"content": {
|
6
|
+
"image": {
|
7
|
+
"content_type": "image/jpeg",
|
8
|
+
"created_at": "2014-07-26T12:43:35Z",
|
9
|
+
"exif": {},
|
10
|
+
"height": 683,
|
11
|
+
"id": "53d3a2776c6f72785d050000",
|
12
|
+
"name": "moon.jpg",
|
13
|
+
"parent_id": "53d3a2266c6f72785d020000",
|
14
|
+
"size": 83852,
|
15
|
+
"state": "finished",
|
16
|
+
"thumbnails": {
|
17
|
+
"original": [
|
18
|
+
{
|
19
|
+
"height": 133,
|
20
|
+
"name": "200.jpg",
|
21
|
+
"size": 7974,
|
22
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=200",
|
23
|
+
"width": 200
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"height": 267,
|
27
|
+
"name": "400.jpg",
|
28
|
+
"size": 17634,
|
29
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=400",
|
30
|
+
"width": 400
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"height": 534,
|
34
|
+
"name": "800.jpg",
|
35
|
+
"size": 51121,
|
36
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=800",
|
37
|
+
"width": 800
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"height": 667,
|
41
|
+
"name": "1000.jpg",
|
42
|
+
"size": 74685,
|
43
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=1000",
|
44
|
+
"width": 1000
|
45
|
+
}
|
46
|
+
],
|
47
|
+
"square": [
|
48
|
+
{
|
49
|
+
"height": 200,
|
50
|
+
"name": "200_square.jpg",
|
51
|
+
"size": 11980,
|
52
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=200\\u0026s=1",
|
53
|
+
"width": 200
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"height": 400,
|
57
|
+
"name": "400_square.jpg",
|
58
|
+
"size": 31091,
|
59
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=400\\u0026s=1",
|
60
|
+
"width": 400
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"height": 683,
|
64
|
+
"name": "683_square.jpg",
|
65
|
+
"size": 78596,
|
66
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=683\\u0026s=1",
|
67
|
+
"width": 683
|
68
|
+
}
|
69
|
+
]
|
70
|
+
},
|
71
|
+
"updated_at": "2014-07-26T12:43:58Z",
|
72
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg",
|
73
|
+
"width": 1024
|
74
|
+
},
|
75
|
+
"title": null
|
76
|
+
},
|
77
|
+
"created_at": "2014-07-26T12:43:31Z",
|
78
|
+
"id": "53d3a2736c6f72785d040000",
|
79
|
+
"position": 1,
|
80
|
+
"type": "image",
|
81
|
+
"updated_at": "2014-07-26T12:43:35Z"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"cover": {
|
85
|
+
"content_type": "image/jpeg",
|
86
|
+
"created_at": "2014-07-26T12:43:35Z",
|
87
|
+
"exif": {},
|
88
|
+
"height": 683,
|
89
|
+
"id": "53d3a2776c6f72785d050000",
|
90
|
+
"name": "moon.jpg",
|
91
|
+
"parent_id": "53d3a2266c6f72785d020000",
|
92
|
+
"size": 83852,
|
93
|
+
"state": "finished",
|
94
|
+
"thumbnails": {
|
95
|
+
"original": [
|
96
|
+
{
|
97
|
+
"height": 133,
|
98
|
+
"name": "200.jpg",
|
99
|
+
"size": 7974,
|
100
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=200",
|
101
|
+
"width": 200
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"height": 267,
|
105
|
+
"name": "400.jpg",
|
106
|
+
"size": 17634,
|
107
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=400",
|
108
|
+
"width": 400
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"height": 534,
|
112
|
+
"name": "800.jpg",
|
113
|
+
"size": 51121,
|
114
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=800",
|
115
|
+
"width": 800
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"height": 667,
|
119
|
+
"name": "1000.jpg",
|
120
|
+
"size": 74685,
|
121
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=1000",
|
122
|
+
"width": 1000
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"square": [
|
126
|
+
{
|
127
|
+
"height": 200,
|
128
|
+
"name": "200_square.jpg",
|
129
|
+
"size": 11980,
|
130
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=200\\u0026s=1",
|
131
|
+
"width": 200
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"height": 400,
|
135
|
+
"name": "400_square.jpg",
|
136
|
+
"size": 31091,
|
137
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=400\\u0026s=1",
|
138
|
+
"width": 400
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"height": 683,
|
142
|
+
"name": "683_square.jpg",
|
143
|
+
"size": 78596,
|
144
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=683\\u0026s=1",
|
145
|
+
"width": 683
|
146
|
+
}
|
147
|
+
]
|
148
|
+
},
|
149
|
+
"updated_at": "2014-07-26T12:43:58Z",
|
150
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg",
|
151
|
+
"width": 1024
|
152
|
+
},
|
153
|
+
"created_at": "2014-07-26T12:42:14Z",
|
154
|
+
"description": "",
|
155
|
+
"hidden": false,
|
156
|
+
"id": "53d3a2266c6f72785d010000",
|
157
|
+
"identifier": "new-album",
|
158
|
+
"publish_date": "2014-07-26T12:44:09Z",
|
159
|
+
"status": "published",
|
160
|
+
"subtitle": "A subtitle",
|
161
|
+
"title": "New album",
|
162
|
+
"topics": [],
|
163
|
+
"updated_at": "2014-07-26T12:44:09Z"
|
164
|
+
}
|
165
|
+
}
|
@@ -0,0 +1,344 @@
|
|
1
|
+
{
|
2
|
+
"albums": [
|
3
|
+
{
|
4
|
+
"blocks": [
|
5
|
+
{
|
6
|
+
"content": {
|
7
|
+
"image": {
|
8
|
+
"content_type": "image/jpeg",
|
9
|
+
"created_at": "2014-07-26T12:43:35Z",
|
10
|
+
"exif": {},
|
11
|
+
"height": 683,
|
12
|
+
"id": "53d3a2776c6f72785d050000",
|
13
|
+
"name": "moon.jpg",
|
14
|
+
"parent_id": "53d3a2266c6f72785d020000",
|
15
|
+
"size": 83852,
|
16
|
+
"state": "finished",
|
17
|
+
"thumbnails": {
|
18
|
+
"original": [
|
19
|
+
{
|
20
|
+
"height": 133,
|
21
|
+
"name": "200.jpg",
|
22
|
+
"size": 7974,
|
23
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=200",
|
24
|
+
"width": 200
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"height": 267,
|
28
|
+
"name": "400.jpg",
|
29
|
+
"size": 17634,
|
30
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=400",
|
31
|
+
"width": 400
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"height": 534,
|
35
|
+
"name": "800.jpg",
|
36
|
+
"size": 51121,
|
37
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=800",
|
38
|
+
"width": 800
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"height": 667,
|
42
|
+
"name": "1000.jpg",
|
43
|
+
"size": 74685,
|
44
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=1000",
|
45
|
+
"width": 1000
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"square": [
|
49
|
+
{
|
50
|
+
"height": 200,
|
51
|
+
"name": "200_square.jpg",
|
52
|
+
"size": 11980,
|
53
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=200\\u0026s=1",
|
54
|
+
"width": 200
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"height": 400,
|
58
|
+
"name": "400_square.jpg",
|
59
|
+
"size": 31091,
|
60
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=400\\u0026s=1",
|
61
|
+
"width": 400
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"height": 683,
|
65
|
+
"name": "683_square.jpg",
|
66
|
+
"size": 78596,
|
67
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=683\\u0026s=1",
|
68
|
+
"width": 683
|
69
|
+
}
|
70
|
+
]
|
71
|
+
},
|
72
|
+
"updated_at": "2014-07-26T12:43:58Z",
|
73
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg",
|
74
|
+
"width": 1024
|
75
|
+
},
|
76
|
+
"title": null
|
77
|
+
},
|
78
|
+
"created_at": "2014-07-26T12:43:31Z",
|
79
|
+
"id": "53d3a2736c6f72785d040000",
|
80
|
+
"position": 1,
|
81
|
+
"type": "image",
|
82
|
+
"updated_at": "2014-07-26T12:43:35Z"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"cover": {
|
86
|
+
"content_type": "image/jpeg",
|
87
|
+
"created_at": "2014-07-26T12:43:35Z",
|
88
|
+
"exif": {},
|
89
|
+
"height": 683,
|
90
|
+
"id": "53d3a2776c6f72785d050000",
|
91
|
+
"name": "moon.jpg",
|
92
|
+
"parent_id": "53d3a2266c6f72785d020000",
|
93
|
+
"size": 83852,
|
94
|
+
"state": "finished",
|
95
|
+
"thumbnails": {
|
96
|
+
"original": [
|
97
|
+
{
|
98
|
+
"height": 133,
|
99
|
+
"name": "200.jpg",
|
100
|
+
"size": 7974,
|
101
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=200",
|
102
|
+
"width": 200
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"height": 267,
|
106
|
+
"name": "400.jpg",
|
107
|
+
"size": 17634,
|
108
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=400",
|
109
|
+
"width": 400
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"height": 534,
|
113
|
+
"name": "800.jpg",
|
114
|
+
"size": 51121,
|
115
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=800",
|
116
|
+
"width": 800
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"height": 667,
|
120
|
+
"name": "1000.jpg",
|
121
|
+
"size": 74685,
|
122
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=1000",
|
123
|
+
"width": 1000
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"square": [
|
127
|
+
{
|
128
|
+
"height": 200,
|
129
|
+
"name": "200_square.jpg",
|
130
|
+
"size": 11980,
|
131
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=200\\u0026s=1",
|
132
|
+
"width": 200
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"height": 400,
|
136
|
+
"name": "400_square.jpg",
|
137
|
+
"size": 31091,
|
138
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=400\\u0026s=1",
|
139
|
+
"width": 400
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"height": 683,
|
143
|
+
"name": "683_square.jpg",
|
144
|
+
"size": 78596,
|
145
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg?w=683\\u0026s=1",
|
146
|
+
"width": 683
|
147
|
+
}
|
148
|
+
]
|
149
|
+
},
|
150
|
+
"updated_at": "2014-07-26T12:43:58Z",
|
151
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album/moon.jpg",
|
152
|
+
"width": 1024
|
153
|
+
},
|
154
|
+
"created_at": "2014-07-26T12:42:14Z",
|
155
|
+
"description": "",
|
156
|
+
"hidden": false,
|
157
|
+
"id": "53d3a2266c6f72785d010000",
|
158
|
+
"identifier": "new-album",
|
159
|
+
"publish_date": "2014-07-26T12:44:09Z",
|
160
|
+
"status": "published",
|
161
|
+
"subtitle": "A subtitle",
|
162
|
+
"title": "New album",
|
163
|
+
"topics": [],
|
164
|
+
"updated_at": "2014-07-26T12:44:09Z"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"blocks": [
|
168
|
+
{
|
169
|
+
"content": {
|
170
|
+
"image": {
|
171
|
+
"content_type": "image/jpeg",
|
172
|
+
"created_at": "2014-07-26T12:46:04Z",
|
173
|
+
"exif": {},
|
174
|
+
"height": 1024,
|
175
|
+
"id": "53d3a30c6c6f72785d140000",
|
176
|
+
"name": "cockatoo.jpg",
|
177
|
+
"parent_id": "53d3a2f66c6f72785d110000",
|
178
|
+
"size": 435154,
|
179
|
+
"state": "finished",
|
180
|
+
"thumbnails": {
|
181
|
+
"original": [
|
182
|
+
{
|
183
|
+
"height": 200,
|
184
|
+
"name": "200.jpg",
|
185
|
+
"size": 27129,
|
186
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=200",
|
187
|
+
"width": 200
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"height": 400,
|
191
|
+
"name": "400.jpg",
|
192
|
+
"size": 77402,
|
193
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=400",
|
194
|
+
"width": 400
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"height": 800,
|
198
|
+
"name": "800.jpg",
|
199
|
+
"size": 252703,
|
200
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=800",
|
201
|
+
"width": 800
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"height": 1000,
|
205
|
+
"name": "1000.jpg",
|
206
|
+
"size": 394591,
|
207
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=1000",
|
208
|
+
"width": 1000
|
209
|
+
}
|
210
|
+
],
|
211
|
+
"square": [
|
212
|
+
{
|
213
|
+
"height": 200,
|
214
|
+
"name": "200_square.jpg",
|
215
|
+
"size": 27129,
|
216
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=200\\u0026s=1",
|
217
|
+
"width": 200
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"height": 400,
|
221
|
+
"name": "400_square.jpg",
|
222
|
+
"size": 77402,
|
223
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=400\\u0026s=1",
|
224
|
+
"width": 400
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"height": 800,
|
228
|
+
"name": "800_square.jpg",
|
229
|
+
"size": 252703,
|
230
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=800\\u0026s=1",
|
231
|
+
"width": 800
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"height": 1000,
|
235
|
+
"name": "1000_square.jpg",
|
236
|
+
"size": 394591,
|
237
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=1000\\u0026s=1",
|
238
|
+
"width": 1000
|
239
|
+
}
|
240
|
+
]
|
241
|
+
},
|
242
|
+
"updated_at": "2014-07-26T12:46:57Z",
|
243
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg",
|
244
|
+
"width": 1024
|
245
|
+
},
|
246
|
+
"title": null
|
247
|
+
},
|
248
|
+
"created_at": "2014-07-26T12:45:59Z",
|
249
|
+
"id": "53d3a3076c6f72785d130000",
|
250
|
+
"position": 1,
|
251
|
+
"type": "image",
|
252
|
+
"updated_at": "2014-07-26T12:46:04Z"
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"cover": {
|
256
|
+
"content_type": "image/jpeg",
|
257
|
+
"created_at": "2014-07-26T12:46:04Z",
|
258
|
+
"exif": {},
|
259
|
+
"height": 1024,
|
260
|
+
"id": "53d3a30c6c6f72785d140000",
|
261
|
+
"name": "cockatoo.jpg",
|
262
|
+
"parent_id": "53d3a2f66c6f72785d110000",
|
263
|
+
"size": 435154,
|
264
|
+
"state": "finished",
|
265
|
+
"thumbnails": {
|
266
|
+
"original": [
|
267
|
+
{
|
268
|
+
"height": 200,
|
269
|
+
"name": "200.jpg",
|
270
|
+
"size": 27129,
|
271
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=200",
|
272
|
+
"width": 200
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"height": 400,
|
276
|
+
"name": "400.jpg",
|
277
|
+
"size": 77402,
|
278
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=400",
|
279
|
+
"width": 400
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"height": 800,
|
283
|
+
"name": "800.jpg",
|
284
|
+
"size": 252703,
|
285
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=800",
|
286
|
+
"width": 800
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"height": 1000,
|
290
|
+
"name": "1000.jpg",
|
291
|
+
"size": 394591,
|
292
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=1000",
|
293
|
+
"width": 1000
|
294
|
+
}
|
295
|
+
],
|
296
|
+
"square": [
|
297
|
+
{
|
298
|
+
"height": 200,
|
299
|
+
"name": "200_square.jpg",
|
300
|
+
"size": 27129,
|
301
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=200\\u0026s=1",
|
302
|
+
"width": 200
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"height": 400,
|
306
|
+
"name": "400_square.jpg",
|
307
|
+
"size": 77402,
|
308
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=400\\u0026s=1",
|
309
|
+
"width": 400
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"height": 800,
|
313
|
+
"name": "800_square.jpg",
|
314
|
+
"size": 252703,
|
315
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=800\\u0026s=1",
|
316
|
+
"width": 800
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"height": 1000,
|
320
|
+
"name": "1000_square.jpg",
|
321
|
+
"size": 394591,
|
322
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg?w=1000\\u0026s=1",
|
323
|
+
"width": 1000
|
324
|
+
}
|
325
|
+
]
|
326
|
+
},
|
327
|
+
"updated_at": "2014-07-26T12:46:57Z",
|
328
|
+
"url": "https://www.hotchoc.dev/files/albums/new-album-1/cockatoo.jpg",
|
329
|
+
"width": 1024
|
330
|
+
},
|
331
|
+
"created_at": "2014-07-26T12:45:42Z",
|
332
|
+
"description": "",
|
333
|
+
"hidden": false,
|
334
|
+
"id": "53d3a2f66c6f72785d100000",
|
335
|
+
"identifier": "new-album-1",
|
336
|
+
"publish_date": "2014-07-26T12:45:54Z",
|
337
|
+
"status": "published",
|
338
|
+
"subtitle": "A subtitle",
|
339
|
+
"title": "Album 2",
|
340
|
+
"topics": [],
|
341
|
+
"updated_at": "2014-07-26T12:47:29Z"
|
342
|
+
}
|
343
|
+
]
|
344
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"page": {
|
3
|
+
"blocks": [
|
4
|
+
{
|
5
|
+
"content": {
|
6
|
+
"html": "\\u003cp\\u003eTest\\u003c/p\\u003e\\n",
|
7
|
+
"markdown": "Test"
|
8
|
+
},
|
9
|
+
"created_at": "2014-07-26T13:03:13Z",
|
10
|
+
"id": "53d3a7116c6f727871050000",
|
11
|
+
"position": 1,
|
12
|
+
"type": "text",
|
13
|
+
"updated_at": "2014-07-26T13:03:18Z"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"created_at": "2014-07-26T13:02:38Z",
|
17
|
+
"excerpt": "",
|
18
|
+
"featured_image": null,
|
19
|
+
"hidden": false,
|
20
|
+
"id": "53d3a6ee6c6f72785d260000",
|
21
|
+
"identifier": "new-page",
|
22
|
+
"level": 1,
|
23
|
+
"parent_id": "53d0dca56c6f7253e6010000",
|
24
|
+
"path": "/new-page",
|
25
|
+
"position": 0,
|
26
|
+
"publish_date": "2014-07-26T13:02:43Z",
|
27
|
+
"status": "published",
|
28
|
+
"subtitle": "",
|
29
|
+
"title": "Page 1",
|
30
|
+
"topics": [],
|
31
|
+
"updated_at": "2014-07-26T13:03:20Z"
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
{
|
2
|
+
"pages": [
|
3
|
+
{
|
4
|
+
"blocks": [
|
5
|
+
{
|
6
|
+
"content": {
|
7
|
+
"html": "\\u003cp\\u003eTest\\u003c/p\\u003e\\n",
|
8
|
+
"markdown": "Test"
|
9
|
+
},
|
10
|
+
"created_at": "2014-07-26T13:03:13Z",
|
11
|
+
"id": "53d3a7116c6f727871050000",
|
12
|
+
"position": 1,
|
13
|
+
"type": "text",
|
14
|
+
"updated_at": "2014-07-26T13:03:18Z"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"created_at": "2014-07-26T13:02:38Z",
|
18
|
+
"excerpt": "",
|
19
|
+
"featured_image": null,
|
20
|
+
"hidden": false,
|
21
|
+
"id": "53d3a6ee6c6f72785d260000",
|
22
|
+
"identifier": "new-page",
|
23
|
+
"level": 1,
|
24
|
+
"parent_id": "53d0dca56c6f7253e6010000",
|
25
|
+
"path": "/new-page",
|
26
|
+
"position": 0,
|
27
|
+
"publish_date": "2014-07-26T13:02:43Z",
|
28
|
+
"status": "published",
|
29
|
+
"subtitle": "",
|
30
|
+
"title": "Page 1",
|
31
|
+
"topics": [],
|
32
|
+
"updated_at": "2014-07-26T13:03:20Z"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"blocks": [],
|
36
|
+
"created_at": "2014-07-24T10:15:01Z",
|
37
|
+
"excerpt": null,
|
38
|
+
"featured_image": null,
|
39
|
+
"hidden": false,
|
40
|
+
"id": "53d0dca56c6f7253e6010000",
|
41
|
+
"identifier": "home",
|
42
|
+
"level": 0,
|
43
|
+
"parent_id": null,
|
44
|
+
"path": "/",
|
45
|
+
"position": 0,
|
46
|
+
"publish_date": "2014-07-24T10:15:01Z",
|
47
|
+
"status": "published",
|
48
|
+
"subtitle": null,
|
49
|
+
"title": "Home",
|
50
|
+
"topics": [],
|
51
|
+
"updated_at": "2014-07-24T10:15:01Z"
|
52
|
+
}
|
53
|
+
]
|
54
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"post": {
|
3
|
+
"blocks": [
|
4
|
+
{
|
5
|
+
"content": {
|
6
|
+
"html": "\\u003cp\\u003eTest\\u003c/p\\u003e\\n",
|
7
|
+
"markdown": "Test"
|
8
|
+
},
|
9
|
+
"created_at": "2014-07-26T13:04:35Z",
|
10
|
+
"id": "53d3a7636c6f72785d2b0000",
|
11
|
+
"position": 1,
|
12
|
+
"type": "text",
|
13
|
+
"updated_at": "2014-07-26T13:05:08Z"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"created_at": "2014-07-26T13:04:25Z",
|
17
|
+
"excerpt": "",
|
18
|
+
"featured_image": null,
|
19
|
+
"hidden": false,
|
20
|
+
"id": "53d3a7596c6f72785d290000",
|
21
|
+
"identifier": "new-post",
|
22
|
+
"publish_date": "2014-07-26T13:04:35Z",
|
23
|
+
"status": "published",
|
24
|
+
"subtitle": "",
|
25
|
+
"title": "Post 1",
|
26
|
+
"topics": [],
|
27
|
+
"updated_at": "2014-07-26T13:05:09Z"
|
28
|
+
}
|
29
|
+
}
|