contentful-management 1.8.1 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/CHANGELOG.md +15 -0
  4. data/README.md +209 -41
  5. data/contentful-management.gemspec +1 -1
  6. data/lib/contentful/management/asset.rb +1 -1
  7. data/lib/contentful/management/client.rb +155 -31
  8. data/lib/contentful/management/client_organization_methods_factory.rb +23 -0
  9. data/lib/contentful/management/client_personal_access_tokens_methods_factory.rb +27 -0
  10. data/lib/contentful/management/client_snapshot_methods_factory.rb +16 -6
  11. data/lib/contentful/management/client_space_membership_methods_factory.rb +15 -0
  12. data/lib/contentful/management/client_ui_extension_methods_factory.rb +15 -0
  13. data/lib/contentful/management/client_user_methods_factory.rb +27 -0
  14. data/lib/contentful/management/client_webhook_call_methods_factory.rb +30 -0
  15. data/lib/contentful/management/client_webhook_health_methods_factory.rb +27 -0
  16. data/lib/contentful/management/content_type.rb +10 -0
  17. data/lib/contentful/management/content_type_snapshot_methods_factory.rb +35 -0
  18. data/lib/contentful/management/editor_interface.rb +1 -1
  19. data/lib/contentful/management/organization.rb +20 -0
  20. data/lib/contentful/management/personal_access_token.rb +45 -0
  21. data/lib/contentful/management/request.rb +0 -1
  22. data/lib/contentful/management/resource.rb +4 -2
  23. data/lib/contentful/management/resource_builder.rb +15 -0
  24. data/lib/contentful/management/snapshot.rb +31 -20
  25. data/lib/contentful/management/space.rb +32 -10
  26. data/lib/contentful/management/space_membership.rb +43 -0
  27. data/lib/contentful/management/space_space_membership_methods_factory.rb +15 -0
  28. data/lib/contentful/management/space_ui_extension_methods_factory.rb +15 -0
  29. data/lib/contentful/management/ui_extension.rb +106 -0
  30. data/lib/contentful/management/user.rb +28 -0
  31. data/lib/contentful/management/version.rb +1 -1
  32. data/lib/contentful/management/webhook.rb +20 -0
  33. data/lib/contentful/management/webhook_call.rb +77 -0
  34. data/lib/contentful/management/webhook_health.rb +79 -0
  35. data/lib/contentful/management/webhook_webhook_call_methods_factory.rb +30 -0
  36. data/lib/contentful/management/webhook_webhook_health_methods_factory.rb +28 -0
  37. data/spec/fixtures/vcr_cassettes/get_request.yml +34 -17
  38. data/spec/fixtures/vcr_cassettes/organization/all.yml +100 -0
  39. data/spec/fixtures/vcr_cassettes/personal_access_token/all.yml +101 -0
  40. data/spec/fixtures/vcr_cassettes/personal_access_token/create.yml +94 -0
  41. data/spec/fixtures/vcr_cassettes/personal_access_token/find.yml +91 -0
  42. data/spec/fixtures/vcr_cassettes/personal_access_token/find_not_found.yml +88 -0
  43. data/spec/fixtures/vcr_cassettes/personal_access_token/revoke.yml +179 -0
  44. data/spec/fixtures/vcr_cassettes/snapshot/ct_all.yml +207 -0
  45. data/spec/fixtures/vcr_cassettes/snapshot/ct_find.yml +198 -0
  46. data/spec/fixtures/vcr_cassettes/snapshot/ct_find_not_found.yml +94 -0
  47. data/spec/fixtures/vcr_cassettes/space/all_disabled_cache.yml +428 -0
  48. data/spec/fixtures/vcr_cassettes/space/disabled_cache.yml +120 -0
  49. data/spec/fixtures/vcr_cassettes/space_memberships/all.yml +190 -0
  50. data/spec/fixtures/vcr_cassettes/space_memberships/create.yml +143 -0
  51. data/spec/fixtures/vcr_cassettes/space_memberships/delete.yml +322 -0
  52. data/spec/fixtures/vcr_cassettes/space_memberships/find.yml +141 -0
  53. data/spec/fixtures/vcr_cassettes/ui_extension/all.yml +1020 -0
  54. data/spec/fixtures/vcr_cassettes/ui_extension/create.yml +133 -0
  55. data/spec/fixtures/vcr_cassettes/ui_extension/delete.yml +291 -0
  56. data/spec/fixtures/vcr_cassettes/ui_extension/find.yml +126 -0
  57. data/spec/fixtures/vcr_cassettes/user/find.yml +96 -0
  58. data/spec/fixtures/vcr_cassettes/webhook_call/all.yml +151 -0
  59. data/spec/fixtures/vcr_cassettes/webhook_call/find.yml +88 -0
  60. data/spec/fixtures/vcr_cassettes/webhook_call/find_not_found.yml +93 -0
  61. data/spec/fixtures/vcr_cassettes/webhook_health/find.yml +111 -0
  62. data/spec/lib/contentful/management/client_spec.rb +25 -26
  63. data/spec/lib/contentful/management/entry_spec.rb +48 -48
  64. data/spec/lib/contentful/management/organization_spec.rb +33 -0
  65. data/spec/lib/contentful/management/personal_access_token_spec.rb +85 -0
  66. data/spec/lib/contentful/management/snapshot_spec.rb +134 -47
  67. data/spec/lib/contentful/management/space_membership_spec.rb +147 -0
  68. data/spec/lib/contentful/management/space_spec.rb +35 -1
  69. data/spec/lib/contentful/management/ui_extension_spec.rb +276 -0
  70. data/spec/lib/contentful/management/user_spec.rb +52 -0
  71. data/spec/lib/contentful/management/webhook_calls_spec.rb +69 -0
  72. data/spec/lib/contentful/management/webhook_health_spec.rb +51 -0
  73. metadata +88 -8
  74. data/lib/contentful/management/http_client.rb +0 -89
