contentful-management 2.12.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -0
- data/README.md +24 -0
- data/lib/contentful/management/asset.rb +2 -0
- data/lib/contentful/management/entry.rb +2 -0
- data/lib/contentful/management/field.rb +3 -1
- data/lib/contentful/management/organization.rb +10 -0
- data/lib/contentful/management/organization_user_methods_factory.rb +22 -0
- data/lib/contentful/management/resource.rb +7 -4
- data/lib/contentful/management/resource/metadata.rb +44 -0
- data/lib/contentful/management/resource_builder.rb +4 -2
- data/lib/contentful/management/space.rb +10 -0
- data/lib/contentful/management/space_user_methods_factory.rb +23 -0
- data/lib/contentful/management/tag.rb +14 -0
- data/lib/contentful/management/user.rb +7 -1
- data/lib/contentful/management/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/asset/issue_219.yml +442 -0
- data/spec/fixtures/vcr_cassettes/entry/issue_219.yml +535 -0
- data/spec/fixtures/vcr_cassettes/organization/user.yml +238 -0
- data/spec/fixtures/vcr_cassettes/organization/users.yml +233 -0
- data/spec/fixtures/vcr_cassettes/space/user.yml +254 -0
- data/spec/fixtures/vcr_cassettes/space/users.yml +236 -0
- data/spec/lib/contentful/management/asset_spec.rb +31 -0
- data/spec/lib/contentful/management/entry_spec.rb +29 -0
- data/spec/lib/contentful/management/organization_spec.rb +30 -0
- data/spec/lib/contentful/management/space_spec.rb +30 -0
- metadata +22 -6
@@ -0,0 +1,535 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/2l3j7k267g9k
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/2.13.0; platform ruby/2.6.3; os macOS/18;
|
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/4.4.1
|
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-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
|
31
|
+
Access-Control-Allow-Methods:
|
32
|
+
- DELETE,GET,HEAD,POST,PUT,PATCH,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
|
+
- no-store
|
41
|
+
Cf-Organization-Id:
|
42
|
+
- 1VcAE6naLx3WZBNNUIMMZE
|
43
|
+
Cf-Space-Id:
|
44
|
+
- 2l3j7k267g9k
|
45
|
+
Content-Type:
|
46
|
+
- application/vnd.contentful.management.v1+json
|
47
|
+
Contentful-Api:
|
48
|
+
- cma
|
49
|
+
Date:
|
50
|
+
- Thu, 07 Jan 2021 10:15:41 GMT
|
51
|
+
Etag:
|
52
|
+
- W/"659d95ef36a17e58e2737034fa6383c8"
|
53
|
+
Referrer-Policy:
|
54
|
+
- strict-origin-when-cross-origin
|
55
|
+
Server:
|
56
|
+
- Contentful
|
57
|
+
Strict-Transport-Security:
|
58
|
+
- max-age=15768000
|
59
|
+
X-Content-Type-Options:
|
60
|
+
- nosniff
|
61
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
62
|
+
- '36000'
|
63
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
64
|
+
- '35999'
|
65
|
+
X-Contentful-Ratelimit-Reset:
|
66
|
+
- '0'
|
67
|
+
X-Contentful-Ratelimit-Second-Limit:
|
68
|
+
- '10'
|
69
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
70
|
+
- '9'
|
71
|
+
X-Contentful-Request-Id:
|
72
|
+
- ae7817779337e63eea52cd0f2f7dcdd5
|
73
|
+
X-Contentful-Route:
|
74
|
+
- "/spaces/:id"
|
75
|
+
X-Download-Options:
|
76
|
+
- noopen
|
77
|
+
X-Frame-Options:
|
78
|
+
- ALLOWALL
|
79
|
+
X-Permitted-Cross-Domain-Policies:
|
80
|
+
- none
|
81
|
+
X-Xss-Protection:
|
82
|
+
- 1; mode=block
|
83
|
+
Content-Length:
|
84
|
+
- '615'
|
85
|
+
Connection:
|
86
|
+
- Close
|
87
|
+
Set-Cookie:
|
88
|
+
- incap_ses_1209_673446=NYPYaV0kOibRCIajdzvHEE3f9l8AAAAA1u9RFV5i0MGh+jM4zLejYg==;
|
89
|
+
path=/; Domain=.contentful.com
|
90
|
+
- nlbi_673446=wuGJCEio1FjuPvlOKsJtVwAAAAARF/iOnrZLadQsEp4cFAj/; path=/; Domain=.contentful.com
|
91
|
+
- visid_incap_673446=bDRMaDvjS3ekzB3AqzZWsk3f9l8AAAAAQUIPAAAAAABo15YvOU6jMObvBXrpBpjL;
|
92
|
+
expires=Fri, 07 Jan 2022 10:04:56 GMT; HttpOnly; path=/; Domain=.contentful.com
|
93
|
+
X-Cdn:
|
94
|
+
- Incapsula
|
95
|
+
X-Iinfo:
|
96
|
+
- 4-3558002-3558003 NNNN CT(160 324 0) RT(1610014540569 49) q(0 0 5 -1) r(7
|
97
|
+
7) U5
|
98
|
+
body:
|
99
|
+
encoding: ASCII-8BIT
|
100
|
+
string: |+
|
101
|
+
{
|
102
|
+
"name":"Colorful-Demo-Dev-workflow",
|
103
|
+
"sys":{
|
104
|
+
"type":"Space",
|
105
|
+
"id":"2l3j7k267g9k",
|
106
|
+
"version":3,
|
107
|
+
"createdBy":{
|
108
|
+
"sys":{
|
109
|
+
"type":"Link",
|
110
|
+
"linkType":"User",
|
111
|
+
"id":"0PCYk22mt1xD7gTKZhHycN"
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"createdAt":"2019-09-09T14:37:05Z",
|
115
|
+
"updatedBy":{
|
116
|
+
"sys":{
|
117
|
+
"type":"Link",
|
118
|
+
"linkType":"User",
|
119
|
+
"id":"0PCYk22mt1xD7gTKZhHycN"
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"updatedAt":"2019-10-25T15:17:48Z",
|
123
|
+
"organization":{
|
124
|
+
"sys":{
|
125
|
+
"type":"Link",
|
126
|
+
"linkType":"Organization",
|
127
|
+
"id":"1VcAE6naLx3WZBNNUIMMZE"
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
http_version:
|
134
|
+
recorded_at: Thu, 07 Jan 2021 10:15:39 GMT
|
135
|
+
- request:
|
136
|
+
method: get
|
137
|
+
uri: https://api.contentful.com/spaces/2l3j7k267g9k/environments/master
|
138
|
+
body:
|
139
|
+
encoding: UTF-8
|
140
|
+
string: ''
|
141
|
+
headers:
|
142
|
+
X-Contentful-User-Agent:
|
143
|
+
- sdk contentful-management.rb/2.13.0; platform ruby/2.6.3; os macOS/18;
|
144
|
+
Authorization:
|
145
|
+
- Bearer <ACCESS_TOKEN>
|
146
|
+
Content-Type:
|
147
|
+
- application/vnd.contentful.management.v1+json
|
148
|
+
Connection:
|
149
|
+
- close
|
150
|
+
Host:
|
151
|
+
- api.contentful.com
|
152
|
+
User-Agent:
|
153
|
+
- http.rb/4.4.1
|
154
|
+
response:
|
155
|
+
status:
|
156
|
+
code: 200
|
157
|
+
message: OK
|
158
|
+
headers:
|
159
|
+
Accept-Ranges:
|
160
|
+
- bytes
|
161
|
+
Access-Control-Allow-Headers:
|
162
|
+
- 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-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
|
163
|
+
Access-Control-Allow-Methods:
|
164
|
+
- DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
|
165
|
+
Access-Control-Allow-Origin:
|
166
|
+
- "*"
|
167
|
+
Access-Control-Expose-Headers:
|
168
|
+
- Etag
|
169
|
+
Access-Control-Max-Age:
|
170
|
+
- '1728000'
|
171
|
+
Cache-Control:
|
172
|
+
- no-store
|
173
|
+
Cf-Organization-Id:
|
174
|
+
- 1VcAE6naLx3WZBNNUIMMZE
|
175
|
+
Cf-Space-Id:
|
176
|
+
- 2l3j7k267g9k
|
177
|
+
Content-Type:
|
178
|
+
- application/vnd.contentful.management.v1+json
|
179
|
+
Contentful-Api:
|
180
|
+
- cma
|
181
|
+
Date:
|
182
|
+
- Thu, 07 Jan 2021 10:15:42 GMT
|
183
|
+
Etag:
|
184
|
+
- W/"901485ea9ca14612f2a5764df6b0fc04"
|
185
|
+
Referrer-Policy:
|
186
|
+
- strict-origin-when-cross-origin
|
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
|
+
- '35999'
|
197
|
+
X-Contentful-Ratelimit-Reset:
|
198
|
+
- '0'
|
199
|
+
X-Contentful-Ratelimit-Second-Limit:
|
200
|
+
- '10'
|
201
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
202
|
+
- '9'
|
203
|
+
X-Contentful-Request-Id:
|
204
|
+
- 9366bf5d97ab32b035c8f5c532b5c646
|
205
|
+
X-Contentful-Route:
|
206
|
+
- "/spaces/:space_id/environments/:id"
|
207
|
+
X-Download-Options:
|
208
|
+
- noopen
|
209
|
+
X-Frame-Options:
|
210
|
+
- ALLOWALL
|
211
|
+
X-Permitted-Cross-Domain-Policies:
|
212
|
+
- none
|
213
|
+
X-Xss-Protection:
|
214
|
+
- 1; mode=block
|
215
|
+
Content-Length:
|
216
|
+
- '827'
|
217
|
+
Connection:
|
218
|
+
- Close
|
219
|
+
Set-Cookie:
|
220
|
+
- incap_ses_1209_673446=4xkcB15qUhfkCIajdzvHEE7f9l8AAAAAzl8nYw0WQL216dS3rMMkLQ==;
|
221
|
+
path=/; Domain=.contentful.com
|
222
|
+
- nlbi_673446=uqrSaaLg+XBNK0neKsJtVwAAAAATBJU71Pl5tybeAllvOETE; path=/; Domain=.contentful.com
|
223
|
+
- visid_incap_673446=68Pe7uJMSPq/vuiZN6eRSE7f9l8AAAAAQUIPAAAAAACQENWxP8CRHf+WGIOVFqIY;
|
224
|
+
expires=Fri, 07 Jan 2022 10:05:01 GMT; HttpOnly; path=/; Domain=.contentful.com
|
225
|
+
X-Cdn:
|
226
|
+
- Incapsula
|
227
|
+
X-Iinfo:
|
228
|
+
- 1-982498-982499 NNNN CT(153 309 0) RT(1610014541353 53) q(0 0 4 -1) r(6 6)
|
229
|
+
U5
|
230
|
+
body:
|
231
|
+
encoding: ASCII-8BIT
|
232
|
+
string: |+
|
233
|
+
{
|
234
|
+
"name":"backup-1",
|
235
|
+
"sys":{
|
236
|
+
"type":"Environment",
|
237
|
+
"id":"master",
|
238
|
+
"aliasedEnvironment":{
|
239
|
+
"sys":{
|
240
|
+
"type":"Link",
|
241
|
+
"linkType":"Environment",
|
242
|
+
"id":"backup-1"
|
243
|
+
}
|
244
|
+
},
|
245
|
+
"version":3,
|
246
|
+
"space":{
|
247
|
+
"sys":{
|
248
|
+
"type":"Link",
|
249
|
+
"linkType":"Space",
|
250
|
+
"id":"2l3j7k267g9k"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
"status":{
|
254
|
+
"sys":{
|
255
|
+
"type":"Link",
|
256
|
+
"linkType":"Status",
|
257
|
+
"id":"ready"
|
258
|
+
}
|
259
|
+
},
|
260
|
+
"createdBy":{
|
261
|
+
"sys":{
|
262
|
+
"type":"Link",
|
263
|
+
"linkType":"User",
|
264
|
+
"id":"6c10tlsIDlE3qvnNoTwYa5"
|
265
|
+
}
|
266
|
+
},
|
267
|
+
"createdAt":"2020-10-05T14:36:26Z",
|
268
|
+
"updatedBy":{
|
269
|
+
"sys":{
|
270
|
+
"type":"Link",
|
271
|
+
"linkType":"User",
|
272
|
+
"id":"6c10tlsIDlE3qvnNoTwYa5"
|
273
|
+
}
|
274
|
+
},
|
275
|
+
"updatedAt":"2020-10-05T14:36:30Z"
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
http_version:
|
280
|
+
recorded_at: Thu, 07 Jan 2021 10:15:40 GMT
|
281
|
+
- request:
|
282
|
+
method: get
|
283
|
+
uri: https://api.contentful.com/spaces/2l3j7k267g9k/environments/master/entries/2AtqG09C50s7kE66POudAV
|
284
|
+
body:
|
285
|
+
encoding: UTF-8
|
286
|
+
string: ''
|
287
|
+
headers:
|
288
|
+
X-Contentful-User-Agent:
|
289
|
+
- sdk contentful-management.rb/2.13.0; platform ruby/2.6.3; os macOS/18;
|
290
|
+
Authorization:
|
291
|
+
- Bearer <ACCESS_TOKEN>
|
292
|
+
Content-Type:
|
293
|
+
- application/vnd.contentful.management.v1+json
|
294
|
+
Connection:
|
295
|
+
- close
|
296
|
+
Host:
|
297
|
+
- api.contentful.com
|
298
|
+
User-Agent:
|
299
|
+
- http.rb/4.4.1
|
300
|
+
response:
|
301
|
+
status:
|
302
|
+
code: 200
|
303
|
+
message: OK
|
304
|
+
headers:
|
305
|
+
Access-Control-Allow-Headers:
|
306
|
+
- 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-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
|
307
|
+
Access-Control-Allow-Methods:
|
308
|
+
- DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
|
309
|
+
Access-Control-Allow-Origin:
|
310
|
+
- "*"
|
311
|
+
Access-Control-Expose-Headers:
|
312
|
+
- Etag
|
313
|
+
Access-Control-Max-Age:
|
314
|
+
- '1728000'
|
315
|
+
Cache-Control:
|
316
|
+
- no-store
|
317
|
+
Cf-Environment-Id:
|
318
|
+
- master
|
319
|
+
Cf-Environment-Uuid:
|
320
|
+
- master
|
321
|
+
Cf-Space-Id:
|
322
|
+
- 2l3j7k267g9k
|
323
|
+
Content-Type:
|
324
|
+
- application/vnd.contentful.management.v1+json
|
325
|
+
Contentful-Api:
|
326
|
+
- cma
|
327
|
+
Date:
|
328
|
+
- Thu, 07 Jan 2021 10:15:42 GMT
|
329
|
+
Etag:
|
330
|
+
- '"5027620856603294770"'
|
331
|
+
Server:
|
332
|
+
- Contentful
|
333
|
+
Strict-Transport-Security:
|
334
|
+
- max-age=15768000
|
335
|
+
X-Content-Type-Options:
|
336
|
+
- nosniff
|
337
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
338
|
+
- '36000'
|
339
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
340
|
+
- '35998'
|
341
|
+
X-Contentful-Ratelimit-Reset:
|
342
|
+
- '0'
|
343
|
+
X-Contentful-Ratelimit-Second-Limit:
|
344
|
+
- '10'
|
345
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
346
|
+
- '8'
|
347
|
+
X-Contentful-Request-Id:
|
348
|
+
- c77b0210baec732686012a1a9e93c675
|
349
|
+
X-Contentful-Route:
|
350
|
+
- "/spaces/:space/environments/:environment/entries/:id"
|
351
|
+
Content-Length:
|
352
|
+
- '1460'
|
353
|
+
Connection:
|
354
|
+
- Close
|
355
|
+
Set-Cookie:
|
356
|
+
- incap_ses_1209_673446=neaDAj/Cs0vsCIajdzvHEE7f9l8AAAAAuNroBh8yIBDF7Q+nviLEKQ==;
|
357
|
+
path=/; Domain=.contentful.com
|
358
|
+
- nlbi_673446=KOBNIE0HUA3lhYOrKsJtVwAAAABty07BOgyGRxg4qhvbLoCm; path=/; Domain=.contentful.com
|
359
|
+
- visid_incap_673446=AyGHubpJRIOKpTTRYKjD207f9l8AAAAAQUIPAAAAAAA3ewF62GXIoE6x+yEuVlr9;
|
360
|
+
expires=Fri, 07 Jan 2022 10:04:56 GMT; HttpOnly; path=/; Domain=.contentful.com
|
361
|
+
X-Cdn:
|
362
|
+
- Incapsula
|
363
|
+
X-Iinfo:
|
364
|
+
- 4-3558015-3558016 NNNY CT(0 0 0) RT(1610014542111 81) q(0 0 0 -1) r(5 5) U5
|
365
|
+
body:
|
366
|
+
encoding: ASCII-8BIT
|
367
|
+
string: |
|
368
|
+
{
|
369
|
+
"metadata": {
|
370
|
+
"tags": [
|
371
|
+
{
|
372
|
+
"sys": {
|
373
|
+
"type": "Link",
|
374
|
+
"linkType": "Tag",
|
375
|
+
"id": "mobQa"
|
376
|
+
}
|
377
|
+
}
|
378
|
+
]
|
379
|
+
},
|
380
|
+
"sys": {
|
381
|
+
"space": {
|
382
|
+
"sys": {
|
383
|
+
"type": "Link",
|
384
|
+
"linkType": "Space",
|
385
|
+
"id": "2l3j7k267g9k"
|
386
|
+
}
|
387
|
+
},
|
388
|
+
"id": "2AtqG09C50s7kE66POudAV",
|
389
|
+
"type": "Entry",
|
390
|
+
"createdAt": "2020-11-23T13:09:04.355Z",
|
391
|
+
"updatedAt": "2020-11-23T14:37:00.106Z",
|
392
|
+
"environment": {
|
393
|
+
"sys": {
|
394
|
+
"id": "master",
|
395
|
+
"type": "Link",
|
396
|
+
"linkType": "Environment"
|
397
|
+
}
|
398
|
+
},
|
399
|
+
"firstPublishedAt": "2020-11-23T13:11:21.838Z",
|
400
|
+
"createdBy": {
|
401
|
+
"sys": {
|
402
|
+
"type": "Link",
|
403
|
+
"linkType": "User",
|
404
|
+
"id": "2hGh0i6ODQLEcdHQKgQfrA"
|
405
|
+
}
|
406
|
+
},
|
407
|
+
"updatedBy": {
|
408
|
+
"sys": {
|
409
|
+
"type": "Link",
|
410
|
+
"linkType": "User",
|
411
|
+
"id": "2tk1qOdVUXzixfz5dsanLT"
|
412
|
+
}
|
413
|
+
},
|
414
|
+
"publishedCounter": 4,
|
415
|
+
"version": 20,
|
416
|
+
"contentType": {
|
417
|
+
"sys": {
|
418
|
+
"type": "Link",
|
419
|
+
"linkType": "ContentType",
|
420
|
+
"id": "topicArticle"
|
421
|
+
}
|
422
|
+
}
|
423
|
+
},
|
424
|
+
"fields": {
|
425
|
+
"title": {
|
426
|
+
"en-US": "Can't publish this"
|
427
|
+
},
|
428
|
+
"shortDescription": {
|
429
|
+
"en-US": "What is going on here can I still write? changed"
|
430
|
+
},
|
431
|
+
"featuredImage": {
|
432
|
+
"en-US": {
|
433
|
+
"sys": {
|
434
|
+
"type": "Link",
|
435
|
+
"linkType": "Asset",
|
436
|
+
"id": "2lxYoWv3LWHe0yhO3w2Yid"
|
437
|
+
}
|
438
|
+
}
|
439
|
+
}
|
440
|
+
}
|
441
|
+
}
|
442
|
+
http_version:
|
443
|
+
recorded_at: Thu, 07 Jan 2021 10:15:41 GMT
|
444
|
+
- request:
|
445
|
+
method: get
|
446
|
+
uri: https://api.contentful.com/spaces/2l3j7k267g9k/environments/master/content_types/topicArticle
|
447
|
+
body:
|
448
|
+
encoding: UTF-8
|
449
|
+
string: ''
|
450
|
+
headers:
|
451
|
+
X-Contentful-User-Agent:
|
452
|
+
- sdk contentful-management.rb/2.13.0; platform ruby/2.6.3; os macOS/18;
|
453
|
+
Authorization:
|
454
|
+
- Bearer <ACCESS_TOKEN>
|
455
|
+
Content-Type:
|
456
|
+
- application/vnd.contentful.management.v1+json
|
457
|
+
Connection:
|
458
|
+
- close
|
459
|
+
Host:
|
460
|
+
- api.contentful.com
|
461
|
+
User-Agent:
|
462
|
+
- http.rb/4.4.1
|
463
|
+
response:
|
464
|
+
status:
|
465
|
+
code: 200
|
466
|
+
message: OK
|
467
|
+
headers:
|
468
|
+
Access-Control-Allow-Headers:
|
469
|
+
- 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-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
|
470
|
+
Access-Control-Allow-Methods:
|
471
|
+
- DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
|
472
|
+
Access-Control-Allow-Origin:
|
473
|
+
- "*"
|
474
|
+
Access-Control-Expose-Headers:
|
475
|
+
- Etag
|
476
|
+
Access-Control-Max-Age:
|
477
|
+
- '1728000'
|
478
|
+
Cache-Control:
|
479
|
+
- no-store
|
480
|
+
Cf-Environment-Id:
|
481
|
+
- master
|
482
|
+
Cf-Environment-Uuid:
|
483
|
+
- master
|
484
|
+
Cf-Space-Id:
|
485
|
+
- 2l3j7k267g9k
|
486
|
+
Content-Type:
|
487
|
+
- application/vnd.contentful.management.v1+json
|
488
|
+
Contentful-Api:
|
489
|
+
- cma
|
490
|
+
Date:
|
491
|
+
- Thu, 07 Jan 2021 10:15:43 GMT
|
492
|
+
Etag:
|
493
|
+
- '"4974522899569612358"'
|
494
|
+
Server:
|
495
|
+
- Contentful
|
496
|
+
Strict-Transport-Security:
|
497
|
+
- max-age=15768000
|
498
|
+
X-Content-Type-Options:
|
499
|
+
- nosniff
|
500
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
501
|
+
- '36000'
|
502
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
503
|
+
- '35999'
|
504
|
+
X-Contentful-Ratelimit-Reset:
|
505
|
+
- '0'
|
506
|
+
X-Contentful-Ratelimit-Second-Limit:
|
507
|
+
- '10'
|
508
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
509
|
+
- '9'
|
510
|
+
X-Contentful-Request-Id:
|
511
|
+
- 0b51053b1ac49d268d8ac87e5e39c2be
|
512
|
+
X-Contentful-Route:
|
513
|
+
- "/spaces/:space/environments/:environment/content_types/:id"
|
514
|
+
Content-Length:
|
515
|
+
- '3824'
|
516
|
+
Connection:
|
517
|
+
- Close
|
518
|
+
Set-Cookie:
|
519
|
+
- incap_ses_1209_673446=QjL4G9jtPFj1CIajdzvHEE/f9l8AAAAAd9rglC+r4x/mZiY67yg6Yw==;
|
520
|
+
path=/; Domain=.contentful.com
|
521
|
+
- nlbi_673446=XoeUANHUryEh/JIhKsJtVwAAAAA943uwBsL7BajTnIq9/0at; path=/; Domain=.contentful.com
|
522
|
+
- visid_incap_673446=8zXqh11eR4yYd//ITWyqZk/f9l8AAAAAQUIPAAAAAACnfPpefYG47IdplymIlqkv;
|
523
|
+
expires=Fri, 07 Jan 2022 10:04:58 GMT; HttpOnly; path=/; Domain=.contentful.com
|
524
|
+
X-Cdn:
|
525
|
+
- Incapsula
|
526
|
+
X-Iinfo:
|
527
|
+
- 13-3299791-3299792 NNNN CT(159 159 0) RT(1610014542711 54) q(0 0 3 -1) r(6
|
528
|
+
6) U5
|
529
|
+
body:
|
530
|
+
encoding: ASCII-8BIT
|
531
|
+
string: !binary |-
|
532
|
+
ewogICJzeXMiOiB7CiAgICAic3BhY2UiOiB7CiAgICAgICJzeXMiOiB7CiAgICAgICAgInR5cGUiOiAiTGluayIsCiAgICAgICAgImxpbmtUeXBlIjogIlNwYWNlIiwKICAgICAgICAiaWQiOiAiMmwzajdrMjY3ZzlrIgogICAgICB9CiAgICB9LAogICAgImlkIjogInRvcGljQXJ0aWNsZSIsCiAgICAidHlwZSI6ICJDb250ZW50VHlwZSIsCiAgICAiY3JlYXRlZEF0IjogIjIwMTktMDktMDlUMTQ6NDE6NTUuNDkwWiIsCiAgICAidXBkYXRlZEF0IjogIjIwMTktMDktMTBUMDc6NTY6MjIuMTE4WiIsCiAgICAiZW52aXJvbm1lbnQiOiB7CiAgICAgICJzeXMiOiB7CiAgICAgICAgImlkIjogIm1hc3RlciIsCiAgICAgICAgInR5cGUiOiAiTGluayIsCiAgICAgICAgImxpbmtUeXBlIjogIkVudmlyb25tZW50IgogICAgICB9CiAgICB9LAogICAgInB1Ymxpc2hlZFZlcnNpb24iOiAzLAogICAgInB1Ymxpc2hlZEF0IjogIjIwMTktMDktMTBUMDc6NTY6MjIuMTE4WiIsCiAgICAiZmlyc3RQdWJsaXNoZWRBdCI6ICIyMDE5LTA5LTA5VDE0OjQyOjEzLjg2MVoiLAogICAgImNyZWF0ZWRCeSI6IHsKICAgICAgInN5cyI6IHsKICAgICAgICAidHlwZSI6ICJMaW5rIiwKICAgICAgICAibGlua1R5cGUiOiAiVXNlciIsCiAgICAgICAgImlkIjogIjBQQ1lrMjJtdDF4RDdnVEtaaEh5Y04iCiAgICAgIH0KICAgIH0sCiAgICAidXBkYXRlZEJ5IjogewogICAgICAic3lzIjogewogICAgICAgICJ0eXBlIjogIkxpbmsiLAogICAgICAgICJsaW5rVHlwZSI6ICJVc2VyIiwKICAgICAgICAiaWQiOiAiMFBDWWsyMm10MXhEN2dUS1poSHljTiIKICAgICAgfQogICAgfSwKICAgICJwdWJsaXNoZWRDb3VudGVyIjogMiwKICAgICJ2ZXJzaW9uIjogNCwKICAgICJwdWJsaXNoZWRCeSI6IHsKICAgICAgInN5cyI6IHsKICAgICAgICAidHlwZSI6ICJMaW5rIiwKICAgICAgICAibGlua1R5cGUiOiAiVXNlciIsCiAgICAgICAgImlkIjogIjBQQ1lrMjJtdDF4RDdnVEtaaEh5Y04iCiAgICAgIH0KICAgIH0KICB9LAogICJkaXNwbGF5RmllbGQiOiAidGl0bGUiLAogICJuYW1lIjogIiPvuI/ig6MtdG9waWMtQXJ0aWNsZSIsCiAgImRlc2NyaXB0aW9uIjogIlRvcGljIGZvciBlZGl0b3JpYWwgY29udGVudCB3L28gYW55IHByZXNlbnRhdGlvbiBvcHRpb25zIiwKICAiZmllbGRzIjogWwogICAgewogICAgICAiaWQiOiAidGl0bGUiLAogICAgICAibmFtZSI6ICJUaXRsZSIsCiAgICAgICJ0eXBlIjogIlN5bWJvbCIsCiAgICAgICJsb2NhbGl6ZWQiOiB0cnVlLAogICAgICAicmVxdWlyZWQiOiBmYWxzZSwKICAgICAgInZhbGlkYXRpb25zIjogW10sCiAgICAgICJkaXNhYmxlZCI6IGZhbHNlLAogICAgICAib21pdHRlZCI6IGZhbHNlCiAgICB9LAogICAgewogICAgICAiaWQiOiAic2hvcnREZXNjcmlwdGlvbiIsCiAgICAgICJuYW1lIjogIlNob3J0IGRlc2NyaXB0aW9uIiwKICAgICAgInR5cGUiOiAiVGV4dCIsCiAgICAgICJsb2NhbGl6ZWQiOiB0cnVlLAogICAgICAicmVxdWlyZWQiOiBmYWxzZSwKICAgICAgInZhbGlkYXRpb25zIjogW10sCiAgICAgICJkaXNhYmxlZCI6IGZhbHNlLAogICAgICAib21pdHRlZCI6IGZhbHNlCiAgICB9LAogICAgewogICAgICAiaWQiOiAicHVibGlzaGVkRGF0ZSIsCiAgICAgICJuYW1lIjogIlB1Ymxpc2hlZCBkYXRlIiwKICAgICAgInR5cGUiOiAiRGF0ZSIsCiAgICAgICJsb2NhbGl6ZWQiOiBmYWxzZSwKICAgICAgInJlcXVpcmVkIjogZmFsc2UsCiAgICAgICJ2YWxpZGF0aW9ucyI6IFtdLAogICAgICAiZGlzYWJsZWQiOiBmYWxzZSwKICAgICAgIm9taXR0ZWQiOiBmYWxzZQogICAgfSwKICAgIHsKICAgICAgImlkIjogImZlYXR1cmVkSW1hZ2UiLAogICAgICAibmFtZSI6ICJGZWF0dXJlZCBpbWFnZSIsCiAgICAgICJ0eXBlIjogIkxpbmsiLAogICAgICAibG9jYWxpemVkIjogdHJ1ZSwKICAgICAgInJlcXVpcmVkIjogZmFsc2UsCiAgICAgICJ2YWxpZGF0aW9ucyI6IFtdLAogICAgICAiZGlzYWJsZWQiOiBmYWxzZSwKICAgICAgIm9taXR0ZWQiOiBmYWxzZSwKICAgICAgImxpbmtUeXBlIjogIkFzc2V0IgogICAgfSwKICAgIHsKICAgICAgImlkIjogImludHJvIiwKICAgICAgIm5hbWUiOiAiSW50cm8iLAogICAgICAidHlwZSI6ICJUZXh0IiwKICAgICAgImxvY2FsaXplZCI6IHRydWUsCiAgICAgICJyZXF1aXJlZCI6IGZhbHNlLAogICAgICAidmFsaWRhdGlvbnMiOiBbXSwKICAgICAgImRpc2FibGVkIjogZmFsc2UsCiAgICAgICJvbWl0dGVkIjogZmFsc2UKICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJib2R5IiwKICAgICAgIm5hbWUiOiAiQm9keSIsCiAgICAgICJ0eXBlIjogIlJpY2hUZXh0IiwKICAgICAgImxvY2FsaXplZCI6IHRydWUsCiAgICAgICJyZXF1aXJlZCI6IGZhbHNlLAogICAgICAidmFsaWRhdGlvbnMiOiBbCiAgICAgICAgewogICAgICAgICAgIm5vZGVzIjoge30KICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICJlbmFibGVkTm9kZVR5cGVzIjogWwogICAgICAgICAgICAiaGVhZGluZy00IiwKICAgICAgICAgICAgIm9yZGVyZWQtbGlzdCIsCiAgICAgICAgICAgICJ1bm9yZGVyZWQtbGlzdCIsCiAgICAgICAgICAgICJociIsCiAgICAgICAgICAgICJibG9ja3F1b3RlIiwKICAgICAgICAgICAgImVtYmVkZGVkLWVudHJ5LWJsb2NrIiwKICAgICAgICAgICAgImVtYmVkZGVkLWFzc2V0LWJsb2NrIiwKICAgICAgICAgICAgImh5cGVybGluayIsCiAgICAgICAgICAgICJlbnRyeS1oeXBlcmxpbmsiLAogICAgICAgICAgICAiZW1iZWRkZWQtZW50cnktaW5saW5lIiwKICAgICAgICAgICAgImhlYWRpbmctNSIsCiAgICAgICAgICAgICJoZWFkaW5nLTYiCiAgICAgICAgICBdLAogICAgICAgICAgIm1lc3NhZ2UiOiAiT25seSBoZWFkaW5nIDQsIG9yZGVyZWQgbGlzdCwgdW5vcmRlcmVkIGxpc3QsIGhvcml6b250YWwgcnVsZSwgcXVvdGUsIGJsb2NrIGVudHJ5LCBhc3NldCwgbGluayB0byBVcmwsIGxpbmsgdG8gZW50cnksIGlubGluZSBlbnRyeSwgaGVhZGluZyA1LCBhbmQgaGVhZGluZyA2IG5vZGVzIGFyZSBhbGxvd2VkIgogICAgICAgIH0KICAgICAgXSwKICAgICAgImRpc2FibGVkIjogZmFsc2UsCiAgICAgICJvbWl0dGVkIjogZmFsc2UKICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJ0YWdzIiwKICAgICAgIm5hbWUiOiAiVGFncyIsCiAgICAgICJ0eXBlIjogIkFycmF5IiwKICAgICAgImxvY2FsaXplZCI6IHRydWUsCiAgICAgICJyZXF1aXJlZCI6IGZhbHNlLAogICAgICAidmFsaWRhdGlvbnMiOiBbXSwKICAgICAgImRpc2FibGVkIjogZmFsc2UsCiAgICAgICJvbWl0dGVkIjogZmFsc2UsCiAgICAgICJpdGVtcyI6IHsKICAgICAgICAidHlwZSI6ICJTeW1ib2wiLAogICAgICAgICJ2YWxpZGF0aW9ucyI6IFtdCiAgICAgIH0KICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJhdXRob3IiLAogICAgICAibmFtZSI6ICJBdXRob3IiLAogICAgICAidHlwZSI6ICJBcnJheSIsCiAgICAgICJsb2NhbGl6ZWQiOiBmYWxzZSwKICAgICAgInJlcXVpcmVkIjogZmFsc2UsCiAgICAgICJ2YWxpZGF0aW9ucyI6IFtdLAogICAgICAiZGlzYWJsZWQiOiBmYWxzZSwKICAgICAgIm9taXR0ZWQiOiBmYWxzZSwKICAgICAgIml0ZW1zIjogewogICAgICAgICJ0eXBlIjogIkxpbmsiLAogICAgICAgICJ2YWxpZGF0aW9ucyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImxpbmtDb250ZW50VHlwZSI6IFsKICAgICAgICAgICAgICAidG9waWNBdXRob3IiCiAgICAgICAgICAgIF0KICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsaW5rVHlwZSI6ICJFbnRyeSIKICAgICAgfQogICAgfQogIF0KfQo=
|
533
|
+
http_version:
|
534
|
+
recorded_at: Thu, 07 Jan 2021 10:15:41 GMT
|
535
|
+
recorded_with: VCR 4.0.0
|