contentful_bootstrap 1.6.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +26 -0
  3. data/.rubocop_todo.yml +123 -0
  4. data/.travis.yml +6 -0
  5. data/CHANGELOG.md +25 -0
  6. data/Gemfile +1 -0
  7. data/Guardfile +5 -0
  8. data/README.md +40 -14
  9. data/Rakefile +7 -0
  10. data/bin/contentful_bootstrap +33 -22
  11. data/contentful_bootstrap.gemspec +7 -0
  12. data/lib/contentful/bootstrap.rb +7 -5
  13. data/lib/contentful/bootstrap/command_runner.rb +45 -0
  14. data/lib/contentful/bootstrap/commands.rb +3 -168
  15. data/lib/contentful/bootstrap/commands/base.rb +66 -0
  16. data/lib/contentful/bootstrap/commands/create_space.rb +111 -0
  17. data/lib/contentful/bootstrap/commands/generate_json.rb +41 -0
  18. data/lib/contentful/bootstrap/commands/generate_token.rb +52 -0
  19. data/lib/contentful/bootstrap/constants.rb +2 -2
  20. data/lib/contentful/bootstrap/generator.rb +94 -0
  21. data/lib/contentful/bootstrap/server.rb +25 -17
  22. data/lib/contentful/bootstrap/support.rb +3 -2
  23. data/lib/contentful/bootstrap/templates.rb +4 -4
  24. data/lib/contentful/bootstrap/templates/base.rb +51 -30
  25. data/lib/contentful/bootstrap/templates/blog.rb +33 -33
  26. data/lib/contentful/bootstrap/templates/catalogue.rb +103 -103
  27. data/lib/contentful/bootstrap/templates/gallery.rb +55 -56
  28. data/lib/contentful/bootstrap/templates/json_template.rb +22 -16
  29. data/lib/contentful/bootstrap/templates/links.rb +2 -2
  30. data/lib/contentful/bootstrap/templates/links/asset.rb +2 -2
  31. data/lib/contentful/bootstrap/templates/links/base.rb +3 -3
  32. data/lib/contentful/bootstrap/templates/links/entry.rb +2 -2
  33. data/lib/contentful/bootstrap/token.rb +32 -31
  34. data/lib/contentful/bootstrap/version.rb +1 -1
  35. data/spec/contentful/bootstrap/command_runner_spec.rb +111 -0
  36. data/spec/contentful/bootstrap/commands/base_spec.rb +102 -0
  37. data/spec/contentful/bootstrap/commands/create_space_spec.rb +72 -0
  38. data/spec/contentful/bootstrap/commands/generate_json_spec.rb +64 -0
  39. data/spec/contentful/bootstrap/commands/generate_token_spec.rb +82 -0
  40. data/spec/contentful/bootstrap/generator_spec.rb +15 -0
  41. data/spec/contentful/bootstrap/server_spec.rb +154 -0
  42. data/spec/contentful/bootstrap/support_spec.rb +27 -0
  43. data/spec/contentful/bootstrap/templates/base_spec.rb +34 -0
  44. data/spec/contentful/bootstrap/templates/blog_spec.rb +32 -0
  45. data/spec/contentful/bootstrap/templates/catalogue_spec.rb +40 -0
  46. data/spec/contentful/bootstrap/templates/gallery_spec.rb +40 -0
  47. data/spec/contentful/bootstrap/templates/json_template_spec.rb +52 -0
  48. data/spec/contentful/bootstrap/templates/links/asset_spec.rb +23 -0
  49. data/spec/contentful/bootstrap/templates/links/base_spec.rb +31 -0
  50. data/spec/contentful/bootstrap/templates/links/entry_spec.rb +23 -0
  51. data/spec/contentful/bootstrap/token_spec.rb +143 -0
  52. data/spec/fixtures/ini_fixtures/contentfulrc.ini +2 -0
  53. data/spec/fixtures/ini_fixtures/no_global.ini +2 -0
  54. data/spec/fixtures/ini_fixtures/no_token.ini +1 -0
  55. data/spec/fixtures/ini_fixtures/sections.ini +5 -0
  56. data/spec/fixtures/json_fixtures/issue_22.json +77 -0
  57. data/spec/fixtures/json_fixtures/simple.json +34 -0
  58. data/spec/fixtures/json_fixtures/wl1z0pal05vy.json +437 -0
  59. data/spec/fixtures/vcr_fixtures/generate_json.yml +384 -0
  60. data/spec/fixtures/vcr_fixtures/issue_22.yml +2488 -0
  61. data/spec/spec_helper.rb +51 -0
  62. metadata +167 -4