@@ -0,0 +1,322 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/space_memberships/7pcydolqtgMaSLwmXMvGqW
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/2.2.2
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Accept-Ranges:
28
+ - bytes
29
+ Access-Control-Allow-Headers:
30
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Expose-Headers:
36
+ - Etag
37
+ Access-Control-Max-Age:
38
+ - '1728000'
39
+ Cache-Control:
40
+ - max-age=0
41
+ Cf-Organization-Id:
42
+ - 4SsuxQCaMaemfIms52Jr8s
43
+ Cf-Space-Id:
44
+ - facgnwwgj5fe
45
+ Content-Type:
46
+ - application/vnd.contentful.management.v1+json
47
+ Date:
48
+ - Wed, 06 Sep 2017 12:09:26 GMT
49
+ Etag:
50
+ - W/"c62ec9dfa9b4bac2290c34b40d6d7ab0"
51
+ Server:
52
+ - Contentful
53
+ Strict-Transport-Security:
54
+ - max-age=15768000
55
+ X-Content-Type-Options:
56
+ - nosniff
57
+ X-Contentful-Ratelimit-Hour-Limit:
58
+ - '36000'
59
+ X-Contentful-Ratelimit-Hour-Remaining:
60
+ - '35992'
61
+ X-Contentful-Ratelimit-Reset:
62
+ - '0'
63
+ X-Contentful-Ratelimit-Second-Limit:
64
+ - '10'
65
+ X-Contentful-Ratelimit-Second-Remaining:
66
+ - '9'
67
+ X-Contentful-Request-Id:
68
+ - aa9facf765124ea6008412a0fd2f8908
69
+ X-Frame-Options:
70
+ - ALLOWALL
71
+ X-Xss-Protection:
72
+ - 1; mode=block
73
+ Content-Length:
74
+ - '844'
75
+ Connection:
76
+ - Close
77
+ Set-Cookie:
78
+ - incap_ses_187_673446=jll9Rb2bPXCexnqC5luYAnXlr1kAAAAA2h3MUhorPQHKtMOazqTDAA==;
79
+ path=/; Domain=.contentful.com
80
+ - nlbi_673446=qjCvC+l8JWGNqz+k6lKYhQAAAABqNdQcgqVHyQixlnfnu0+w; path=/; Domain=.contentful.com
81
+ - visid_incap_673446=ZB5cDhTdQPaKcCPw7D+H9nXlr1kAAAAAQUIPAAAAAAAjhLtesCN3Y0Dw3b/c4uiP;
82
+ expires=Thu, 06 Sep 2018 12:01:52 GMT; path=/; Domain=.contentful.com
83
+ X-Iinfo:
84
+ - 5-51086660-51086673 NNNN CT(85 80 0) RT(1504699765174 86) q(0 0 2 -1) r(4
85
+ 4) U5
86
+ X-Cdn:
87
+ - Incapsula
88
+ body:
89
+ encoding: ASCII-8BIT
90
+ string: |+
91
+ {
92
+ "admin":false,
93
+ "sys":{
94
+ "type":"SpaceMembership",
95
+ "id":"7pcydolqtgMaSLwmXMvGqW",
96
+ "version":0,
97
+ "space":{
98
+ "sys":{
99
+ "type":"Link",
100
+ "linkType":"Space",
101
+ "id":"facgnwwgj5fe"
102
+ }
103
+ },
104
+ "createdBy":{
105
+ "sys":{
106
+ "type":"Link",
107
+ "linkType":"User",
108
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
109
+ }
110
+ },
111
+ "createdAt":"2017-09-06T12:08:00Z",
112
+ "updatedBy":{
113
+ "sys":{
114
+ "type":"Link",
115
+ "linkType":"User",
116
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
117
+ }
118
+ },
119
+ "updatedAt":"2017-09-06T12:08:00Z"
120
+ },
121
+ "user":{
122
+ "sys":{
123
+ "type":"Link",
124
+ "linkType":"User",
125
+ "id":"7pdApScArzEYCSN9RTtGx8"
126
+ }
127
+ },
128
+ "roles":[
129
+ {
130
+ "sys":{
131
+ "type":"Link",
132
+ "linkType":"Role",
133
+ "id":"1Nq88dKTNXNaxkbrRpEEw6"
134
+ }
135
+ }
136
+ ]
137
+ }
138
+
139
+ http_version:
140
+ recorded_at: Wed, 06 Sep 2017 12:09:26 GMT
141
+ - request:
142
+ method: delete
143
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/space_memberships/7pcydolqtgMaSLwmXMvGqW
144
+ body:
145
+ encoding: US-ASCII
146
+ string: ''
147
+ headers:
148
+ X-Contentful-User-Agent:
149
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
150
+ Authorization:
151
+ - Bearer <ACCESS_TOKEN>
152
+ Content-Type:
153
+ - application/vnd.contentful.management.v1+json
154
+ Connection:
155
+ - close
156
+ Host:
157
+ - api.contentful.com
158
+ User-Agent:
159
+ - http.rb/2.2.2
160
+ response:
161
+ status:
162
+ code: 204
163
+ message: No Content
164
+ headers:
165
+ Accept-Ranges:
166
+ - bytes
167
+ Access-Control-Allow-Headers:
168
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
169
+ Access-Control-Allow-Methods:
170
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
171
+ Access-Control-Allow-Origin:
172
+ - "*"
173
+ Access-Control-Expose-Headers:
174
+ - Etag
175
+ Access-Control-Max-Age:
176
+ - '1728000'
177
+ Cache-Control:
178
+ - max-age=0
179
+ Cf-Organization-Id:
180
+ - 4SsuxQCaMaemfIms52Jr8s
181
+ Cf-Space-Id:
182
+ - facgnwwgj5fe
183
+ Content-Type:
184
+ - application/octet-stream
185
+ Date:
186
+ - Wed, 06 Sep 2017 12:09:26 GMT
187
+ Server:
188
+ - Contentful
189
+ Strict-Transport-Security:
190
+ - max-age=15768000
191
+ X-Content-Type-Options:
192
+ - nosniff
193
+ X-Contentful-Ratelimit-Hour-Limit:
194
+ - '36000'
195
+ X-Contentful-Ratelimit-Hour-Remaining:
196
+ - '35991'
197
+ X-Contentful-Ratelimit-Reset:
198
+ - '0'
199
+ X-Contentful-Ratelimit-Second-Limit:
200
+ - '10'
201
+ X-Contentful-Ratelimit-Second-Remaining:
202
+ - '8'
203
+ X-Contentful-Request-Id:
204
+ - 8ba5dcb26f7e4b5c1e281173654ce8cc
205
+ X-Frame-Options:
206
+ - ALLOWALL
207
+ X-Xss-Protection:
208
+ - 1; mode=block
209
+ Connection:
210
+ - Close
211
+ Set-Cookie:
212
+ - incap_ses_187_673446=KJQHBZni8G8Sx3qC5luYAnblr1kAAAAApeKaBYuzFItFkI9BrdTfNA==;
213
+ path=/; Domain=.contentful.com
214
+ - nlbi_673446=hgM0YiOJS3JEUnz56lKYhQAAAABA+cDHNmlqUIN0Pwf+Wuhx; path=/; Domain=.contentful.com
215
+ - visid_incap_673446=k+laFPEtQHeO6xVkSvkSQXblr1kAAAAAQUIPAAAAAACuWfg0HbPlZ116pnL0cBLZ;
216
+ expires=Thu, 06 Sep 2018 12:01:52 GMT; path=/; Domain=.contentful.com
217
+ X-Iinfo:
218
+ - 10-61147395-61147400 NNNN CT(83 89 0) RT(1504699765692 65) q(0 0 2 -1) r(4
219
+ 4) U5
220
+ X-Cdn:
221
+ - Incapsula
222
+ body:
223
+ encoding: ASCII-8BIT
224
+ string: ''
225
+ http_version:
226
+ recorded_at: Wed, 06 Sep 2017 12:09:26 GMT
227
+ - request:
228
+ method: get
229
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/space_memberships/7pcydolqtgMaSLwmXMvGqW
230
+ body:
231
+ encoding: US-ASCII
232
+ string: ''
233
+ headers:
234
+ X-Contentful-User-Agent:
235
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
236
+ Authorization:
237
+ - Bearer <ACCESS_TOKEN>
238
+ Content-Type:
239
+ - application/vnd.contentful.management.v1+json
240
+ Connection:
241
+ - close
242
+ Host:
243
+ - api.contentful.com
244
+ User-Agent:
245
+ - http.rb/2.2.2
246
+ response:
247
+ status:
248
+ code: 404
249
+ message: Not Found
250
+ headers:
251
+ Accept-Ranges:
252
+ - bytes
253
+ Access-Control-Allow-Headers:
254
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
255
+ Access-Control-Allow-Methods:
256
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
257
+ Access-Control-Allow-Origin:
258
+ - "*"
259
+ Access-Control-Expose-Headers:
260
+ - Etag
261
+ Access-Control-Max-Age:
262
+ - '1728000'
263
+ Cache-Control:
264
+ - max-age=0
265
+ Content-Type:
266
+ - application/vnd.contentful.management.v1+json
267
+ Date:
268
+ - Wed, 06 Sep 2017 12:09:27 GMT
269
+ Server:
270
+ - Contentful
271
+ Set-Cookie:
272
+ - _auth_new_session=76bda8bb44fa81074ec4a0da402dcdf9; path=/; expires=Wed, 20
273
+ Sep 2017 12:09:27 -0000; secure; HttpOnly
274
+ - incap_ses_187_673446=d3xEJY/rphJzx3qC5luYAnblr1kAAAAAvF+gNe5hF0ldCZCU3yWcUA==;
275
+ path=/; Domain=.contentful.com
276
+ - nlbi_673446=CUiIDfmn1XOJJ+wn6lKYhQAAAABUSISgzIm1SeqdpOtuSdy5; path=/; Domain=.contentful.com
277
+ - visid_incap_673446=YDoJdL+5RFGAzVauwgzqzHblr1kAAAAAQUIPAAAAAABuEJwVwRp8VBKRwjwPaRyA;
278
+ expires=Thu, 06 Sep 2018 12:01:52 GMT; path=/; Domain=.contentful.com
279
+ Strict-Transport-Security:
280
+ - max-age=15768000
281
+ X-Content-Type-Options:
282
+ - nosniff
283
+ X-Contentful-Ratelimit-Hour-Limit:
284
+ - '36000'
285
+ X-Contentful-Ratelimit-Hour-Remaining:
286
+ - '35990'
287
+ X-Contentful-Ratelimit-Reset:
288
+ - '0'
289
+ X-Contentful-Ratelimit-Second-Limit:
290
+ - '10'
291
+ X-Contentful-Ratelimit-Second-Remaining:
292
+ - '9'
293
+ X-Contentful-Request-Id:
294
+ - 42efcd0a8b927b636176b4f662129f54
295
+ X-Frame-Options:
296
+ - ALLOWALL
297
+ X-Xss-Protection:
298
+ - 1; mode=block
299
+ Content-Length:
300
+ - '157'
301
+ Connection:
302
+ - Close
303
+ X-Iinfo:
304
+ - 2-32790687-32790694 NNNN CT(76 80 0) RT(1504699766261 71) q(0 0 1 -1) r(3
305
+ 3) U5
306
+ X-Cdn:
307
+ - Incapsula
308
+ body:
309
+ encoding: ASCII-8BIT
310
+ string: |+
311
+ {
312
+ "requestId":"42efcd0a8b927b636176b4f662129f54",
313
+ "message":"The resource could not be found.",
314
+ "sys":{
315
+ "type":"Error",
316
+ "id":"NotFound"
317
+ }
318
+ }
319
+
320
+ http_version:
321
+ recorded_at: Wed, 06 Sep 2017 12:09:27 GMT
322
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,141 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/space_memberships/6RdRdobdQzh8zKe1Hogiz4
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/2.2.2
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Accept-Ranges:
28
+ - bytes
29
+ Access-Control-Allow-Headers:
30
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Expose-Headers:
36
+ - Etag
37
+ Access-Control-Max-Age:
38
+ - '1728000'
39
+ Cache-Control:
40
+ - max-age=0
41
+ Cf-Organization-Id:
42
+ - 4SsuxQCaMaemfIms52Jr8s
43
+ Cf-Space-Id:
44
+ - facgnwwgj5fe
45
+ Content-Type:
46
+ - application/vnd.contentful.management.v1+json
47
+ Date:
48
+ - Wed, 06 Sep 2017 12:05:20 GMT
49
+ Etag:
50
+ - W/"1c03388bd430f009038a9d28f6f73099"
51
+ Server:
52
+ - Contentful
53
+ Strict-Transport-Security:
54
+ - max-age=15768000
55
+ X-Content-Type-Options:
56
+ - nosniff
57
+ X-Contentful-Ratelimit-Hour-Limit:
58
+ - '36000'
59
+ X-Contentful-Ratelimit-Hour-Remaining:
60
+ - '35994'
61
+ X-Contentful-Ratelimit-Reset:
62
+ - '0'
63
+ X-Contentful-Ratelimit-Second-Limit:
64
+ - '10'
65
+ X-Contentful-Ratelimit-Second-Remaining:
66
+ - '9'
67
+ X-Contentful-Request-Id:
68
+ - 70412ea35e9af17b22260a78d4226c6b
69
+ X-Frame-Options:
70
+ - ALLOWALL
71
+ X-Xss-Protection:
72
+ - 1; mode=block
73
+ Content-Length:
74
+ - '844'
75
+ Connection:
76
+ - Close
77
+ Set-Cookie:
78
+ - incap_ses_187_673446=DWcXSWELMjyp9XmC5luYAn/kr1kAAAAAzheRbue2a10Jko37nwgAow==;
79
+ path=/; Domain=.contentful.com
80
+ - nlbi_673446=1pqId90INjs5+kBU6lKYhQAAAAAZjRUYxyu+1nKUg4rGDeRO; path=/; Domain=.contentful.com
81
+ - visid_incap_673446=Z26CygyORu2lm3oIcIeB0X/kr1kAAAAAQUIPAAAAAACcnCTOLkEhqgY+JizI8xbB;
82
+ expires=Thu, 06 Sep 2018 12:02:12 GMT; path=/; Domain=.contentful.com
83
+ X-Iinfo:
84
+ - 8-50222032-50222039 NNNN CT(77 78 0) RT(1504699519049 74) q(0 0 1 -1) r(3
85
+ 3) U5
86
+ X-Cdn:
87
+ - Incapsula
88
+ body:
89
+ encoding: ASCII-8BIT
90
+ string: |+
91
+ {
92
+ "admin":false,
93
+ "sys":{
94
+ "type":"SpaceMembership",
95
+ "id":"6RdRdobdQzh8zKe1Hogiz4",
96
+ "version":0,
97
+ "space":{
98
+ "sys":{
99
+ "type":"Link",
100
+ "linkType":"Space",
101
+ "id":"facgnwwgj5fe"
102
+ }
103
+ },
104
+ "createdBy":{
105
+ "sys":{
106
+ "type":"Link",
107
+ "linkType":"User",
108
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
109
+ }
110
+ },
111
+ "createdAt":"2017-07-06T14:18:17Z",
112
+ "updatedBy":{
113
+ "sys":{
114
+ "type":"Link",
115
+ "linkType":"User",
116
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
117
+ }
118
+ },
119
+ "updatedAt":"2017-07-06T14:18:17Z"
120
+ },
121
+ "user":{
122
+ "sys":{
123
+ "type":"Link",
124
+ "linkType":"User",
125
+ "id":"3xagQOg6z3bxOhPcTpgsaq"
126
+ }
127
+ },
128
+ "roles":[
129
+ {
130
+ "sys":{
131
+ "type":"Link",
132
+ "linkType":"Role",
133
+ "id":"1Nq88dKTNXNaxkbrRpEEw6"
134
+ }
135
+ }
136
+ ]
137
+ }
138
+
139
+ http_version:
140
+ recorded_at: Wed, 06 Sep 2017 12:05:20 GMT
141
+ recorded_with: VCR 3.0.3