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.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +15 -0
- data/README.md +209 -41
- data/contentful-management.gemspec +1 -1
- data/lib/contentful/management/asset.rb +1 -1
- data/lib/contentful/management/client.rb +155 -31
- data/lib/contentful/management/client_organization_methods_factory.rb +23 -0
- data/lib/contentful/management/client_personal_access_tokens_methods_factory.rb +27 -0
- data/lib/contentful/management/client_snapshot_methods_factory.rb +16 -6
- data/lib/contentful/management/client_space_membership_methods_factory.rb +15 -0
- data/lib/contentful/management/client_ui_extension_methods_factory.rb +15 -0
- data/lib/contentful/management/client_user_methods_factory.rb +27 -0
- data/lib/contentful/management/client_webhook_call_methods_factory.rb +30 -0
- data/lib/contentful/management/client_webhook_health_methods_factory.rb +27 -0
- data/lib/contentful/management/content_type.rb +10 -0
- data/lib/contentful/management/content_type_snapshot_methods_factory.rb +35 -0
- data/lib/contentful/management/editor_interface.rb +1 -1
- data/lib/contentful/management/organization.rb +20 -0
- data/lib/contentful/management/personal_access_token.rb +45 -0
- data/lib/contentful/management/request.rb +0 -1
- data/lib/contentful/management/resource.rb +4 -2
- data/lib/contentful/management/resource_builder.rb +15 -0
- data/lib/contentful/management/snapshot.rb +31 -20
- data/lib/contentful/management/space.rb +32 -10
- data/lib/contentful/management/space_membership.rb +43 -0
- data/lib/contentful/management/space_space_membership_methods_factory.rb +15 -0
- data/lib/contentful/management/space_ui_extension_methods_factory.rb +15 -0
- data/lib/contentful/management/ui_extension.rb +106 -0
- data/lib/contentful/management/user.rb +28 -0
- data/lib/contentful/management/version.rb +1 -1
- data/lib/contentful/management/webhook.rb +20 -0
- data/lib/contentful/management/webhook_call.rb +77 -0
- data/lib/contentful/management/webhook_health.rb +79 -0
- data/lib/contentful/management/webhook_webhook_call_methods_factory.rb +30 -0
- data/lib/contentful/management/webhook_webhook_health_methods_factory.rb +28 -0
- data/spec/fixtures/vcr_cassettes/get_request.yml +34 -17
- data/spec/fixtures/vcr_cassettes/organization/all.yml +100 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/all.yml +101 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/create.yml +94 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/find.yml +91 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/find_not_found.yml +88 -0
- data/spec/fixtures/vcr_cassettes/personal_access_token/revoke.yml +179 -0
- data/spec/fixtures/vcr_cassettes/snapshot/ct_all.yml +207 -0
- data/spec/fixtures/vcr_cassettes/snapshot/ct_find.yml +198 -0
- data/spec/fixtures/vcr_cassettes/snapshot/ct_find_not_found.yml +94 -0
- data/spec/fixtures/vcr_cassettes/space/all_disabled_cache.yml +428 -0
- data/spec/fixtures/vcr_cassettes/space/disabled_cache.yml +120 -0
- data/spec/fixtures/vcr_cassettes/space_memberships/all.yml +190 -0
- data/spec/fixtures/vcr_cassettes/space_memberships/create.yml +143 -0
- data/spec/fixtures/vcr_cassettes/space_memberships/delete.yml +322 -0
- data/spec/fixtures/vcr_cassettes/space_memberships/find.yml +141 -0
- data/spec/fixtures/vcr_cassettes/ui_extension/all.yml +1020 -0
- data/spec/fixtures/vcr_cassettes/ui_extension/create.yml +133 -0
- data/spec/fixtures/vcr_cassettes/ui_extension/delete.yml +291 -0
- data/spec/fixtures/vcr_cassettes/ui_extension/find.yml +126 -0
- data/spec/fixtures/vcr_cassettes/user/find.yml +96 -0
- data/spec/fixtures/vcr_cassettes/webhook_call/all.yml +151 -0
- data/spec/fixtures/vcr_cassettes/webhook_call/find.yml +88 -0
- data/spec/fixtures/vcr_cassettes/webhook_call/find_not_found.yml +93 -0
- data/spec/fixtures/vcr_cassettes/webhook_health/find.yml +111 -0
- data/spec/lib/contentful/management/client_spec.rb +25 -26
- data/spec/lib/contentful/management/entry_spec.rb +48 -48
- data/spec/lib/contentful/management/organization_spec.rb +33 -0
- data/spec/lib/contentful/management/personal_access_token_spec.rb +85 -0
- data/spec/lib/contentful/management/snapshot_spec.rb +134 -47
- data/spec/lib/contentful/management/space_membership_spec.rb +147 -0
- data/spec/lib/contentful/management/space_spec.rb +35 -1
- data/spec/lib/contentful/management/ui_extension_spec.rb +276 -0
- data/spec/lib/contentful/management/user_spec.rb +52 -0
- data/spec/lib/contentful/management/webhook_calls_spec.rb +69 -0
- data/spec/lib/contentful/management/webhook_health_spec.rb +51 -0
- metadata +88 -8
- data/lib/contentful/management/http_client.rb +0 -89
@@ -0,0 +1,120 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe
|
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
|
+
Content-Length:
|
17
|
+
- '0'
|
18
|
+
Connection:
|
19
|
+
- close
|
20
|
+
Host:
|
21
|
+
- api.contentful.com
|
22
|
+
User-Agent:
|
23
|
+
- http.rb/2.2.2
|
24
|
+
response:
|
25
|
+
status:
|
26
|
+
code: 200
|
27
|
+
message: OK
|
28
|
+
headers:
|
29
|
+
Accept-Ranges:
|
30
|
+
- bytes
|
31
|
+
Access-Control-Allow-Headers:
|
32
|
+
- 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
|
33
|
+
Access-Control-Allow-Methods:
|
34
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
35
|
+
Access-Control-Allow-Origin:
|
36
|
+
- "*"
|
37
|
+
Access-Control-Expose-Headers:
|
38
|
+
- Etag
|
39
|
+
Access-Control-Max-Age:
|
40
|
+
- '1728000'
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0
|
43
|
+
Cf-Organization-Id:
|
44
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
45
|
+
Cf-Space-Id:
|
46
|
+
- facgnwwgj5fe
|
47
|
+
Content-Type:
|
48
|
+
- application/vnd.contentful.management.v1+json
|
49
|
+
Date:
|
50
|
+
- Mon, 14 Aug 2017 14:09:27 GMT
|
51
|
+
Etag:
|
52
|
+
- W/"2f3dfae3ec7e58a21484de15f2c063b5"
|
53
|
+
Server:
|
54
|
+
- Contentful
|
55
|
+
Strict-Transport-Security:
|
56
|
+
- max-age=15768000
|
57
|
+
X-Content-Type-Options:
|
58
|
+
- nosniff
|
59
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
60
|
+
- '36000'
|
61
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
62
|
+
- '35988'
|
63
|
+
X-Contentful-Ratelimit-Reset:
|
64
|
+
- '0'
|
65
|
+
X-Contentful-Ratelimit-Second-Limit:
|
66
|
+
- '10'
|
67
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
68
|
+
- '9'
|
69
|
+
X-Contentful-Request-Id:
|
70
|
+
- 92ce57f98f073b40d8a162ea4a6faf7a
|
71
|
+
X-Frame-Options:
|
72
|
+
- ALLOWALL
|
73
|
+
X-Xss-Protection:
|
74
|
+
- 1; mode=block
|
75
|
+
Content-Length:
|
76
|
+
- '469'
|
77
|
+
Connection:
|
78
|
+
- Close
|
79
|
+
Set-Cookie:
|
80
|
+
- incap_ses_685_673446=xr7LJbseXgCWONSRt52BCRavkVkAAAAAG+scMsrQTr+vE1//dHl3Sw==;
|
81
|
+
path=/; Domain=.contentful.com
|
82
|
+
- nlbi_673446=NRXKF0v7jit/AZtj6lKYhQAAAACLZvv4AjNHx6h4J1m4HBqU; path=/; Domain=.contentful.com
|
83
|
+
- visid_incap_673446=ZET2FNHIRVOScTkF82jNMBavkVkAAAAAQUIPAAAAAADQB8ePUQQKW5hVECYUhxog;
|
84
|
+
expires=Tue, 14 Aug 2018 13:23:41 GMT; path=/; Domain=.contentful.com
|
85
|
+
X-Iinfo:
|
86
|
+
- 1-13013416-13013438 NNNN CT(140 283 0) RT(1502719765993 272) q(0 0 4 -1) r(7
|
87
|
+
7) U5
|
88
|
+
X-Cdn:
|
89
|
+
- Incapsula
|
90
|
+
body:
|
91
|
+
encoding: ASCII-8BIT
|
92
|
+
string: |+
|
93
|
+
{
|
94
|
+
"name":"management.py - playground",
|
95
|
+
"sys":{
|
96
|
+
"type":"Space",
|
97
|
+
"id":"facgnwwgj5fe",
|
98
|
+
"version":1,
|
99
|
+
"createdBy":{
|
100
|
+
"sys":{
|
101
|
+
"type":"Link",
|
102
|
+
"linkType":"User",
|
103
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
104
|
+
}
|
105
|
+
},
|
106
|
+
"createdAt":"2017-03-02T18:30:26Z",
|
107
|
+
"updatedBy":{
|
108
|
+
"sys":{
|
109
|
+
"type":"Link",
|
110
|
+
"linkType":"User",
|
111
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"updatedAt":"2017-03-02T18:30:26Z"
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
http_version:
|
119
|
+
recorded_at: Mon, 14 Aug 2017 14:09:27 GMT
|
120
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,190 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/space_memberships
|
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:01:52 GMT
|
49
|
+
Etag:
|
50
|
+
- W/"dda64bbb7b1d0b38bc504a6dcc255340"
|
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
|
+
- '35999'
|
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
|
+
- 69db9a3879299f7f8b8d3878ac7e45a8
|
69
|
+
X-Frame-Options:
|
70
|
+
- ALLOWALL
|
71
|
+
X-Xss-Protection:
|
72
|
+
- 1; mode=block
|
73
|
+
Content-Length:
|
74
|
+
- '1999'
|
75
|
+
Connection:
|
76
|
+
- Close
|
77
|
+
Set-Cookie:
|
78
|
+
- incap_ses_187_673446=4zOLaLrFTEuIRXmC5luYArDjr1kAAAAAhUvDgYtrh/1MNo0LsNmm5Q==;
|
79
|
+
path=/; Domain=.contentful.com
|
80
|
+
- nlbi_673446=5MVfasB7cExZPX8F6lKYhQAAAABdSGQed/0yzv7eYnFdlbNj; path=/; Domain=.contentful.com
|
81
|
+
- visid_incap_673446=OpOlr3izQ7uMaLnM+l7MsbDjr1kAAAAAQUIPAAAAAADZ5QpB1W/vTPLNpqYRwzQP;
|
82
|
+
expires=Thu, 06 Sep 2018 12:01:52 GMT; path=/; Domain=.contentful.com
|
83
|
+
X-Iinfo:
|
84
|
+
- 4-44318685-44318692 NNNN CT(85 88 0) RT(1504699311750 75) 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
|
+
"total":2,
|
93
|
+
"limit":25,
|
94
|
+
"skip":0,
|
95
|
+
"sys":{
|
96
|
+
"type":"Array"
|
97
|
+
},
|
98
|
+
"items":[
|
99
|
+
{
|
100
|
+
"admin":true,
|
101
|
+
"sys":{
|
102
|
+
"type":"SpaceMembership",
|
103
|
+
"id":"1NI22o8oAxT9Jnu2J9wJSu",
|
104
|
+
"version":0,
|
105
|
+
"space":{
|
106
|
+
"sys":{
|
107
|
+
"type":"Link",
|
108
|
+
"linkType":"Space",
|
109
|
+
"id":"facgnwwgj5fe"
|
110
|
+
}
|
111
|
+
},
|
112
|
+
"createdBy":{
|
113
|
+
"sys":{
|
114
|
+
"type":"Link",
|
115
|
+
"linkType":"User",
|
116
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"createdAt":"2017-03-02T18:30:27Z",
|
120
|
+
"updatedBy":{
|
121
|
+
"sys":{
|
122
|
+
"type":"Link",
|
123
|
+
"linkType":"User",
|
124
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
125
|
+
}
|
126
|
+
},
|
127
|
+
"updatedAt":"2017-03-02T18:30:27Z"
|
128
|
+
},
|
129
|
+
"user":{
|
130
|
+
"sys":{
|
131
|
+
"type":"Link",
|
132
|
+
"linkType":"User",
|
133
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"roles":[]
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"admin":false,
|
140
|
+
"sys":{
|
141
|
+
"type":"SpaceMembership",
|
142
|
+
"id":"6RdRdobdQzh8zKe1Hogiz4",
|
143
|
+
"version":0,
|
144
|
+
"space":{
|
145
|
+
"sys":{
|
146
|
+
"type":"Link",
|
147
|
+
"linkType":"Space",
|
148
|
+
"id":"facgnwwgj5fe"
|
149
|
+
}
|
150
|
+
},
|
151
|
+
"createdBy":{
|
152
|
+
"sys":{
|
153
|
+
"type":"Link",
|
154
|
+
"linkType":"User",
|
155
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
156
|
+
}
|
157
|
+
},
|
158
|
+
"createdAt":"2017-07-06T14:18:17Z",
|
159
|
+
"updatedBy":{
|
160
|
+
"sys":{
|
161
|
+
"type":"Link",
|
162
|
+
"linkType":"User",
|
163
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
164
|
+
}
|
165
|
+
},
|
166
|
+
"updatedAt":"2017-07-06T14:18:17Z"
|
167
|
+
},
|
168
|
+
"user":{
|
169
|
+
"sys":{
|
170
|
+
"type":"Link",
|
171
|
+
"linkType":"User",
|
172
|
+
"id":"3xagQOg6z3bxOhPcTpgsaq"
|
173
|
+
}
|
174
|
+
},
|
175
|
+
"roles":[
|
176
|
+
{
|
177
|
+
"sys":{
|
178
|
+
"type":"Link",
|
179
|
+
"linkType":"Role",
|
180
|
+
"id":"1Nq88dKTNXNaxkbrRpEEw6"
|
181
|
+
}
|
182
|
+
}
|
183
|
+
]
|
184
|
+
}
|
185
|
+
]
|
186
|
+
}
|
187
|
+
|
188
|
+
http_version:
|
189
|
+
recorded_at: Wed, 06 Sep 2017 12:01:52 GMT
|
190
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,143 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/space_memberships
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"admin":false,"roles":[{"sys":{"type":"Link","linkType":"Role","id":"1Nq88dKTNXNaxkbrRpEEw6"}}],"email":"david.litvak+test_rcma@contentful.com"}'
|
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: 201
|
25
|
+
message: Created
|
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:08:00 GMT
|
49
|
+
Etag:
|
50
|
+
- W/"c62ec9dfa9b4bac2290c34b40d6d7ab0"
|
51
|
+
Location:
|
52
|
+
- https://api.contentful.com/spaces/facgnwwgj5fe/space_memberships/7pcydolqtgMaSLwmXMvGqW
|
53
|
+
Server:
|
54
|
+
- Contentful
|
55
|
+
Strict-Transport-Security:
|
56
|
+
- max-age=15768000
|
57
|
+
X-Content-Type-Options:
|
58
|
+
- nosniff
|
59
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
60
|
+
- '36000'
|
61
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
62
|
+
- '35993'
|
63
|
+
X-Contentful-Ratelimit-Reset:
|
64
|
+
- '0'
|
65
|
+
X-Contentful-Ratelimit-Second-Limit:
|
66
|
+
- '10'
|
67
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
68
|
+
- '9'
|
69
|
+
X-Contentful-Request-Id:
|
70
|
+
- 321f32769011b4f6e7015579dbe0b1bd
|
71
|
+
X-Frame-Options:
|
72
|
+
- ALLOWALL
|
73
|
+
X-Xss-Protection:
|
74
|
+
- 1; mode=block
|
75
|
+
Content-Length:
|
76
|
+
- '844'
|
77
|
+
Connection:
|
78
|
+
- Close
|
79
|
+
Set-Cookie:
|
80
|
+
- incap_ses_187_673446=DHxtR3Q8LmWIf3qC5luYAh/lr1kAAAAAo6m2n0hWfp8kWQRgLh3kSA==;
|
81
|
+
path=/; Domain=.contentful.com
|
82
|
+
- nlbi_673446=5tGjRsoRcVMvj8O86lKYhQAAAAC1DuezCsxgCCavD4oWYacD; path=/; Domain=.contentful.com
|
83
|
+
- visid_incap_673446=xQv0G/gSSDCOpctjgjkISR/lr1kAAAAAQUIPAAAAAABaAjBAZ2UQHjTITQOWDICy;
|
84
|
+
expires=Thu, 06 Sep 2018 12:01:52 GMT; path=/; Domain=.contentful.com
|
85
|
+
X-Iinfo:
|
86
|
+
- 4-44352334-44352344 NNNN CT(87 86 0) RT(1504699679073 68) q(0 0 2 -1) r(7
|
87
|
+
7) U5
|
88
|
+
X-Cdn:
|
89
|
+
- Incapsula
|
90
|
+
body:
|
91
|
+
encoding: ASCII-8BIT
|
92
|
+
string: |+
|
93
|
+
{
|
94
|
+
"admin":false,
|
95
|
+
"sys":{
|
96
|
+
"type":"SpaceMembership",
|
97
|
+
"id":"7pcydolqtgMaSLwmXMvGqW",
|
98
|
+
"version":0,
|
99
|
+
"space":{
|
100
|
+
"sys":{
|
101
|
+
"type":"Link",
|
102
|
+
"linkType":"Space",
|
103
|
+
"id":"facgnwwgj5fe"
|
104
|
+
}
|
105
|
+
},
|
106
|
+
"createdBy":{
|
107
|
+
"sys":{
|
108
|
+
"type":"Link",
|
109
|
+
"linkType":"User",
|
110
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"createdAt":"2017-09-06T12:08:00Z",
|
114
|
+
"updatedBy":{
|
115
|
+
"sys":{
|
116
|
+
"type":"Link",
|
117
|
+
"linkType":"User",
|
118
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
119
|
+
}
|
120
|
+
},
|
121
|
+
"updatedAt":"2017-09-06T12:08:00Z"
|
122
|
+
},
|
123
|
+
"user":{
|
124
|
+
"sys":{
|
125
|
+
"type":"Link",
|
126
|
+
"linkType":"User",
|
127
|
+
"id":"7pdApScArzEYCSN9RTtGx8"
|
128
|
+
}
|
129
|
+
},
|
130
|
+
"roles":[
|
131
|
+
{
|
132
|
+
"sys":{
|
133
|
+
"type":"Link",
|
134
|
+
"linkType":"Role",
|
135
|
+
"id":"1Nq88dKTNXNaxkbrRpEEw6"
|
136
|
+
}
|
137
|
+
}
|
138
|
+
]
|
139
|
+
}
|
140
|
+
|
141
|
+
http_version:
|
142
|
+
recorded_at: Wed, 06 Sep 2017 12:08:00 GMT
|
143
|
+
recorded_with: VCR 3.0.3
|