@@ -0,0 +1,384 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://cdn.contentful.com/spaces/wl1z0pal05vy/content_types
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - RubyContentfulGem/0.7.0
12
+ Authorization:
13
+ - Bearer 48d7db7d4cd9d09df573c251d456f4acc72141b92f36e57f8684b36cf5cfff6e
14
+ Content-Type:
15
+ - application/vnd.contentful.delivery.v1+json
16
+ Accept-Encoding:
17
+ - gzip
18
+ Connection:
19
+ - close
20
+ Host:
21
+ - cdn.contentful.com
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
29
+ Access-Control-Allow-Methods:
30
+ - GET,HEAD,OPTIONS
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Expose-Headers:
34
+ - Etag
35
+ Access-Control-Max-Age:
36
+ - '86400'
37
+ Cache-Control:
38
+ - max-age=0
39
+ Content-Encoding:
40
+ - gzip
41
+ Content-Type:
42
+ - application/vnd.contentful.delivery.v1+json
43
+ Server:
44
+ - nginx
45
+ X-Contentful-Request-Id:
46
+ - 405-1376681757
47
+ Content-Length:
48
+ - '986'
49
+ Accept-Ranges:
50
+ - bytes
51
+ Date:
52
+ - Mon, 09 Nov 2015 18:33:59 GMT
53
+ Via:
54
+ - 1.1 varnish
55
+ Age:
56
+ - '18626'
57
+ Connection:
58
+ - close
59
+ X-Served-By:
60
+ - cache-jfk1032-JFK
61
+ X-Cache:
62
+ - HIT
63
+ X-Cache-Hits:
64
+ - '1'
65
+ Vary:
66
+ - Accept-Encoding
67
+ body:
68
+ encoding: ASCII-8BIT
69
+ string: !binary |-
70
+ H4sIAAAAAAAAA91XS2/iMBC+91dE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pbtElDI4
87
+ 1FBbqlPti3KjkKGczgusK/b1cfMcR9D4ovOScJWqKL2Ip8UurK6K8Aot2gjA
88
+ as/8fPBLzl7dx8k4vep78WiZzeDtg8L9ZPTtNQNfpzuwei3HaQy+tj1w+i3r
89
+ xPlg8M1pjXG0AuEQROkU5OiMtyGyDJR/hcguooGW2DEiVFUooKPk9r6vz3PW
90
+ qHSVhWry/wLC4j2R7YrCG6u1eL6sCebnK9gNjxSpNCW+1GlYsb1Bu93qdvpN
91
+ 6RKr2M5xq9M7/uCKLelS8dCU4lhlTKJ6RGWy36eD94M/hymdIIgSAAA=
92
+ http_version:
93
+ recorded_at: Mon, 09 Nov 2015 18:33:59 GMT
94
+ - request:
95
+ method: get
96
+ uri: https://cdn.contentful.com/spaces/wl1z0pal05vy/assets
97
+ body:
98
+ encoding: US-ASCII
99
+ string: ''
100
+ headers:
101
+ User-Agent:
102
+ - RubyContentfulGem/0.7.0
103
+ Authorization:
104
+ - Bearer 48d7db7d4cd9d09df573c251d456f4acc72141b92f36e57f8684b36cf5cfff6e
105
+ Content-Type:
106
+ - application/vnd.contentful.delivery.v1+json
107
+ Accept-Encoding:
108
+ - gzip
109
+ Connection:
110
+ - close
111
+ Host:
112
+ - cdn.contentful.com
113
+ response:
114
+ status:
115
+ code: 200
116
+ message: OK
117
+ headers:
118
+ Access-Control-Allow-Headers:
119
+ - 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
120
+ Access-Control-Allow-Methods:
121
+ - GET,HEAD,OPTIONS
122
+ Access-Control-Allow-Origin:
123
+ - "*"
124
+ Access-Control-Expose-Headers:
125
+ - Etag
126
+ Access-Control-Max-Age:
127
+ - '86400'
128
+ Cache-Control:
129
+ - max-age=0
130
+ Content-Encoding:
131
+ - gzip
132
+ Content-Type:
133
+ - application/vnd.contentful.delivery.v1+json
134
+ Server:
135
+ - nginx
136
+ X-Contentful-Request-Id:
137
+ - 90a-2075096937
138
+ Content-Length:
139
+ - '1733'
140
+ Accept-Ranges:
141
+ - bytes
142
+ Date:
143
+ - Mon, 09 Nov 2015 18:33:59 GMT
144
+ Via:
145
+ - 1.1 varnish
146
+ Age:
147
+ - '18626'
148
+ Connection:
149
+ - close
150
+ X-Served-By:
151
+ - cache-jfk1029-JFK
152
+ X-Cache:
153
+ - HIT
154
+ X-Cache-Hits:
155
+ - '1'
156
+ Vary:
157
+ - Accept-Encoding
158
+ body:
159
+ encoding: ASCII-8BIT
160
+ string: !binary |-
161
+ H4sIAAAAAAAAA+WaW3PixhKA3/dXUDydVMVobpoLb16Og3exd9fBDnFSKddo
162
+ NAIZpAEkTCC1//2MBNgyEViLvfGpWOUqS6O5SN39Tbe6+etdrVZPFkm9WfvL
163
+ ntqLdDHW9qp+PJ3KRd22ff0x65OaVI5sO4T5ZTIMx/YK5BejMArT7B5YXYep
164
+ jrIZf89nXM27tUy+VDKWKltr02PVWHiYrCFv3DzUWRgP69maD4ddPR5erh+6
165
+ m8+41SH0s/eZj+ASjOUIuHf5a22Or/fn+YuujgcpJIlOCxPWV5N1Ln/+iaIL
166
+ 0u9TMKG9VtLrzHmx21TfhUlo4kwqhWnVVMtU+8eZtOoIQHIE0REEl5A0iWgi
167
+ t0EA+q04z2zsf9uAkVFylCtQx0dX3c2b3r9bPQj1yH/Qd/a+ti0f8kgPWdsn
168
+ GeVTJSYxDWWnHjZux/1H8q0rE6c6TjcaCCPZ187tWG9183Uqw9HjdfO18wFb
169
+ i+c35qGfDjL5gZVZrVWT/6sPdNgfrG0OPLKHghbznkm4zKanVCBWVHvRSOqz
170
+ aWbbdcfJnyZprF8qmI3saeQUbccp1b3DdQAIzf4UQcwDlEEEiQuAj1zhAuJs
171
+ ybDc6sJ0pb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IKaim0qxXwmcq+Lym2H5oAAX9vWubmBt7k
188
+ Yt3P6qmZZdHqVopt61OzVUzF1bJqwVsBFZ73Pf/jp8vkvNf5AHqUm+vJ8OqZ
189
+ oLIm4Q2MWGX3WTrgIFDvI9vWILzTq9xBIcXwlHcVOoACKFcEwMfMtSappcs9
190
+ l0viKRgA62m3iyLfvXZi6w+7Xa29WSD0vmawqbNsKieEAP4yyaFyg3EwB4wx
191
+ JQPsCWgLKBTYjBDiPgMyEEICp5pkS1negvX9NMuvv6msEJ6nd1/ee+9vw/PO
192
+ pNPpS/4BtWbPo5TAJmINQPbXKgtRcfmAgyh9CsPlx+vlf0ftrFL5j+OGXbwb
193
+ N3uzCm4QYVDM2T6qZ35TobJc8450Ax9wRe0XotC2tuHRwNYtoecTRRQDwHks
194
+ wVKs7rfKT2YayTiutcxYxwNbO91XtXqD9NGUnHZuF+mXEETX/QQRMB8+M5Yl
195
+ NjRFDQYqu8jyAd8FvtQskhsXovGf7Z9Prv/5yBUivhtAe7MKgJS9VORapntH
196
+ acFcLXykKJMBx4HvMqAA9wSFUrnaKZHhfgYvrdD3fEm+3QCVLG/hb5+D0/4F
197
+ N5O+7HYicmHQM10fa2LUILxyRYSUDjiIvu3U6x6lF7babwhhx6uU7ivkhNY/
198
+ HdvEnn/7jU8VcK3vKnrYwx1nud04zMMMEW5LmYwKrjXwhS+hD30ilJKKOEXx
199
+ PSC7PlsX/e3VH+++vvsfTXXuMHgnAAA=
200
+ http_version:
201
+ recorded_at: Mon, 09 Nov 2015 18:34:00 GMT
202
+ - request:
203
+ method: get
204
+ uri: https://cdn.contentful.com/spaces/wl1z0pal05vy/entries
205
+ body:
206
+ encoding: US-ASCII
207
+ string: ''
208
+ headers:
209
+ User-Agent:
210
+ - RubyContentfulGem/0.7.0
211
+ Authorization:
212
+ - Bearer 48d7db7d4cd9d09df573c251d456f4acc72141b92f36e57f8684b36cf5cfff6e
213
+ Content-Type:
214
+ - application/vnd.contentful.delivery.v1+json
215
+ Accept-Encoding:
216
+ - gzip
217
+ Connection:
218
+ - close
219
+ Host:
220
+ - cdn.contentful.com
221
+ response:
222
+ status:
223
+ code: 200
224
+ message: OK
225
+ headers:
226
+ Access-Control-Allow-Headers:
227
+ - 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
228
+ Access-Control-Allow-Methods:
229
+ - GET,HEAD,OPTIONS
230
+ Access-Control-Allow-Origin:
231
+ - "*"
232
+ Access-Control-Expose-Headers:
233
+ - Etag
234
+ Access-Control-Max-Age:
235
+ - '86400'
236
+ Cache-Control:
237
+ - max-age=0
238
+ Content-Encoding:
239
+ - gzip
240
+ Content-Type:
241
+ - application/vnd.contentful.delivery.v1+json
242
+ Server:
243
+ - nginx
244
+ X-Contentful-Request-Id:
245
+ - c40-489486573
246
+ Content-Length:
247
+ - '5045'
248
+ Accept-Ranges:
249
+ - bytes
250
+ Date:
251
+ - Mon, 09 Nov 2015 18:34:00 GMT
252
+ Via:
253
+ - 1.1 varnish
254
+ Age:
255
+ - '0'
256
+ Connection:
257
+ - close
258
+ X-Served-By:
259
+ - cache-atl6229-ATL
260
+ X-Cache:
261
+ - MISS
262
+ X-Cache-Hits:
263
+ - '0'
264
+ Vary:
265
+ - Accept-Encoding
266
+ body:
267
+ encoding: ASCII-8BIT
268
+ string: !binary |-
269
+ H4sIAAAAAAAAA+1c63bayJb+309Rw4+ZOWts0B3h+XOI43Yc7DgOdjv05Kyz
270
+ SlIBMrqALqbxmX6geY55sfmqJGEJxCXB6fQ646zuBKS67trXb+/iHz8R0ogX
271
+ ceOE/AMf8SVZTBm+NbpRRBcNPPv9iLdJwoR6eN4R3+KJO8UXSXzxXN9N8E2W
272
+ su9uwnw+4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3ep0HIuajtFB+YBt6+bQZoZh
371
+ Gardbm2kbllhvMr2hktnBwu32jlRtWanU/nBru3CvanLAcK9WwijRTp6MFV/
372
+ NqcyjcOHeTK3fqAQAlXa5nV/hdVGnKPqL2a169mkpXZU5OPMztCy1aGqKJZl
373
+ UEvSJZuasqnKtLWRvLvNdnbxNLufulI5tcVmZ5r4Va43XEg6WK41+URpowpy
374
+ F9BdTndt6PJd5frp/eDprXc+gSyvw9e1KFZdw8NgLFUv/WTDOsyN1xX53IJy
375
+ y4oqVQPuQ1Duet5oUX3oSKaN++60wwBpWcYQoLdsOZqt2W1JalVpuluC16+x
376
+ bXWoxI/Z4U7EazCNdIVRm9k8XHyRSVaabalSk7zdLGsbunxX8eXZ5r/rsjL9
377
+ 7fzT2eDHIdGyYm6zx3i9rwgbbU17MXNcyx0tm3XaOus4im206dBUh47elmzJ
378
+ tDqGTG2dtWqouluKVwoF1hMQp3n1jkhA4NJV8oqFNTYU7R0uv238tllTM78C
379
+ DNM2dDlAfldj5n3VemX7u33zol7xB4Lg20E0JLL3FX/Yz6q1P8SA13NXq22p
380
+ bUUzgYW3jY7JmOR0HCo7sqN1bJvaWqtM0LLgr7vL4snf8PfvP/3+0/8BvBKs
381
+ +rdbAAA=
382
+ http_version:
383
+ recorded_at: Mon, 09 Nov 2015 18:34:01 GMT
384
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,2488 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.contentful.com/spaces
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"name":"issue_22","defaultLocale":"en-US"}'
9
+ headers:
10
+ User-Agent:
11
+ - RubyContentfulManagementGem/0.7.2
12
+ Authorization:
13
+ - Bearer foobar
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Accept-Ranges:
26
+ - bytes
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
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
+ Cache-Control:
38
+ - max-age=0
39
+ Content-Type:
40
+ - application/vnd.contentful.management.v1+json
41
+ Date:
42
+ - Wed, 18 Nov 2015 12:20:57 GMT
43
+ Etag:
44
+ - '"f4fc7884a50f2e24116f49f2cbc11e22"'
45
+ Location:
46
+ - https://api.contentful.com/spaces/wbtalxpseprz
47
+ Server:
48
+ - nginx
49
+ Status:
50
+ - 201 Created
51
+ Strict-Transport-Security:
52
+ - max-age=15768000
53
+ X-Content-Type-Options:
54
+ - nosniff
55
+ X-Contentful-Request-Id:
56
+ - b89-1468408633
57
+ Content-Length:
58
+ - '451'
59
+ Connection:
60
+ - Close
61
+ body:
62
+ encoding: UTF-8
63
+ string: |+
64
+ {
65
+ "sys":{
66
+ "type":"Space",
67
+ "id":"wbtalxpseprz",
68
+ "version":1,
69
+ "createdBy":{
70
+ "sys":{
71
+ "type":"Link",
72
+ "linkType":"User",
73
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
74
+ }
75
+ },
76
+ "createdAt":"2015-11-18T12:20:57Z",
77
+ "updatedBy":{
78
+ "sys":{
79
+ "type":"Link",
80
+ "linkType":"User",
81
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
82
+ }
83
+ },
84
+ "updatedAt":"2015-11-18T12:20:57Z"
85
+ },
86
+ "name":"issue_22"
87
+ }
88
+
89
+ http_version:
90
+ recorded_at: Wed, 18 Nov 2015 12:20:57 GMT
91
+ - request:
92
+ method: put
93
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/content_types/1VX60jHERm6yuem8I2agWG
94
+ body:
95
+ encoding: UTF-8
96
+ string: '{"displayField":"title","name":"yolo","description":null,"fields":[{"id":"title","name":"title","type":"Symbol"},{"id":"assets","name":"assets","type":"Array","items":{"type":"Link","linkType":"Asset"}}]}'
97
+ headers:
98
+ User-Agent:
99
+ - RubyContentfulManagementGem/0.7.2
100
+ Authorization:
101
+ - Bearer foobar
102
+ Content-Type:
103
+ - application/vnd.contentful.management.v1+json
104
+ Connection:
105
+ - close
106
+ Host:
107
+ - api.contentful.com
108
+ response:
109
+ status:
110
+ code: 201
111
+ message: Created
112
+ headers:
113
+ Access-Control-Allow-Headers:
114
+ - 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
115
+ Access-Control-Allow-Methods:
116
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
117
+ Access-Control-Allow-Origin:
118
+ - "*"
119
+ Access-Control-Expose-Headers:
120
+ - Etag
121
+ Access-Control-Max-Age:
122
+ - '1728000'
123
+ Cf-Space-Id:
124
+ - wbtalxpseprz
125
+ Content-Type:
126
+ - application/vnd.contentful.management.v1+json
127
+ Date:
128
+ - Wed, 18 Nov 2015 12:20:59 GMT
129
+ Etag:
130
+ - '"e8a357ce998307b38e426765b46a2a2b"'
131
+ Server:
132
+ - nginx
133
+ Strict-Transport-Security:
134
+ - max-age=15768000
135
+ X-Content-Type-Options:
136
+ - nosniff
137
+ X-Contentful-Request-Id:
138
+ - content-api:19f8RrtM8OkSiSmeAocO2g
139
+ X-Powered-By:
140
+ - Express
141
+ Content-Length:
142
+ - '1023'
143
+ Connection:
144
+ - Close
145
+ body:
146
+ encoding: UTF-8
147
+ string: |
148
+ {
149
+ "displayField": "title",
150
+ "name": "yolo",
151
+ "description": null,
152
+ "fields": [
153
+ {
154
+ "id": "title",
155
+ "name": "title",
156
+ "type": "Symbol",
157
+ "localized": false,
158
+ "validations": []
159
+ },
160
+ {
161
+ "id": "assets",
162
+ "name": "assets",
163
+ "type": "Array",
164
+ "items": {
165
+ "type": "Link",
166
+ "linkType": "Asset"
167
+ },
168
+ "localized": false,
169
+ "validations": []
170
+ }
171
+ ],
172
+ "sys": {
173
+ "id": "1VX60jHERm6yuem8I2agWG",
174
+ "type": "ContentType",
175
+ "version": 1,
176
+ "createdAt": "2015-11-18T12:20:59.205Z",
177
+ "createdBy": {
178
+ "sys": {
179
+ "type": "Link",
180
+ "linkType": "User",
181
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
182
+ }
183
+ },
184
+ "space": {
185
+ "sys": {
186
+ "type": "Link",
187
+ "linkType": "Space",
188
+ "id": "wbtalxpseprz"
189
+ }
190
+ },
191
+ "updatedAt": "2015-11-18T12:20:59.206Z",
192
+ "updatedBy": {
193
+ "sys": {
194
+ "type": "Link",
195
+ "linkType": "User",
196
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
197
+ }
198
+ }
199
+ }
200
+ }
201
+ http_version:
202
+ recorded_at: Wed, 18 Nov 2015 12:20:59 GMT
203
+ - request:
204
+ method: put
205
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/content_types/1VX60jHERm6yuem8I2agWG/published
206
+ body:
207
+ encoding: US-ASCII
208
+ string: ''
209
+ headers:
210
+ User-Agent:
211
+ - RubyContentfulManagementGem/0.7.2
212
+ Authorization:
213
+ - Bearer foobar
214
+ Content-Type:
215
+ - application/vnd.contentful.management.v1+json
216
+ X-Contentful-Version:
217
+ - '1'
218
+ Content-Length:
219
+ - '0'
220
+ Connection:
221
+ - close
222
+ Host:
223
+ - api.contentful.com
224
+ response:
225
+ status:
226
+ code: 200
227
+ message: OK
228
+ headers:
229
+ Access-Control-Allow-Headers:
230
+ - 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
231
+ Access-Control-Allow-Methods:
232
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
233
+ Access-Control-Allow-Origin:
234
+ - "*"
235
+ Access-Control-Expose-Headers:
236
+ - Etag
237
+ Access-Control-Max-Age:
238
+ - '1728000'
239
+ Cf-Space-Id:
240
+ - wbtalxpseprz
241
+ Content-Type:
242
+ - application/vnd.contentful.management.v1+json
243
+ Date:
244
+ - Wed, 18 Nov 2015 12:21:00 GMT
245
+ Etag:
246
+ - '"b57191984ce3ba2558afa0f684557c65"'
247
+ Server:
248
+ - nginx
249
+ Strict-Transport-Security:
250
+ - max-age=15768000
251
+ X-Content-Type-Options:
252
+ - nosniff
253
+ X-Contentful-Request-Id:
254
+ - content-api:3sBXBSwPCMyqo4McQaK2Ca
255
+ X-Powered-By:
256
+ - Express
257
+ Content-Length:
258
+ - '1318'
259
+ Connection:
260
+ - Close
261
+ body:
262
+ encoding: UTF-8
263
+ string: |
264
+ {
265
+ "displayField": "title",
266
+ "name": "yolo",
267
+ "description": null,
268
+ "fields": [
269
+ {
270
+ "id": "title",
271
+ "name": "title",
272
+ "type": "Symbol",
273
+ "localized": false,
274
+ "validations": []
275
+ },
276
+ {
277
+ "id": "assets",
278
+ "name": "assets",
279
+ "type": "Array",
280
+ "items": {
281
+ "type": "Link",
282
+ "linkType": "Asset"
283
+ },
284
+ "localized": false,
285
+ "validations": []
286
+ }
287
+ ],
288
+ "sys": {
289
+ "id": "1VX60jHERm6yuem8I2agWG",
290
+ "type": "ContentType",
291
+ "createdAt": "2015-11-18T12:20:59.205Z",
292
+ "createdBy": {
293
+ "sys": {
294
+ "type": "Link",
295
+ "linkType": "User",
296
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
297
+ }
298
+ },
299
+ "space": {
300
+ "sys": {
301
+ "type": "Link",
302
+ "linkType": "Space",
303
+ "id": "wbtalxpseprz"
304
+ }
305
+ },
306
+ "version": 2,
307
+ "updatedAt": "2015-11-18T12:21:00.054Z",
308
+ "updatedBy": {
309
+ "sys": {
310
+ "type": "Link",
311
+ "linkType": "User",
312
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
313
+ }
314
+ },
315
+ "firstPublishedAt": "2015-11-18T12:21:00.054Z",
316
+ "publishedCounter": 1,
317
+ "publishedAt": "2015-11-18T12:21:00.054Z",
318
+ "publishedBy": {
319
+ "sys": {
320
+ "type": "Link",
321
+ "linkType": "User",
322
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
323
+ }
324
+ },
325
+ "publishedVersion": 1
326
+ }
327
+ }
328
+ http_version:
329
+ recorded_at: Wed, 18 Nov 2015 12:21:00 GMT
330
+ - request:
331
+ method: put
332
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/2cMU9UUngYMqAEmw4Cm8Iw
333
+ body:
334
+ encoding: UTF-8
335
+ string: '{"fields":{"title":{"en-US":"Screen Shot 2015-11-18 at 11.42.12"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"Screen
336
+ Shot 2015-11-18 at 11.42.12.jpg","upload":"https://images.contentful.com/o2n5bdfcee61/2cMU9UUngYMqAEmw4Cm8Iw/466d36d31bb59d487115b7be995438e1/Screen_Shot_2015-11-18_at_11.42.12.png"}}}}'
337
+ headers:
338
+ User-Agent:
339
+ - RubyContentfulManagementGem/0.7.2
340
+ Authorization:
341
+ - Bearer foobar
342
+ Content-Type:
343
+ - application/vnd.contentful.management.v1+json
344
+ Connection:
345
+ - close
346
+ Host:
347
+ - api.contentful.com
348
+ response:
349
+ status:
350
+ code: 201
351
+ message: Created
352
+ headers:
353
+ Access-Control-Allow-Headers:
354
+ - 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
355
+ Access-Control-Allow-Methods:
356
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
357
+ Access-Control-Allow-Origin:
358
+ - "*"
359
+ Access-Control-Expose-Headers:
360
+ - Etag
361
+ Access-Control-Max-Age:
362
+ - '1728000'
363
+ Cf-Space-Id:
364
+ - wbtalxpseprz
365
+ Content-Type:
366
+ - application/vnd.contentful.management.v1+json
367
+ Date:
368
+ - Wed, 18 Nov 2015 12:21:01 GMT
369
+ Etag:
370
+ - '"0cb47fefce1f00a632226404960a648a"'
371
+ Server:
372
+ - nginx
373
+ Strict-Transport-Security:
374
+ - max-age=15768000
375
+ X-Content-Type-Options:
376
+ - nosniff
377
+ X-Contentful-Request-Id:
378
+ - content-api:1QlDr6SSEQkU28M0Eo8uES
379
+ X-Powered-By:
380
+ - Express
381
+ Content-Length:
382
+ - '1033'
383
+ Connection:
384
+ - Close
385
+ body:
386
+ encoding: UTF-8
387
+ string: |
388
+ {
389
+ "fields": {
390
+ "title": {
391
+ "en-US": "Screen Shot 2015-11-18 at 11.42.12"
392
+ },
393
+ "description": {
394
+ "en-US": null
395
+ },
396
+ "file": {
397
+ "en-US": {
398
+ "contentType": "image/jpeg",
399
+ "fileName": "Screen Shot 2015-11-18 at 11.42.12.jpg",
400
+ "upload": "https://images.contentful.com/o2n5bdfcee61/2cMU9UUngYMqAEmw4Cm8Iw/466d36d31bb59d487115b7be995438e1/Screen_Shot_2015-11-18_at_11.42.12.png"
401
+ }
402
+ }
403
+ },
404
+ "sys": {
405
+ "id": "2cMU9UUngYMqAEmw4Cm8Iw",
406
+ "type": "Asset",
407
+ "version": 1,
408
+ "createdAt": "2015-11-18T12:21:01.356Z",
409
+ "createdBy": {
410
+ "sys": {
411
+ "type": "Link",
412
+ "linkType": "User",
413
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
414
+ }
415
+ },
416
+ "space": {
417
+ "sys": {
418
+ "type": "Link",
419
+ "linkType": "Space",
420
+ "id": "wbtalxpseprz"
421
+ }
422
+ },
423
+ "updatedAt": "2015-11-18T12:21:01.357Z",
424
+ "updatedBy": {
425
+ "sys": {
426
+ "type": "Link",
427
+ "linkType": "User",
428
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
429
+ }
430
+ }
431
+ }
432
+ }
433
+ http_version:
434
+ recorded_at: Wed, 18 Nov 2015 12:21:01 GMT
435
+ - request:
436
+ method: put
437
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/2cMU9UUngYMqAEmw4Cm8Iw/files/en-US/process
438
+ body:
439
+ encoding: US-ASCII
440
+ string: ''
441
+ headers:
442
+ User-Agent:
443
+ - RubyContentfulManagementGem/0.7.2
444
+ Authorization:
445
+ - Bearer foobar
446
+ Content-Type:
447
+ - application/vnd.contentful.management.v1+json
448
+ X-Contentful-Version:
449
+ - '1'
450
+ Content-Length:
451
+ - '0'
452
+ Connection:
453
+ - close
454
+ Host:
455
+ - api.contentful.com
456
+ response:
457
+ status:
458
+ code: 204
459
+ message: No Content
460
+ headers:
461
+ Access-Control-Allow-Headers:
462
+ - 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
463
+ Access-Control-Allow-Methods:
464
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
465
+ Access-Control-Allow-Origin:
466
+ - "*"
467
+ Access-Control-Expose-Headers:
468
+ - Etag
469
+ Access-Control-Max-Age:
470
+ - '1728000'
471
+ Cf-Space-Id:
472
+ - wbtalxpseprz
473
+ Content-Type:
474
+ - application/vnd.contentful.management.v1+json
475
+ Date:
476
+ - Wed, 18 Nov 2015 12:21:02 GMT
477
+ Server:
478
+ - nginx
479
+ Strict-Transport-Security:
480
+ - max-age=15768000
481
+ X-Content-Type-Options:
482
+ - nosniff
483
+ X-Contentful-Request-Id:
484
+ - content-api:2ESKF84OSoGqKYK6O0US0c
485
+ X-Powered-By:
486
+ - Express
487
+ Connection:
488
+ - Close
489
+ body:
490
+ encoding: UTF-8
491
+ string: ''
492
+ http_version:
493
+ recorded_at: Wed, 18 Nov 2015 12:21:02 GMT
494
+ - request:
495
+ method: get
496
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/2cMU9UUngYMqAEmw4Cm8Iw
497
+ body:
498
+ encoding: US-ASCII
499
+ string: ''
500
+ headers:
501
+ User-Agent:
502
+ - RubyContentfulManagementGem/0.7.2
503
+ Authorization:
504
+ - Bearer foobar
505
+ Content-Type:
506
+ - application/vnd.contentful.management.v1+json
507
+ Content-Length:
508
+ - '0'
509
+ Connection:
510
+ - close
511
+ Host:
512
+ - api.contentful.com
513
+ response:
514
+ status:
515
+ code: 200
516
+ message: OK
517
+ headers:
518
+ Access-Control-Allow-Headers:
519
+ - 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
520
+ Access-Control-Allow-Methods:
521
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
522
+ Access-Control-Allow-Origin:
523
+ - "*"
524
+ Access-Control-Expose-Headers:
525
+ - Etag
526
+ Access-Control-Max-Age:
527
+ - '1728000'
528
+ Cf-Space-Id:
529
+ - wbtalxpseprz
530
+ Content-Type:
531
+ - application/vnd.contentful.management.v1+json
532
+ Date:
533
+ - Wed, 18 Nov 2015 12:21:03 GMT
534
+ Etag:
535
+ - '"e07806405f2fd5238390c11aa700c030"'
536
+ Server:
537
+ - nginx
538
+ Strict-Transport-Security:
539
+ - max-age=15768000
540
+ X-Content-Type-Options:
541
+ - nosniff
542
+ X-Contentful-Request-Id:
543
+ - content-api:1g5Dig9q3C02YQcg4W2eKK
544
+ X-Powered-By:
545
+ - Express
546
+ Content-Length:
547
+ - '1166'
548
+ Connection:
549
+ - Close
550
+ body:
551
+ encoding: UTF-8
552
+ string: |
553
+ {
554
+ "fields": {
555
+ "title": {
556
+ "en-US": "Screen Shot 2015-11-18 at 11.42.12"
557
+ },
558
+ "description": {
559
+ "en-US": null
560
+ },
561
+ "file": {
562
+ "en-US": {
563
+ "contentType": "image/jpeg",
564
+ "fileName": "Screen Shot 2015-11-18 at 11.42.12.jpg",
565
+ "details": {
566
+ "image": {
567
+ "width": 924,
568
+ "height": 348
569
+ },
570
+ "size": 26898
571
+ },
572
+ "url": "//images.contentful.com/wbtalxpseprz/2cMU9UUngYMqAEmw4Cm8Iw/4bb979950d59edeed3c09c172bfdfa63/Screen_Shot_2015-11-18_at_11.42.12.jpg"
573
+ }
574
+ }
575
+ },
576
+ "sys": {
577
+ "id": "2cMU9UUngYMqAEmw4Cm8Iw",
578
+ "type": "Asset",
579
+ "createdAt": "2015-11-18T12:21:01.356Z",
580
+ "createdBy": {
581
+ "sys": {
582
+ "type": "Link",
583
+ "linkType": "User",
584
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
585
+ }
586
+ },
587
+ "space": {
588
+ "sys": {
589
+ "type": "Link",
590
+ "linkType": "Space",
591
+ "id": "wbtalxpseprz"
592
+ }
593
+ },
594
+ "version": 2,
595
+ "updatedAt": "2015-11-18T12:21:02.759Z",
596
+ "updatedBy": {
597
+ "sys": {
598
+ "type": "Link",
599
+ "linkType": "User",
600
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
601
+ }
602
+ }
603
+ }
604
+ }
605
+ http_version:
606
+ recorded_at: Wed, 18 Nov 2015 12:21:03 GMT
607
+ - request:
608
+ method: put
609
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/2cMU9UUngYMqAEmw4Cm8Iw/published
610
+ body:
611
+ encoding: US-ASCII
612
+ string: ''
613
+ headers:
614
+ User-Agent:
615
+ - RubyContentfulManagementGem/0.7.2
616
+ Authorization:
617
+ - Bearer foobar
618
+ Content-Type:
619
+ - application/vnd.contentful.management.v1+json
620
+ X-Contentful-Version:
621
+ - '2'
622
+ Content-Length:
623
+ - '0'
624
+ Connection:
625
+ - close
626
+ Host:
627
+ - api.contentful.com
628
+ response:
629
+ status:
630
+ code: 200
631
+ message: OK
632
+ headers:
633
+ Access-Control-Allow-Headers:
634
+ - 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
635
+ Access-Control-Allow-Methods:
636
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
637
+ Access-Control-Allow-Origin:
638
+ - "*"
639
+ Access-Control-Expose-Headers:
640
+ - Etag
641
+ Access-Control-Max-Age:
642
+ - '1728000'
643
+ Cf-Space-Id:
644
+ - wbtalxpseprz
645
+ Content-Type:
646
+ - application/vnd.contentful.management.v1+json
647
+ Date:
648
+ - Wed, 18 Nov 2015 12:21:04 GMT
649
+ Etag:
650
+ - '"649d59b2976af140bfb38b69533a414b"'
651
+ Server:
652
+ - nginx
653
+ Strict-Transport-Security:
654
+ - max-age=15768000
655
+ X-Content-Type-Options:
656
+ - nosniff
657
+ X-Contentful-Request-Id:
658
+ - content-api:6xs5pPPJe0I8mOSuMCuSOQ
659
+ X-Powered-By:
660
+ - Express
661
+ Content-Length:
662
+ - '1461'
663
+ Connection:
664
+ - Close
665
+ body:
666
+ encoding: UTF-8
667
+ string: |
668
+ {
669
+ "fields": {
670
+ "title": {
671
+ "en-US": "Screen Shot 2015-11-18 at 11.42.12"
672
+ },
673
+ "description": {
674
+ "en-US": null
675
+ },
676
+ "file": {
677
+ "en-US": {
678
+ "contentType": "image/jpeg",
679
+ "fileName": "Screen Shot 2015-11-18 at 11.42.12.jpg",
680
+ "details": {
681
+ "image": {
682
+ "width": 924,
683
+ "height": 348
684
+ },
685
+ "size": 26898
686
+ },
687
+ "url": "//images.contentful.com/wbtalxpseprz/2cMU9UUngYMqAEmw4Cm8Iw/4bb979950d59edeed3c09c172bfdfa63/Screen_Shot_2015-11-18_at_11.42.12.jpg"
688
+ }
689
+ }
690
+ },
691
+ "sys": {
692
+ "id": "2cMU9UUngYMqAEmw4Cm8Iw",
693
+ "type": "Asset",
694
+ "createdAt": "2015-11-18T12:21:01.356Z",
695
+ "createdBy": {
696
+ "sys": {
697
+ "type": "Link",
698
+ "linkType": "User",
699
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
700
+ }
701
+ },
702
+ "space": {
703
+ "sys": {
704
+ "type": "Link",
705
+ "linkType": "Space",
706
+ "id": "wbtalxpseprz"
707
+ }
708
+ },
709
+ "version": 3,
710
+ "updatedAt": "2015-11-18T12:21:04.269Z",
711
+ "updatedBy": {
712
+ "sys": {
713
+ "type": "Link",
714
+ "linkType": "User",
715
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
716
+ }
717
+ },
718
+ "firstPublishedAt": "2015-11-18T12:21:04.269Z",
719
+ "publishedCounter": 1,
720
+ "publishedAt": "2015-11-18T12:21:04.269Z",
721
+ "publishedBy": {
722
+ "sys": {
723
+ "type": "Link",
724
+ "linkType": "User",
725
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
726
+ }
727
+ },
728
+ "publishedVersion": 2
729
+ }
730
+ }
731
+ http_version:
732
+ recorded_at: Wed, 18 Nov 2015 12:21:04 GMT
733
+ - request:
734
+ method: put
735
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/4D5sv49qaAoMIkWgAW8g0I
736
+ body:
737
+ encoding: UTF-8
738
+ string: '{"fields":{"title":{"en-US":"Screen Shot 2015-11-16 at 21.37.19"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"Screen
739
+ Shot 2015-11-16 at 21.37.19.jpg","upload":"https://images.contentful.com/o2n5bdfcee61/4D5sv49qaAoMIkWgAW8g0I/b61adc1bc26a74ac9b65e19365747cf9/Screen_Shot_2015-11-16_at_21.37.19.png"}}}}'
740
+ headers:
741
+ User-Agent:
742
+ - RubyContentfulManagementGem/0.7.2
743
+ Authorization:
744
+ - Bearer foobar
745
+ Content-Type:
746
+ - application/vnd.contentful.management.v1+json
747
+ Connection:
748
+ - close
749
+ Host:
750
+ - api.contentful.com
751
+ response:
752
+ status:
753
+ code: 201
754
+ message: Created
755
+ headers:
756
+ Access-Control-Allow-Headers:
757
+ - 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
758
+ Access-Control-Allow-Methods:
759
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
760
+ Access-Control-Allow-Origin:
761
+ - "*"
762
+ Access-Control-Expose-Headers:
763
+ - Etag
764
+ Access-Control-Max-Age:
765
+ - '1728000'
766
+ Cf-Space-Id:
767
+ - wbtalxpseprz
768
+ Content-Type:
769
+ - application/vnd.contentful.management.v1+json
770
+ Date:
771
+ - Wed, 18 Nov 2015 12:21:06 GMT
772
+ Etag:
773
+ - '"f364a5162e6f93e571dd8da2df2f118c"'
774
+ Server:
775
+ - nginx
776
+ Strict-Transport-Security:
777
+ - max-age=15768000
778
+ X-Content-Type-Options:
779
+ - nosniff
780
+ X-Contentful-Request-Id:
781
+ - content-api:5pdHNfaEggkAEOwEcO2GgA
782
+ X-Powered-By:
783
+ - Express
784
+ Content-Length:
785
+ - '1033'
786
+ Connection:
787
+ - Close
788
+ body:
789
+ encoding: UTF-8
790
+ string: |
791
+ {
792
+ "fields": {
793
+ "title": {
794
+ "en-US": "Screen Shot 2015-11-16 at 21.37.19"
795
+ },
796
+ "description": {
797
+ "en-US": null
798
+ },
799
+ "file": {
800
+ "en-US": {
801
+ "contentType": "image/jpeg",
802
+ "fileName": "Screen Shot 2015-11-16 at 21.37.19.jpg",
803
+ "upload": "https://images.contentful.com/o2n5bdfcee61/4D5sv49qaAoMIkWgAW8g0I/b61adc1bc26a74ac9b65e19365747cf9/Screen_Shot_2015-11-16_at_21.37.19.png"
804
+ }
805
+ }
806
+ },
807
+ "sys": {
808
+ "id": "4D5sv49qaAoMIkWgAW8g0I",
809
+ "type": "Asset",
810
+ "version": 1,
811
+ "createdAt": "2015-11-18T12:21:05.965Z",
812
+ "createdBy": {
813
+ "sys": {
814
+ "type": "Link",
815
+ "linkType": "User",
816
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
817
+ }
818
+ },
819
+ "space": {
820
+ "sys": {
821
+ "type": "Link",
822
+ "linkType": "Space",
823
+ "id": "wbtalxpseprz"
824
+ }
825
+ },
826
+ "updatedAt": "2015-11-18T12:21:05.965Z",
827
+ "updatedBy": {
828
+ "sys": {
829
+ "type": "Link",
830
+ "linkType": "User",
831
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
832
+ }
833
+ }
834
+ }
835
+ }
836
+ http_version:
837
+ recorded_at: Wed, 18 Nov 2015 12:21:05 GMT
838
+ - request:
839
+ method: put
840
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/4D5sv49qaAoMIkWgAW8g0I/files/en-US/process
841
+ body:
842
+ encoding: US-ASCII
843
+ string: ''
844
+ headers:
845
+ User-Agent:
846
+ - RubyContentfulManagementGem/0.7.2
847
+ Authorization:
848
+ - Bearer foobar
849
+ Content-Type:
850
+ - application/vnd.contentful.management.v1+json
851
+ X-Contentful-Version:
852
+ - '1'
853
+ Content-Length:
854
+ - '0'
855
+ Connection:
856
+ - close
857
+ Host:
858
+ - api.contentful.com
859
+ response:
860
+ status:
861
+ code: 204
862
+ message: No Content
863
+ headers:
864
+ Access-Control-Allow-Headers:
865
+ - 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
866
+ Access-Control-Allow-Methods:
867
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
868
+ Access-Control-Allow-Origin:
869
+ - "*"
870
+ Access-Control-Expose-Headers:
871
+ - Etag
872
+ Access-Control-Max-Age:
873
+ - '1728000'
874
+ Cf-Space-Id:
875
+ - wbtalxpseprz
876
+ Content-Type:
877
+ - application/vnd.contentful.management.v1+json
878
+ Date:
879
+ - Wed, 18 Nov 2015 12:21:06 GMT
880
+ Server:
881
+ - nginx
882
+ Strict-Transport-Security:
883
+ - max-age=15768000
884
+ X-Content-Type-Options:
885
+ - nosniff
886
+ X-Contentful-Request-Id:
887
+ - content-api:4WCAYOc0nCKMQ24G0GKgO2
888
+ X-Powered-By:
889
+ - Express
890
+ Connection:
891
+ - Close
892
+ body:
893
+ encoding: UTF-8
894
+ string: ''
895
+ http_version:
896
+ recorded_at: Wed, 18 Nov 2015 12:21:06 GMT
897
+ - request:
898
+ method: get
899
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/4D5sv49qaAoMIkWgAW8g0I
900
+ body:
901
+ encoding: US-ASCII
902
+ string: ''
903
+ headers:
904
+ User-Agent:
905
+ - RubyContentfulManagementGem/0.7.2
906
+ Authorization:
907
+ - Bearer foobar
908
+ Content-Type:
909
+ - application/vnd.contentful.management.v1+json
910
+ Content-Length:
911
+ - '0'
912
+ Connection:
913
+ - close
914
+ Host:
915
+ - api.contentful.com
916
+ response:
917
+ status:
918
+ code: 200
919
+ message: OK
920
+ headers:
921
+ Access-Control-Allow-Headers:
922
+ - 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
923
+ Access-Control-Allow-Methods:
924
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
925
+ Access-Control-Allow-Origin:
926
+ - "*"
927
+ Access-Control-Expose-Headers:
928
+ - Etag
929
+ Access-Control-Max-Age:
930
+ - '1728000'
931
+ Cf-Space-Id:
932
+ - wbtalxpseprz
933
+ Content-Type:
934
+ - application/vnd.contentful.management.v1+json
935
+ Date:
936
+ - Wed, 18 Nov 2015 12:21:07 GMT
937
+ Etag:
938
+ - '"bfdf175e681d6d2071273686da06994d"'
939
+ Server:
940
+ - nginx
941
+ Strict-Transport-Security:
942
+ - max-age=15768000
943
+ X-Content-Type-Options:
944
+ - nosniff
945
+ X-Contentful-Request-Id:
946
+ - content-api:3FhGUPG8YUWqsWGWqe8CAM
947
+ X-Powered-By:
948
+ - Express
949
+ Content-Length:
950
+ - '1165'
951
+ Connection:
952
+ - Close
953
+ body:
954
+ encoding: UTF-8
955
+ string: |
956
+ {
957
+ "fields": {
958
+ "title": {
959
+ "en-US": "Screen Shot 2015-11-16 at 21.37.19"
960
+ },
961
+ "description": {
962
+ "en-US": null
963
+ },
964
+ "file": {
965
+ "en-US": {
966
+ "contentType": "image/jpeg",
967
+ "fileName": "Screen Shot 2015-11-16 at 21.37.19.jpg",
968
+ "details": {
969
+ "image": {
970
+ "width": 640,
971
+ "height": 92
972
+ },
973
+ "size": 25892
974
+ },
975
+ "url": "//images.contentful.com/wbtalxpseprz/4D5sv49qaAoMIkWgAW8g0I/6603b3ac321b0fad9157232eb1dda83a/Screen_Shot_2015-11-16_at_21.37.19.jpg"
976
+ }
977
+ }
978
+ },
979
+ "sys": {
980
+ "id": "4D5sv49qaAoMIkWgAW8g0I",
981
+ "type": "Asset",
982
+ "createdAt": "2015-11-18T12:21:05.965Z",
983
+ "createdBy": {
984
+ "sys": {
985
+ "type": "Link",
986
+ "linkType": "User",
987
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
988
+ }
989
+ },
990
+ "space": {
991
+ "sys": {
992
+ "type": "Link",
993
+ "linkType": "Space",
994
+ "id": "wbtalxpseprz"
995
+ }
996
+ },
997
+ "version": 2,
998
+ "updatedAt": "2015-11-18T12:21:07.151Z",
999
+ "updatedBy": {
1000
+ "sys": {
1001
+ "type": "Link",
1002
+ "linkType": "User",
1003
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1004
+ }
1005
+ }
1006
+ }
1007
+ }
1008
+ http_version:
1009
+ recorded_at: Wed, 18 Nov 2015 12:21:07 GMT
1010
+ - request:
1011
+ method: put
1012
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/4D5sv49qaAoMIkWgAW8g0I/published
1013
+ body:
1014
+ encoding: US-ASCII
1015
+ string: ''
1016
+ headers:
1017
+ User-Agent:
1018
+ - RubyContentfulManagementGem/0.7.2
1019
+ Authorization:
1020
+ - Bearer foobar
1021
+ Content-Type:
1022
+ - application/vnd.contentful.management.v1+json
1023
+ X-Contentful-Version:
1024
+ - '2'
1025
+ Content-Length:
1026
+ - '0'
1027
+ Connection:
1028
+ - close
1029
+ Host:
1030
+ - api.contentful.com
1031
+ response:
1032
+ status:
1033
+ code: 200
1034
+ message: OK
1035
+ headers:
1036
+ Access-Control-Allow-Headers:
1037
+ - 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
1038
+ Access-Control-Allow-Methods:
1039
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1040
+ Access-Control-Allow-Origin:
1041
+ - "*"
1042
+ Access-Control-Expose-Headers:
1043
+ - Etag
1044
+ Access-Control-Max-Age:
1045
+ - '1728000'
1046
+ Cf-Space-Id:
1047
+ - wbtalxpseprz
1048
+ Content-Type:
1049
+ - application/vnd.contentful.management.v1+json
1050
+ Date:
1051
+ - Wed, 18 Nov 2015 12:21:08 GMT
1052
+ Etag:
1053
+ - '"99285c5f45517e53a7020ad9995be04a"'
1054
+ Server:
1055
+ - nginx
1056
+ Strict-Transport-Security:
1057
+ - max-age=15768000
1058
+ X-Content-Type-Options:
1059
+ - nosniff
1060
+ X-Contentful-Request-Id:
1061
+ - content-api:ATBStKC3bUq4oEquogIoi
1062
+ X-Powered-By:
1063
+ - Express
1064
+ Content-Length:
1065
+ - '1460'
1066
+ Connection:
1067
+ - Close
1068
+ body:
1069
+ encoding: UTF-8
1070
+ string: |
1071
+ {
1072
+ "fields": {
1073
+ "title": {
1074
+ "en-US": "Screen Shot 2015-11-16 at 21.37.19"
1075
+ },
1076
+ "description": {
1077
+ "en-US": null
1078
+ },
1079
+ "file": {
1080
+ "en-US": {
1081
+ "contentType": "image/jpeg",
1082
+ "fileName": "Screen Shot 2015-11-16 at 21.37.19.jpg",
1083
+ "details": {
1084
+ "image": {
1085
+ "width": 640,
1086
+ "height": 92
1087
+ },
1088
+ "size": 25892
1089
+ },
1090
+ "url": "//images.contentful.com/wbtalxpseprz/4D5sv49qaAoMIkWgAW8g0I/6603b3ac321b0fad9157232eb1dda83a/Screen_Shot_2015-11-16_at_21.37.19.jpg"
1091
+ }
1092
+ }
1093
+ },
1094
+ "sys": {
1095
+ "id": "4D5sv49qaAoMIkWgAW8g0I",
1096
+ "type": "Asset",
1097
+ "createdAt": "2015-11-18T12:21:05.965Z",
1098
+ "createdBy": {
1099
+ "sys": {
1100
+ "type": "Link",
1101
+ "linkType": "User",
1102
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1103
+ }
1104
+ },
1105
+ "space": {
1106
+ "sys": {
1107
+ "type": "Link",
1108
+ "linkType": "Space",
1109
+ "id": "wbtalxpseprz"
1110
+ }
1111
+ },
1112
+ "version": 3,
1113
+ "updatedAt": "2015-11-18T12:21:08.316Z",
1114
+ "updatedBy": {
1115
+ "sys": {
1116
+ "type": "Link",
1117
+ "linkType": "User",
1118
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1119
+ }
1120
+ },
1121
+ "firstPublishedAt": "2015-11-18T12:21:08.316Z",
1122
+ "publishedCounter": 1,
1123
+ "publishedAt": "2015-11-18T12:21:08.316Z",
1124
+ "publishedBy": {
1125
+ "sys": {
1126
+ "type": "Link",
1127
+ "linkType": "User",
1128
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1129
+ }
1130
+ },
1131
+ "publishedVersion": 2
1132
+ }
1133
+ }
1134
+ http_version:
1135
+ recorded_at: Wed, 18 Nov 2015 12:21:08 GMT
1136
+ - request:
1137
+ method: put
1138
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/4eX9aQsDdeqweg6Si00KaW
1139
+ body:
1140
+ encoding: UTF-8
1141
+ string: '{"fields":{"title":{"en-US":"Screen Shot 2015-11-17 at 17.57.00"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"Screen
1142
+ Shot 2015-11-17 at 17.57.00.jpg","upload":"https://images.contentful.com/o2n5bdfcee61/4eX9aQsDdeqweg6Si00KaW/16646165346d59974fbfd4e0223ea89e/Screen_Shot_2015-11-17_at_17.57.00.png"}}}}'
1143
+ headers:
1144
+ User-Agent:
1145
+ - RubyContentfulManagementGem/0.7.2
1146
+ Authorization:
1147
+ - Bearer foobar
1148
+ Content-Type:
1149
+ - application/vnd.contentful.management.v1+json
1150
+ Connection:
1151
+ - close
1152
+ Host:
1153
+ - api.contentful.com
1154
+ response:
1155
+ status:
1156
+ code: 201
1157
+ message: Created
1158
+ headers:
1159
+ Access-Control-Allow-Headers:
1160
+ - 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
1161
+ Access-Control-Allow-Methods:
1162
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1163
+ Access-Control-Allow-Origin:
1164
+ - "*"
1165
+ Access-Control-Expose-Headers:
1166
+ - Etag
1167
+ Access-Control-Max-Age:
1168
+ - '1728000'
1169
+ Cf-Space-Id:
1170
+ - wbtalxpseprz
1171
+ Content-Type:
1172
+ - application/vnd.contentful.management.v1+json
1173
+ Date:
1174
+ - Wed, 18 Nov 2015 12:21:09 GMT
1175
+ Etag:
1176
+ - '"c3256898469aa4a9b9a92b3a6201d1ce"'
1177
+ Server:
1178
+ - nginx
1179
+ Strict-Transport-Security:
1180
+ - max-age=15768000
1181
+ X-Content-Type-Options:
1182
+ - nosniff
1183
+ X-Contentful-Request-Id:
1184
+ - content-api:5QJDxLkENi08CQOS2ICUqU
1185
+ X-Powered-By:
1186
+ - Express
1187
+ Content-Length:
1188
+ - '1033'
1189
+ Connection:
1190
+ - Close
1191
+ body:
1192
+ encoding: UTF-8
1193
+ string: |
1194
+ {
1195
+ "fields": {
1196
+ "title": {
1197
+ "en-US": "Screen Shot 2015-11-17 at 17.57.00"
1198
+ },
1199
+ "description": {
1200
+ "en-US": null
1201
+ },
1202
+ "file": {
1203
+ "en-US": {
1204
+ "contentType": "image/jpeg",
1205
+ "fileName": "Screen Shot 2015-11-17 at 17.57.00.jpg",
1206
+ "upload": "https://images.contentful.com/o2n5bdfcee61/4eX9aQsDdeqweg6Si00KaW/16646165346d59974fbfd4e0223ea89e/Screen_Shot_2015-11-17_at_17.57.00.png"
1207
+ }
1208
+ }
1209
+ },
1210
+ "sys": {
1211
+ "id": "4eX9aQsDdeqweg6Si00KaW",
1212
+ "type": "Asset",
1213
+ "version": 1,
1214
+ "createdAt": "2015-11-18T12:21:09.505Z",
1215
+ "createdBy": {
1216
+ "sys": {
1217
+ "type": "Link",
1218
+ "linkType": "User",
1219
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1220
+ }
1221
+ },
1222
+ "space": {
1223
+ "sys": {
1224
+ "type": "Link",
1225
+ "linkType": "Space",
1226
+ "id": "wbtalxpseprz"
1227
+ }
1228
+ },
1229
+ "updatedAt": "2015-11-18T12:21:09.505Z",
1230
+ "updatedBy": {
1231
+ "sys": {
1232
+ "type": "Link",
1233
+ "linkType": "User",
1234
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1235
+ }
1236
+ }
1237
+ }
1238
+ }
1239
+ http_version:
1240
+ recorded_at: Wed, 18 Nov 2015 12:21:09 GMT
1241
+ - request:
1242
+ method: put
1243
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/4eX9aQsDdeqweg6Si00KaW/files/en-US/process
1244
+ body:
1245
+ encoding: US-ASCII
1246
+ string: ''
1247
+ headers:
1248
+ User-Agent:
1249
+ - RubyContentfulManagementGem/0.7.2
1250
+ Authorization:
1251
+ - Bearer foobar
1252
+ Content-Type:
1253
+ - application/vnd.contentful.management.v1+json
1254
+ X-Contentful-Version:
1255
+ - '1'
1256
+ Content-Length:
1257
+ - '0'
1258
+ Connection:
1259
+ - close
1260
+ Host:
1261
+ - api.contentful.com
1262
+ response:
1263
+ status:
1264
+ code: 204
1265
+ message: No Content
1266
+ headers:
1267
+ Access-Control-Allow-Headers:
1268
+ - 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
1269
+ Access-Control-Allow-Methods:
1270
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1271
+ Access-Control-Allow-Origin:
1272
+ - "*"
1273
+ Access-Control-Expose-Headers:
1274
+ - Etag
1275
+ Access-Control-Max-Age:
1276
+ - '1728000'
1277
+ Cf-Space-Id:
1278
+ - wbtalxpseprz
1279
+ Content-Type:
1280
+ - application/vnd.contentful.management.v1+json
1281
+ Date:
1282
+ - Wed, 18 Nov 2015 12:21:10 GMT
1283
+ Server:
1284
+ - nginx
1285
+ Strict-Transport-Security:
1286
+ - max-age=15768000
1287
+ X-Content-Type-Options:
1288
+ - nosniff
1289
+ X-Contentful-Request-Id:
1290
+ - content-api:1ZUwX1xFaI6cK6wIQIEMS2
1291
+ X-Powered-By:
1292
+ - Express
1293
+ Connection:
1294
+ - Close
1295
+ body:
1296
+ encoding: UTF-8
1297
+ string: ''
1298
+ http_version:
1299
+ recorded_at: Wed, 18 Nov 2015 12:21:10 GMT
1300
+ - request:
1301
+ method: get
1302
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/4eX9aQsDdeqweg6Si00KaW
1303
+ body:
1304
+ encoding: US-ASCII
1305
+ string: ''
1306
+ headers:
1307
+ User-Agent:
1308
+ - RubyContentfulManagementGem/0.7.2
1309
+ Authorization:
1310
+ - Bearer foobar
1311
+ Content-Type:
1312
+ - application/vnd.contentful.management.v1+json
1313
+ Content-Length:
1314
+ - '0'
1315
+ Connection:
1316
+ - close
1317
+ Host:
1318
+ - api.contentful.com
1319
+ response:
1320
+ status:
1321
+ code: 200
1322
+ message: OK
1323
+ headers:
1324
+ Access-Control-Allow-Headers:
1325
+ - 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
1326
+ Access-Control-Allow-Methods:
1327
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1328
+ Access-Control-Allow-Origin:
1329
+ - "*"
1330
+ Access-Control-Expose-Headers:
1331
+ - Etag
1332
+ Access-Control-Max-Age:
1333
+ - '1728000'
1334
+ Cf-Space-Id:
1335
+ - wbtalxpseprz
1336
+ Content-Type:
1337
+ - application/vnd.contentful.management.v1+json
1338
+ Date:
1339
+ - Wed, 18 Nov 2015 12:21:11 GMT
1340
+ Etag:
1341
+ - '"b709993a6404aff7aac5a873f13a1ec7"'
1342
+ Server:
1343
+ - nginx
1344
+ Strict-Transport-Security:
1345
+ - max-age=15768000
1346
+ X-Content-Type-Options:
1347
+ - nosniff
1348
+ X-Contentful-Request-Id:
1349
+ - content-api:3flF6dvEqQKGu2uMy2i0sG
1350
+ X-Powered-By:
1351
+ - Express
1352
+ Content-Length:
1353
+ - '1168'
1354
+ Connection:
1355
+ - Close
1356
+ body:
1357
+ encoding: UTF-8
1358
+ string: |
1359
+ {
1360
+ "fields": {
1361
+ "title": {
1362
+ "en-US": "Screen Shot 2015-11-17 at 17.57.00"
1363
+ },
1364
+ "description": {
1365
+ "en-US": null
1366
+ },
1367
+ "file": {
1368
+ "en-US": {
1369
+ "contentType": "image/jpeg",
1370
+ "fileName": "Screen Shot 2015-11-17 at 17.57.00.jpg",
1371
+ "details": {
1372
+ "image": {
1373
+ "width": 1018,
1374
+ "height": 840
1375
+ },
1376
+ "size": 100009
1377
+ },
1378
+ "url": "//images.contentful.com/wbtalxpseprz/4eX9aQsDdeqweg6Si00KaW/54df28c9ff91b91228671d3f586c9661/Screen_Shot_2015-11-17_at_17.57.00.jpg"
1379
+ }
1380
+ }
1381
+ },
1382
+ "sys": {
1383
+ "id": "4eX9aQsDdeqweg6Si00KaW",
1384
+ "type": "Asset",
1385
+ "createdAt": "2015-11-18T12:21:09.505Z",
1386
+ "createdBy": {
1387
+ "sys": {
1388
+ "type": "Link",
1389
+ "linkType": "User",
1390
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1391
+ }
1392
+ },
1393
+ "space": {
1394
+ "sys": {
1395
+ "type": "Link",
1396
+ "linkType": "Space",
1397
+ "id": "wbtalxpseprz"
1398
+ }
1399
+ },
1400
+ "version": 2,
1401
+ "updatedAt": "2015-11-18T12:21:10.682Z",
1402
+ "updatedBy": {
1403
+ "sys": {
1404
+ "type": "Link",
1405
+ "linkType": "User",
1406
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1407
+ }
1408
+ }
1409
+ }
1410
+ }
1411
+ http_version:
1412
+ recorded_at: Wed, 18 Nov 2015 12:21:10 GMT
1413
+ - request:
1414
+ method: put
1415
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/4eX9aQsDdeqweg6Si00KaW/published
1416
+ body:
1417
+ encoding: US-ASCII
1418
+ string: ''
1419
+ headers:
1420
+ User-Agent:
1421
+ - RubyContentfulManagementGem/0.7.2
1422
+ Authorization:
1423
+ - Bearer foobar
1424
+ Content-Type:
1425
+ - application/vnd.contentful.management.v1+json
1426
+ X-Contentful-Version:
1427
+ - '2'
1428
+ Content-Length:
1429
+ - '0'
1430
+ Connection:
1431
+ - close
1432
+ Host:
1433
+ - api.contentful.com
1434
+ response:
1435
+ status:
1436
+ code: 200
1437
+ message: OK
1438
+ headers:
1439
+ Access-Control-Allow-Headers:
1440
+ - 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
1441
+ Access-Control-Allow-Methods:
1442
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1443
+ Access-Control-Allow-Origin:
1444
+ - "*"
1445
+ Access-Control-Expose-Headers:
1446
+ - Etag
1447
+ Access-Control-Max-Age:
1448
+ - '1728000'
1449
+ Cf-Space-Id:
1450
+ - wbtalxpseprz
1451
+ Content-Type:
1452
+ - application/vnd.contentful.management.v1+json
1453
+ Date:
1454
+ - Wed, 18 Nov 2015 12:21:11 GMT
1455
+ Etag:
1456
+ - '"36fd4b45c8bd4b99a7f62879c7da6bdf"'
1457
+ Server:
1458
+ - nginx
1459
+ Strict-Transport-Security:
1460
+ - max-age=15768000
1461
+ X-Content-Type-Options:
1462
+ - nosniff
1463
+ X-Contentful-Request-Id:
1464
+ - content-api:6w86nSvmCcUmkgoU4eOeOS
1465
+ X-Powered-By:
1466
+ - Express
1467
+ Content-Length:
1468
+ - '1463'
1469
+ Connection:
1470
+ - Close
1471
+ body:
1472
+ encoding: UTF-8
1473
+ string: |
1474
+ {
1475
+ "fields": {
1476
+ "title": {
1477
+ "en-US": "Screen Shot 2015-11-17 at 17.57.00"
1478
+ },
1479
+ "description": {
1480
+ "en-US": null
1481
+ },
1482
+ "file": {
1483
+ "en-US": {
1484
+ "contentType": "image/jpeg",
1485
+ "fileName": "Screen Shot 2015-11-17 at 17.57.00.jpg",
1486
+ "details": {
1487
+ "image": {
1488
+ "width": 1018,
1489
+ "height": 840
1490
+ },
1491
+ "size": 100009
1492
+ },
1493
+ "url": "//images.contentful.com/wbtalxpseprz/4eX9aQsDdeqweg6Si00KaW/54df28c9ff91b91228671d3f586c9661/Screen_Shot_2015-11-17_at_17.57.00.jpg"
1494
+ }
1495
+ }
1496
+ },
1497
+ "sys": {
1498
+ "id": "4eX9aQsDdeqweg6Si00KaW",
1499
+ "type": "Asset",
1500
+ "createdAt": "2015-11-18T12:21:09.505Z",
1501
+ "createdBy": {
1502
+ "sys": {
1503
+ "type": "Link",
1504
+ "linkType": "User",
1505
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1506
+ }
1507
+ },
1508
+ "space": {
1509
+ "sys": {
1510
+ "type": "Link",
1511
+ "linkType": "Space",
1512
+ "id": "wbtalxpseprz"
1513
+ }
1514
+ },
1515
+ "version": 3,
1516
+ "updatedAt": "2015-11-18T12:21:11.801Z",
1517
+ "updatedBy": {
1518
+ "sys": {
1519
+ "type": "Link",
1520
+ "linkType": "User",
1521
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1522
+ }
1523
+ },
1524
+ "firstPublishedAt": "2015-11-18T12:21:11.801Z",
1525
+ "publishedCounter": 1,
1526
+ "publishedAt": "2015-11-18T12:21:11.801Z",
1527
+ "publishedBy": {
1528
+ "sys": {
1529
+ "type": "Link",
1530
+ "linkType": "User",
1531
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1532
+ }
1533
+ },
1534
+ "publishedVersion": 2
1535
+ }
1536
+ }
1537
+ http_version:
1538
+ recorded_at: Wed, 18 Nov 2015 12:21:11 GMT
1539
+ - request:
1540
+ method: put
1541
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/7i1Ck3BG4o4KeIEUGosEeU
1542
+ body:
1543
+ encoding: UTF-8
1544
+ string: '{"fields":{"title":{"en-US":"Screen Shot 2015-11-17 at 18.04.02"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"Screen
1545
+ Shot 2015-11-17 at 18.04.02.jpg","upload":"https://images.contentful.com/o2n5bdfcee61/7i1Ck3BG4o4KeIEUGosEeU/4db1a207ec69f99f0d795c48a59cbcd1/Screen_Shot_2015-11-17_at_18.04.02.png"}}}}'
1546
+ headers:
1547
+ User-Agent:
1548
+ - RubyContentfulManagementGem/0.7.2
1549
+ Authorization:
1550
+ - Bearer foobar
1551
+ Content-Type:
1552
+ - application/vnd.contentful.management.v1+json
1553
+ Connection:
1554
+ - close
1555
+ Host:
1556
+ - api.contentful.com
1557
+ response:
1558
+ status:
1559
+ code: 201
1560
+ message: Created
1561
+ headers:
1562
+ Access-Control-Allow-Headers:
1563
+ - 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
1564
+ Access-Control-Allow-Methods:
1565
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1566
+ Access-Control-Allow-Origin:
1567
+ - "*"
1568
+ Access-Control-Expose-Headers:
1569
+ - Etag
1570
+ Access-Control-Max-Age:
1571
+ - '1728000'
1572
+ Cf-Space-Id:
1573
+ - wbtalxpseprz
1574
+ Content-Type:
1575
+ - application/vnd.contentful.management.v1+json
1576
+ Date:
1577
+ - Wed, 18 Nov 2015 12:21:12 GMT
1578
+ Etag:
1579
+ - '"d5c3282578dd8185d2e5f9d3d94be17b"'
1580
+ Server:
1581
+ - nginx
1582
+ Strict-Transport-Security:
1583
+ - max-age=15768000
1584
+ X-Content-Type-Options:
1585
+ - nosniff
1586
+ X-Contentful-Request-Id:
1587
+ - content-api:7rjZoKREYMkwEwGwIcgCwy
1588
+ X-Powered-By:
1589
+ - Express
1590
+ Content-Length:
1591
+ - '1033'
1592
+ Connection:
1593
+ - Close
1594
+ body:
1595
+ encoding: UTF-8
1596
+ string: |
1597
+ {
1598
+ "fields": {
1599
+ "title": {
1600
+ "en-US": "Screen Shot 2015-11-17 at 18.04.02"
1601
+ },
1602
+ "description": {
1603
+ "en-US": null
1604
+ },
1605
+ "file": {
1606
+ "en-US": {
1607
+ "contentType": "image/jpeg",
1608
+ "fileName": "Screen Shot 2015-11-17 at 18.04.02.jpg",
1609
+ "upload": "https://images.contentful.com/o2n5bdfcee61/7i1Ck3BG4o4KeIEUGosEeU/4db1a207ec69f99f0d795c48a59cbcd1/Screen_Shot_2015-11-17_at_18.04.02.png"
1610
+ }
1611
+ }
1612
+ },
1613
+ "sys": {
1614
+ "id": "7i1Ck3BG4o4KeIEUGosEeU",
1615
+ "type": "Asset",
1616
+ "version": 1,
1617
+ "createdAt": "2015-11-18T12:21:12.916Z",
1618
+ "createdBy": {
1619
+ "sys": {
1620
+ "type": "Link",
1621
+ "linkType": "User",
1622
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1623
+ }
1624
+ },
1625
+ "space": {
1626
+ "sys": {
1627
+ "type": "Link",
1628
+ "linkType": "Space",
1629
+ "id": "wbtalxpseprz"
1630
+ }
1631
+ },
1632
+ "updatedAt": "2015-11-18T12:21:12.916Z",
1633
+ "updatedBy": {
1634
+ "sys": {
1635
+ "type": "Link",
1636
+ "linkType": "User",
1637
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1638
+ }
1639
+ }
1640
+ }
1641
+ }
1642
+ http_version:
1643
+ recorded_at: Wed, 18 Nov 2015 12:21:12 GMT
1644
+ - request:
1645
+ method: put
1646
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/7i1Ck3BG4o4KeIEUGosEeU/files/en-US/process
1647
+ body:
1648
+ encoding: US-ASCII
1649
+ string: ''
1650
+ headers:
1651
+ User-Agent:
1652
+ - RubyContentfulManagementGem/0.7.2
1653
+ Authorization:
1654
+ - Bearer foobar
1655
+ Content-Type:
1656
+ - application/vnd.contentful.management.v1+json
1657
+ X-Contentful-Version:
1658
+ - '1'
1659
+ Content-Length:
1660
+ - '0'
1661
+ Connection:
1662
+ - close
1663
+ Host:
1664
+ - api.contentful.com
1665
+ response:
1666
+ status:
1667
+ code: 204
1668
+ message: No Content
1669
+ headers:
1670
+ Access-Control-Allow-Headers:
1671
+ - 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
1672
+ Access-Control-Allow-Methods:
1673
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1674
+ Access-Control-Allow-Origin:
1675
+ - "*"
1676
+ Access-Control-Expose-Headers:
1677
+ - Etag
1678
+ Access-Control-Max-Age:
1679
+ - '1728000'
1680
+ Cf-Space-Id:
1681
+ - wbtalxpseprz
1682
+ Content-Type:
1683
+ - application/vnd.contentful.management.v1+json
1684
+ Date:
1685
+ - Wed, 18 Nov 2015 12:21:13 GMT
1686
+ Server:
1687
+ - nginx
1688
+ Strict-Transport-Security:
1689
+ - max-age=15768000
1690
+ X-Content-Type-Options:
1691
+ - nosniff
1692
+ X-Contentful-Request-Id:
1693
+ - content-api:6oUz5t92tUqK6OWG8sgu2u
1694
+ X-Powered-By:
1695
+ - Express
1696
+ Connection:
1697
+ - Close
1698
+ body:
1699
+ encoding: UTF-8
1700
+ string: ''
1701
+ http_version:
1702
+ recorded_at: Wed, 18 Nov 2015 12:21:13 GMT
1703
+ - request:
1704
+ method: get
1705
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/7i1Ck3BG4o4KeIEUGosEeU
1706
+ body:
1707
+ encoding: US-ASCII
1708
+ string: ''
1709
+ headers:
1710
+ User-Agent:
1711
+ - RubyContentfulManagementGem/0.7.2
1712
+ Authorization:
1713
+ - Bearer foobar
1714
+ Content-Type:
1715
+ - application/vnd.contentful.management.v1+json
1716
+ Content-Length:
1717
+ - '0'
1718
+ Connection:
1719
+ - close
1720
+ Host:
1721
+ - api.contentful.com
1722
+ response:
1723
+ status:
1724
+ code: 200
1725
+ message: OK
1726
+ headers:
1727
+ Access-Control-Allow-Headers:
1728
+ - 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
1729
+ Access-Control-Allow-Methods:
1730
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1731
+ Access-Control-Allow-Origin:
1732
+ - "*"
1733
+ Access-Control-Expose-Headers:
1734
+ - Etag
1735
+ Access-Control-Max-Age:
1736
+ - '1728000'
1737
+ Cf-Space-Id:
1738
+ - wbtalxpseprz
1739
+ Content-Type:
1740
+ - application/vnd.contentful.management.v1+json
1741
+ Date:
1742
+ - Wed, 18 Nov 2015 12:21:14 GMT
1743
+ Etag:
1744
+ - '"59cc7a8f02acb240a61f3b9275c9428a"'
1745
+ Server:
1746
+ - nginx
1747
+ Strict-Transport-Security:
1748
+ - max-age=15768000
1749
+ X-Content-Type-Options:
1750
+ - nosniff
1751
+ X-Contentful-Request-Id:
1752
+ - content-api:4KPYijcOXKAKaKe6Qo44wS
1753
+ X-Powered-By:
1754
+ - Express
1755
+ Content-Length:
1756
+ - '1166'
1757
+ Connection:
1758
+ - Close
1759
+ body:
1760
+ encoding: UTF-8
1761
+ string: |
1762
+ {
1763
+ "fields": {
1764
+ "title": {
1765
+ "en-US": "Screen Shot 2015-11-17 at 18.04.02"
1766
+ },
1767
+ "description": {
1768
+ "en-US": null
1769
+ },
1770
+ "file": {
1771
+ "en-US": {
1772
+ "contentType": "image/jpeg",
1773
+ "fileName": "Screen Shot 2015-11-17 at 18.04.02.jpg",
1774
+ "details": {
1775
+ "image": {
1776
+ "width": 468,
1777
+ "height": 116
1778
+ },
1779
+ "size": 29117
1780
+ },
1781
+ "url": "//images.contentful.com/wbtalxpseprz/7i1Ck3BG4o4KeIEUGosEeU/edf61ed5b73101bd90b57ced8d55f3fe/Screen_Shot_2015-11-17_at_18.04.02.jpg"
1782
+ }
1783
+ }
1784
+ },
1785
+ "sys": {
1786
+ "id": "7i1Ck3BG4o4KeIEUGosEeU",
1787
+ "type": "Asset",
1788
+ "createdAt": "2015-11-18T12:21:12.916Z",
1789
+ "createdBy": {
1790
+ "sys": {
1791
+ "type": "Link",
1792
+ "linkType": "User",
1793
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1794
+ }
1795
+ },
1796
+ "space": {
1797
+ "sys": {
1798
+ "type": "Link",
1799
+ "linkType": "Space",
1800
+ "id": "wbtalxpseprz"
1801
+ }
1802
+ },
1803
+ "version": 2,
1804
+ "updatedAt": "2015-11-18T12:21:13.922Z",
1805
+ "updatedBy": {
1806
+ "sys": {
1807
+ "type": "Link",
1808
+ "linkType": "User",
1809
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1810
+ }
1811
+ }
1812
+ }
1813
+ }
1814
+ http_version:
1815
+ recorded_at: Wed, 18 Nov 2015 12:21:14 GMT
1816
+ - request:
1817
+ method: put
1818
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/assets/7i1Ck3BG4o4KeIEUGosEeU/published
1819
+ body:
1820
+ encoding: US-ASCII
1821
+ string: ''
1822
+ headers:
1823
+ User-Agent:
1824
+ - RubyContentfulManagementGem/0.7.2
1825
+ Authorization:
1826
+ - Bearer foobar
1827
+ Content-Type:
1828
+ - application/vnd.contentful.management.v1+json
1829
+ X-Contentful-Version:
1830
+ - '2'
1831
+ Content-Length:
1832
+ - '0'
1833
+ Connection:
1834
+ - close
1835
+ Host:
1836
+ - api.contentful.com
1837
+ response:
1838
+ status:
1839
+ code: 200
1840
+ message: OK
1841
+ headers:
1842
+ Access-Control-Allow-Headers:
1843
+ - 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
1844
+ Access-Control-Allow-Methods:
1845
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1846
+ Access-Control-Allow-Origin:
1847
+ - "*"
1848
+ Access-Control-Expose-Headers:
1849
+ - Etag
1850
+ Access-Control-Max-Age:
1851
+ - '1728000'
1852
+ Cf-Space-Id:
1853
+ - wbtalxpseprz
1854
+ Content-Type:
1855
+ - application/vnd.contentful.management.v1+json
1856
+ Date:
1857
+ - Wed, 18 Nov 2015 12:21:15 GMT
1858
+ Etag:
1859
+ - '"1de24f2bcfb2889577ff0f7f06777e4c"'
1860
+ Server:
1861
+ - nginx
1862
+ Strict-Transport-Security:
1863
+ - max-age=15768000
1864
+ X-Content-Type-Options:
1865
+ - nosniff
1866
+ X-Contentful-Request-Id:
1867
+ - content-api:I8BTW33dqCGQ6uoA8SowU
1868
+ X-Powered-By:
1869
+ - Express
1870
+ Content-Length:
1871
+ - '1461'
1872
+ Connection:
1873
+ - Close
1874
+ body:
1875
+ encoding: UTF-8
1876
+ string: |
1877
+ {
1878
+ "fields": {
1879
+ "title": {
1880
+ "en-US": "Screen Shot 2015-11-17 at 18.04.02"
1881
+ },
1882
+ "description": {
1883
+ "en-US": null
1884
+ },
1885
+ "file": {
1886
+ "en-US": {
1887
+ "contentType": "image/jpeg",
1888
+ "fileName": "Screen Shot 2015-11-17 at 18.04.02.jpg",
1889
+ "details": {
1890
+ "image": {
1891
+ "width": 468,
1892
+ "height": 116
1893
+ },
1894
+ "size": 29117
1895
+ },
1896
+ "url": "//images.contentful.com/wbtalxpseprz/7i1Ck3BG4o4KeIEUGosEeU/edf61ed5b73101bd90b57ced8d55f3fe/Screen_Shot_2015-11-17_at_18.04.02.jpg"
1897
+ }
1898
+ }
1899
+ },
1900
+ "sys": {
1901
+ "id": "7i1Ck3BG4o4KeIEUGosEeU",
1902
+ "type": "Asset",
1903
+ "createdAt": "2015-11-18T12:21:12.916Z",
1904
+ "createdBy": {
1905
+ "sys": {
1906
+ "type": "Link",
1907
+ "linkType": "User",
1908
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1909
+ }
1910
+ },
1911
+ "space": {
1912
+ "sys": {
1913
+ "type": "Link",
1914
+ "linkType": "Space",
1915
+ "id": "wbtalxpseprz"
1916
+ }
1917
+ },
1918
+ "version": 3,
1919
+ "updatedAt": "2015-11-18T12:21:15.092Z",
1920
+ "updatedBy": {
1921
+ "sys": {
1922
+ "type": "Link",
1923
+ "linkType": "User",
1924
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1925
+ }
1926
+ },
1927
+ "firstPublishedAt": "2015-11-18T12:21:15.092Z",
1928
+ "publishedCounter": 1,
1929
+ "publishedAt": "2015-11-18T12:21:15.092Z",
1930
+ "publishedBy": {
1931
+ "sys": {
1932
+ "type": "Link",
1933
+ "linkType": "User",
1934
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
1935
+ }
1936
+ },
1937
+ "publishedVersion": 2
1938
+ }
1939
+ }
1940
+ http_version:
1941
+ recorded_at: Wed, 18 Nov 2015 12:21:15 GMT
1942
+ - request:
1943
+ method: get
1944
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/content_types/1VX60jHERm6yuem8I2agWG
1945
+ body:
1946
+ encoding: US-ASCII
1947
+ string: ''
1948
+ headers:
1949
+ User-Agent:
1950
+ - RubyContentfulManagementGem/0.7.2
1951
+ Authorization:
1952
+ - Bearer foobar
1953
+ Content-Type:
1954
+ - application/vnd.contentful.management.v1+json
1955
+ Content-Length:
1956
+ - '0'
1957
+ Connection:
1958
+ - close
1959
+ Host:
1960
+ - api.contentful.com
1961
+ response:
1962
+ status:
1963
+ code: 200
1964
+ message: OK
1965
+ headers:
1966
+ Access-Control-Allow-Headers:
1967
+ - 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
1968
+ Access-Control-Allow-Methods:
1969
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
1970
+ Access-Control-Allow-Origin:
1971
+ - "*"
1972
+ Access-Control-Expose-Headers:
1973
+ - Etag
1974
+ Access-Control-Max-Age:
1975
+ - '1728000'
1976
+ Cf-Space-Id:
1977
+ - wbtalxpseprz
1978
+ Content-Type:
1979
+ - application/vnd.contentful.management.v1+json
1980
+ Date:
1981
+ - Wed, 18 Nov 2015 12:21:16 GMT
1982
+ Etag:
1983
+ - '"7b9e77838b44b2ddd633213deca22570"'
1984
+ Server:
1985
+ - nginx
1986
+ Strict-Transport-Security:
1987
+ - max-age=15768000
1988
+ X-Content-Type-Options:
1989
+ - nosniff
1990
+ X-Contentful-Request-Id:
1991
+ - content-api:A6yNKMcrYGuSEGqScI0o0
1992
+ X-Powered-By:
1993
+ - Express
1994
+ Content-Length:
1995
+ - '1318'
1996
+ Connection:
1997
+ - Close
1998
+ body:
1999
+ encoding: UTF-8
2000
+ string: |
2001
+ {
2002
+ "displayField": "title",
2003
+ "name": "yolo",
2004
+ "description": null,
2005
+ "fields": [
2006
+ {
2007
+ "id": "title",
2008
+ "name": "title",
2009
+ "type": "Symbol",
2010
+ "localized": false,
2011
+ "validations": []
2012
+ },
2013
+ {
2014
+ "id": "assets",
2015
+ "name": "assets",
2016
+ "type": "Array",
2017
+ "items": {
2018
+ "type": "Link",
2019
+ "linkType": "Asset"
2020
+ },
2021
+ "localized": false,
2022
+ "validations": []
2023
+ }
2024
+ ],
2025
+ "sys": {
2026
+ "id": "1VX60jHERm6yuem8I2agWG",
2027
+ "type": "ContentType",
2028
+ "createdAt": "2015-11-18T12:20:59.205Z",
2029
+ "createdBy": {
2030
+ "sys": {
2031
+ "type": "Link",
2032
+ "linkType": "User",
2033
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2034
+ }
2035
+ },
2036
+ "space": {
2037
+ "sys": {
2038
+ "type": "Link",
2039
+ "linkType": "Space",
2040
+ "id": "wbtalxpseprz"
2041
+ }
2042
+ },
2043
+ "firstPublishedAt": "2015-11-18T12:21:00.054Z",
2044
+ "publishedCounter": 1,
2045
+ "publishedAt": "2015-11-18T12:21:00.054Z",
2046
+ "publishedBy": {
2047
+ "sys": {
2048
+ "type": "Link",
2049
+ "linkType": "User",
2050
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2051
+ }
2052
+ },
2053
+ "publishedVersion": 1,
2054
+ "version": 2,
2055
+ "updatedAt": "2015-11-18T12:21:00.113Z",
2056
+ "updatedBy": {
2057
+ "sys": {
2058
+ "type": "Link",
2059
+ "linkType": "User",
2060
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2061
+ }
2062
+ }
2063
+ }
2064
+ }
2065
+ http_version:
2066
+ recorded_at: Wed, 18 Nov 2015 12:21:15 GMT
2067
+ - request:
2068
+ method: put
2069
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/entries/5nQB3z8RgW8CUG6uGyCsEw
2070
+ body:
2071
+ encoding: UTF-8
2072
+ string: '{"fields":{"assets":{"en-US":[{"sys":{"type":"Link","linkType":"Asset","id":"4eX9aQsDdeqweg6Si00KaW"}},{"sys":{"type":"Link","linkType":"Asset","id":"4D5sv49qaAoMIkWgAW8g0I"}}]},"title":{"en-US":"yolo"}}}'
2073
+ headers:
2074
+ User-Agent:
2075
+ - RubyContentfulManagementGem/0.7.2
2076
+ Authorization:
2077
+ - Bearer foobar
2078
+ Content-Type:
2079
+ - application/vnd.contentful.management.v1+json
2080
+ X-Contentful-Content-Type:
2081
+ - 1VX60jHERm6yuem8I2agWG
2082
+ Connection:
2083
+ - close
2084
+ Host:
2085
+ - api.contentful.com
2086
+ response:
2087
+ status:
2088
+ code: 201
2089
+ message: Created
2090
+ headers:
2091
+ Access-Control-Allow-Headers:
2092
+ - 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
2093
+ Access-Control-Allow-Methods:
2094
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2095
+ Access-Control-Allow-Origin:
2096
+ - "*"
2097
+ Access-Control-Expose-Headers:
2098
+ - Etag
2099
+ Access-Control-Max-Age:
2100
+ - '1728000'
2101
+ Cf-Space-Id:
2102
+ - wbtalxpseprz
2103
+ Content-Type:
2104
+ - application/vnd.contentful.management.v1+json
2105
+ Date:
2106
+ - Wed, 18 Nov 2015 12:21:17 GMT
2107
+ Etag:
2108
+ - '"6d7ec481beda38c7bfc32570c63e9db0"'
2109
+ Server:
2110
+ - nginx
2111
+ Strict-Transport-Security:
2112
+ - max-age=15768000
2113
+ X-Content-Type-Options:
2114
+ - nosniff
2115
+ X-Contentful-Request-Id:
2116
+ - content-api:jaQkvgGwCWCMUKsykaqUI
2117
+ X-Powered-By:
2118
+ - Express
2119
+ Content-Length:
2120
+ - '1160'
2121
+ Connection:
2122
+ - Close
2123
+ body:
2124
+ encoding: UTF-8
2125
+ string: |
2126
+ {
2127
+ "fields": {
2128
+ "assets": {
2129
+ "en-US": [
2130
+ {
2131
+ "sys": {
2132
+ "type": "Link",
2133
+ "linkType": "Asset",
2134
+ "id": "4eX9aQsDdeqweg6Si00KaW"
2135
+ }
2136
+ },
2137
+ {
2138
+ "sys": {
2139
+ "type": "Link",
2140
+ "linkType": "Asset",
2141
+ "id": "4D5sv49qaAoMIkWgAW8g0I"
2142
+ }
2143
+ }
2144
+ ]
2145
+ },
2146
+ "title": {
2147
+ "en-US": "yolo"
2148
+ }
2149
+ },
2150
+ "sys": {
2151
+ "id": "5nQB3z8RgW8CUG6uGyCsEw",
2152
+ "type": "Entry",
2153
+ "version": 1,
2154
+ "createdAt": "2015-11-18T12:21:17.121Z",
2155
+ "createdBy": {
2156
+ "sys": {
2157
+ "type": "Link",
2158
+ "linkType": "User",
2159
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2160
+ }
2161
+ },
2162
+ "space": {
2163
+ "sys": {
2164
+ "type": "Link",
2165
+ "linkType": "Space",
2166
+ "id": "wbtalxpseprz"
2167
+ }
2168
+ },
2169
+ "contentType": {
2170
+ "sys": {
2171
+ "type": "Link",
2172
+ "linkType": "ContentType",
2173
+ "id": "1VX60jHERm6yuem8I2agWG"
2174
+ }
2175
+ },
2176
+ "updatedAt": "2015-11-18T12:21:17.121Z",
2177
+ "updatedBy": {
2178
+ "sys": {
2179
+ "type": "Link",
2180
+ "linkType": "User",
2181
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2182
+ }
2183
+ }
2184
+ }
2185
+ }
2186
+ http_version:
2187
+ recorded_at: Wed, 18 Nov 2015 12:21:17 GMT
2188
+ - request:
2189
+ method: put
2190
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/entries/5nQB3z8RgW8CUG6uGyCsEw
2191
+ body:
2192
+ encoding: UTF-8
2193
+ string: '{"fields":{"assets":{"en-US":[{"sys":{"type":"Link","linkType":"Asset","id":"4eX9aQsDdeqweg6Si00KaW"}},{"sys":{"type":"Link","linkType":"Asset","id":"4D5sv49qaAoMIkWgAW8g0I"}}]},"title":{"en-US":"yolo"}}}'
2194
+ headers:
2195
+ User-Agent:
2196
+ - RubyContentfulManagementGem/0.7.2
2197
+ Authorization:
2198
+ - Bearer foobar
2199
+ Content-Type:
2200
+ - application/vnd.contentful.management.v1+json
2201
+ X-Contentful-Version:
2202
+ - '1'
2203
+ Connection:
2204
+ - close
2205
+ Host:
2206
+ - api.contentful.com
2207
+ response:
2208
+ status:
2209
+ code: 200
2210
+ message: OK
2211
+ headers:
2212
+ Access-Control-Allow-Headers:
2213
+ - 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
2214
+ Access-Control-Allow-Methods:
2215
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2216
+ Access-Control-Allow-Origin:
2217
+ - "*"
2218
+ Access-Control-Expose-Headers:
2219
+ - Etag
2220
+ Access-Control-Max-Age:
2221
+ - '1728000'
2222
+ Cf-Space-Id:
2223
+ - wbtalxpseprz
2224
+ Content-Type:
2225
+ - application/vnd.contentful.management.v1+json
2226
+ Date:
2227
+ - Wed, 18 Nov 2015 12:21:18 GMT
2228
+ Etag:
2229
+ - '"1c4cb06a074094cc19dbf3a639160e0e"'
2230
+ Server:
2231
+ - nginx
2232
+ Strict-Transport-Security:
2233
+ - max-age=15768000
2234
+ X-Content-Type-Options:
2235
+ - nosniff
2236
+ X-Contentful-Request-Id:
2237
+ - content-api:aGO8CEN07QYO22ic4cOY8
2238
+ X-Powered-By:
2239
+ - Express
2240
+ Content-Length:
2241
+ - '1160'
2242
+ Connection:
2243
+ - Close
2244
+ body:
2245
+ encoding: UTF-8
2246
+ string: |
2247
+ {
2248
+ "fields": {
2249
+ "assets": {
2250
+ "en-US": [
2251
+ {
2252
+ "sys": {
2253
+ "type": "Link",
2254
+ "linkType": "Asset",
2255
+ "id": "4eX9aQsDdeqweg6Si00KaW"
2256
+ }
2257
+ },
2258
+ {
2259
+ "sys": {
2260
+ "type": "Link",
2261
+ "linkType": "Asset",
2262
+ "id": "4D5sv49qaAoMIkWgAW8g0I"
2263
+ }
2264
+ }
2265
+ ]
2266
+ },
2267
+ "title": {
2268
+ "en-US": "yolo"
2269
+ }
2270
+ },
2271
+ "sys": {
2272
+ "id": "5nQB3z8RgW8CUG6uGyCsEw",
2273
+ "type": "Entry",
2274
+ "createdAt": "2015-11-18T12:21:17.121Z",
2275
+ "createdBy": {
2276
+ "sys": {
2277
+ "type": "Link",
2278
+ "linkType": "User",
2279
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2280
+ }
2281
+ },
2282
+ "space": {
2283
+ "sys": {
2284
+ "type": "Link",
2285
+ "linkType": "Space",
2286
+ "id": "wbtalxpseprz"
2287
+ }
2288
+ },
2289
+ "contentType": {
2290
+ "sys": {
2291
+ "type": "Link",
2292
+ "linkType": "ContentType",
2293
+ "id": "1VX60jHERm6yuem8I2agWG"
2294
+ }
2295
+ },
2296
+ "version": 2,
2297
+ "updatedAt": "2015-11-18T12:21:18.227Z",
2298
+ "updatedBy": {
2299
+ "sys": {
2300
+ "type": "Link",
2301
+ "linkType": "User",
2302
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
2303
+ }
2304
+ }
2305
+ }
2306
+ }
2307
+ http_version:
2308
+ recorded_at: Wed, 18 Nov 2015 12:21:18 GMT
2309
+ - request:
2310
+ method: get
2311
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/entries?content_type=1VX60jHERm6yuem8I2agWG
2312
+ body:
2313
+ encoding: US-ASCII
2314
+ string: ''
2315
+ headers:
2316
+ User-Agent:
2317
+ - RubyContentfulManagementGem/0.7.2
2318
+ Authorization:
2319
+ - Bearer foobar
2320
+ Content-Type:
2321
+ - application/vnd.contentful.management.v1+json
2322
+ Connection:
2323
+ - close
2324
+ Host:
2325
+ - api.contentful.com
2326
+ response:
2327
+ status:
2328
+ code: 200
2329
+ message: OK
2330
+ headers:
2331
+ Access-Control-Allow-Headers:
2332
+ - 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
2333
+ Access-Control-Allow-Methods:
2334
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2335
+ Access-Control-Allow-Origin:
2336
+ - "*"
2337
+ Access-Control-Expose-Headers:
2338
+ - Etag
2339
+ Access-Control-Max-Age:
2340
+ - '1728000'
2341
+ Cf-Space-Id:
2342
+ - wbtalxpseprz
2343
+ Content-Type:
2344
+ - application/vnd.contentful.management.v1+json
2345
+ Date:
2346
+ - Wed, 18 Nov 2015 12:21:18 GMT
2347
+ Etag:
2348
+ - '"29f2c21be26360c424f617d8592cf6f9"'
2349
+ Server:
2350
+ - nginx
2351
+ Strict-Transport-Security:
2352
+ - max-age=15768000
2353
+ X-Content-Type-Options:
2354
+ - nosniff
2355
+ X-Contentful-Request-Id:
2356
+ - content-api:6uMOvUaWm4wAY882giAASk
2357
+ X-Powered-By:
2358
+ - Express
2359
+ Content-Length:
2360
+ - '97'
2361
+ Connection:
2362
+ - Close
2363
+ body:
2364
+ encoding: UTF-8
2365
+ string: |
2366
+ {
2367
+ "sys": {
2368
+ "type": "Array"
2369
+ },
2370
+ "total": 0,
2371
+ "skip": 0,
2372
+ "limit": 100,
2373
+ "items": []
2374
+ }
2375
+ http_version:
2376
+ recorded_at: Wed, 18 Nov 2015 12:21:18 GMT
2377
+ - request:
2378
+ method: post
2379
+ uri: https://api.contentful.com/spaces/wbtalxpseprz/api_keys
2380
+ body:
2381
+ encoding: UTF-8
2382
+ string: '{"name":"Bootstrap Token","description":"Created with ''contentful_bootstrap.rb
2383
+ v2.0.1''"}'
2384
+ headers:
2385
+ User-Agent:
2386
+ - RubyContentfulManagementGem/0.7.2
2387
+ Authorization:
2388
+ - Bearer foobar
2389
+ Content-Type:
2390
+ - application/vnd.contentful.management.v1+json
2391
+ Connection:
2392
+ - close
2393
+ Host:
2394
+ - api.contentful.com
2395
+ response:
2396
+ status:
2397
+ code: 201
2398
+ message: Created
2399
+ headers:
2400
+ Accept-Ranges:
2401
+ - bytes
2402
+ Access-Control-Allow-Headers:
2403
+ - 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
2404
+ Access-Control-Allow-Methods:
2405
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
2406
+ Access-Control-Allow-Origin:
2407
+ - "*"
2408
+ Access-Control-Expose-Headers:
2409
+ - Etag
2410
+ Access-Control-Max-Age:
2411
+ - '1728000'
2412
+ Cache-Control:
2413
+ - max-age=0
2414
+ Content-Type:
2415
+ - application/vnd.contentful.management.v1+json
2416
+ Date:
2417
+ - Wed, 18 Nov 2015 12:21:20 GMT
2418
+ Etag:
2419
+ - '"f611b1857201b4d2eb91ac8260090f46"'
2420
+ Location:
2421
+ - https://api.contentful.com/spaces/wbtalxpseprz/api_keys/6dfG2Xl6BXeVXvuInpnqIY
2422
+ Server:
2423
+ - nginx
2424
+ Status:
2425
+ - 201 Created
2426
+ Strict-Transport-Security:
2427
+ - max-age=15768000
2428
+ X-Content-Type-Options:
2429
+ - nosniff
2430
+ X-Contentful-Request-Id:
2431
+ - b89-1468408790
2432
+ Content-Length:
2433
+ - '954'
2434
+ Connection:
2435
+ - Close
2436
+ body:
2437
+ encoding: UTF-8
2438
+ string: |+
2439
+ {
2440
+ "sys":{
2441
+ "type":"ApiKey",
2442
+ "id":"6dfG2Xl6BXeVXvuInpnqIY",
2443
+ "version":0,
2444
+ "space":{
2445
+ "sys":{
2446
+ "type":"Link",
2447
+ "linkType":"Space",
2448
+ "id":"wbtalxpseprz"
2449
+ }
2450
+ },
2451
+ "createdBy":{
2452
+ "sys":{
2453
+ "type":"Link",
2454
+ "linkType":"User",
2455
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
2456
+ }
2457
+ },
2458
+ "createdAt":"2015-11-18T12:21:19Z",
2459
+ "updatedBy":{
2460
+ "sys":{
2461
+ "type":"Link",
2462
+ "linkType":"User",
2463
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
2464
+ }
2465
+ },
2466
+ "updatedAt":"2015-11-18T12:21:19Z"
2467
+ },
2468
+ "name":"Bootstrap Token",
2469
+ "description":"Created with 'contentful_bootstrap.rb v2.0.1'",
2470
+ "accessToken":"d65077d23de1bb749e4deb1976bbc1fea5b0008c622ec3d278f8ab7aa123eded",
2471
+ "policies":[
2472
+ {
2473
+ "effect":"allow",
2474
+ "actions":"all"
2475
+ }
2476
+ ],
2477
+ "preview_api_key":{
2478
+ "sys":{
2479
+ "type":"Link",
2480
+ "linkType":"PreviewApiKey",
2481
+ "id":"6dgPrUi9iZhcELD9vLr3Ks"
2482
+ }
2483
+ }
2484
+ }
2485
+
2486
+ http_version:
2487
+ recorded_at: Wed, 18 Nov 2015 12:21:19 GMT
2488
+ recorded_with: VCR 2.9.3