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,88 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/users/me/access_tokens/not_exist
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: 404
25
+ message: Not Found
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
+ Content-Type:
42
+ - application/vnd.contentful.management.v1+json
43
+ Date:
44
+ - Fri, 06 Oct 2017 15:19:14 GMT
45
+ Server:
46
+ - Contentful
47
+ Set-Cookie:
48
+ - _auth_new_session=59efbdfbc538b290c97f993e07bfdc62; path=/; expires=Fri, 20
49
+ Oct 2017 15:19:14 -0000; secure; HttpOnly
50
+ - incap_ses_223_673446=/ltkYpZFZRwSwJxPyEEYA/Ke11kAAAAAhJVOoMMzAXbalWwS+SlxyQ==;
51
+ path=/; Domain=.contentful.com
52
+ - nlbi_673446=+Lq2fik3d2W8HrqP6lKYhQAAAABJXx4RoLvhD1zcb4UwgAkD; path=/; Domain=.contentful.com
53
+ - visid_incap_673446=Hn4le8lcRNukGOlcQ+PnK/Ke11kAAAAAQUIPAAAAAACwsch9CGw9zxQGkexvARiX;
54
+ expires=Sat, 06 Oct 2018 07:14:23 GMT; path=/; Domain=.contentful.com
55
+ Strict-Transport-Security:
56
+ - max-age=15768000
57
+ X-Content-Type-Options:
58
+ - nosniff
59
+ X-Contentful-Request-Id:
60
+ - 16d1c4aba70a28ca623f225a465415e5
61
+ X-Frame-Options:
62
+ - ALLOWALL
63
+ X-Xss-Protection:
64
+ - 1; mode=block
65
+ Content-Length:
66
+ - '157'
67
+ Connection:
68
+ - Close
69
+ X-Iinfo:
70
+ - 9-80257423-80257534 NNNN CT(0 0 0) RT(1507303153671 321) q(0 0 0 -1) r(1 1)
71
+ U5
72
+ X-Cdn:
73
+ - Incapsula
74
+ body:
75
+ encoding: ASCII-8BIT
76
+ string: |+
77
+ {
78
+ "requestId":"16d1c4aba70a28ca623f225a465415e5",
79
+ "message":"The resource could not be found.",
80
+ "sys":{
81
+ "type":"Error",
82
+ "id":"NotFound"
83
+ }
84
+ }
85
+
86
+ http_version:
87
+ recorded_at: Fri, 06 Oct 2017 15:19:15 GMT
88
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,179 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/users/me/access_tokens/4us7wI40rNxTDzLuLl79dA
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
+ Content-Type:
42
+ - application/vnd.contentful.management.v1+json
43
+ Date:
44
+ - Fri, 06 Oct 2017 15:40:22 GMT
45
+ Etag:
46
+ - W/"b13714579e4675eed2816c27df182734"
47
+ Server:
48
+ - Contentful
49
+ Strict-Transport-Security:
50
+ - max-age=15768000
51
+ X-Content-Type-Options:
52
+ - nosniff
53
+ X-Contentful-Request-Id:
54
+ - c5fd984859db4eef20c03d0cd00016ba
55
+ X-Frame-Options:
56
+ - ALLOWALL
57
+ X-Xss-Protection:
58
+ - 1; mode=block
59
+ Content-Length:
60
+ - '252'
61
+ Connection:
62
+ - Close
63
+ Set-Cookie:
64
+ - incap_ses_223_673446=HK/DK9g40XgczK9PyEEYA+Wj11kAAAAAIWHj/8jzFPAs2JEQa7XhLQ==;
65
+ path=/; Domain=.contentful.com
66
+ - nlbi_673446=9IF0QmK5+S+zbmKV6lKYhQAAAAAeJrGGgquua1eWHTaMCTI3; path=/; Domain=.contentful.com
67
+ - visid_incap_673446=rnUMiSidQTqL96869s2uwOWj11kAAAAAQUIPAAAAAACgOMjobg3EtgEahi7iBVuc;
68
+ expires=Sat, 06 Oct 2018 07:14:23 GMT; path=/; Domain=.contentful.com
69
+ X-Iinfo:
70
+ - 9-80675799-80675956 NNNN CT(0 0 0) RT(1507304420827 320) q(0 0 0 -1) r(1 1)
71
+ U5
72
+ X-Cdn:
73
+ - Incapsula
74
+ body:
75
+ encoding: ASCII-8BIT
76
+ string: |+
77
+ {
78
+ "name":"Test Token",
79
+ "revokedAt":null,
80
+ "sys":{
81
+ "type":"PersonalAccessToken",
82
+ "id":"4us7wI40rNxTDzLuLl79dA",
83
+ "createdAt":"2017-10-06T15:25:58Z",
84
+ "updatedAt":"2017-10-06T15:25:58Z"
85
+ },
86
+ "scopes":["content_management_manage"]
87
+ }
88
+
89
+ http_version:
90
+ recorded_at: Fri, 06 Oct 2017 15:40:22 GMT
91
+ - request:
92
+ method: put
93
+ uri: https://api.contentful.com/users/me/access_tokens/4us7wI40rNxTDzLuLl79dA/revoked
94
+ body:
95
+ encoding: US-ASCII
96
+ string: ''
97
+ headers:
98
+ X-Contentful-User-Agent:
99
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
100
+ Authorization:
101
+ - Bearer <ACCESS_TOKEN>
102
+ Content-Type:
103
+ - application/vnd.contentful.management.v1+json
104
+ Connection:
105
+ - close
106
+ Host:
107
+ - api.contentful.com
108
+ User-Agent:
109
+ - http.rb/2.2.2
110
+ response:
111
+ status:
112
+ code: 200
113
+ message: OK
114
+ headers:
115
+ Accept-Ranges:
116
+ - bytes
117
+ Access-Control-Allow-Headers:
118
+ - 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
119
+ Access-Control-Allow-Methods:
120
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
121
+ Access-Control-Allow-Origin:
122
+ - "*"
123
+ Access-Control-Expose-Headers:
124
+ - Etag
125
+ Access-Control-Max-Age:
126
+ - '1728000'
127
+ Cache-Control:
128
+ - max-age=0
129
+ Content-Type:
130
+ - application/vnd.contentful.management.v1+json
131
+ Date:
132
+ - Fri, 06 Oct 2017 15:40:22 GMT
133
+ Etag:
134
+ - W/"f4de5eccc61c304cffbcf17ff63c8d51"
135
+ Server:
136
+ - Contentful
137
+ Strict-Transport-Security:
138
+ - max-age=15768000
139
+ X-Content-Type-Options:
140
+ - nosniff
141
+ X-Contentful-Request-Id:
142
+ - 4ee3d8017f1edd350cbf61d86202af81
143
+ X-Frame-Options:
144
+ - ALLOWALL
145
+ X-Xss-Protection:
146
+ - 1; mode=block
147
+ Content-Length:
148
+ - '270'
149
+ Connection:
150
+ - Close
151
+ Set-Cookie:
152
+ - incap_ses_223_673446=+/2BKhWSKU9Gzq9PyEEYA+aj11kAAAAAGsNZFVqMSAS9wNwp3MQ0nA==;
153
+ path=/; Domain=.contentful.com
154
+ - nlbi_673446=i2Y5RpSt5yHaj+gj6lKYhQAAAAAm7iq0BFXO0YeAjy7pBB8Y; path=/; Domain=.contentful.com
155
+ - visid_incap_673446=pYvUvK5eQLqt9+WaOIfe9+aj11kAAAAAQUIPAAAAAADWBzNCJhIsdWWxbIS86I1G;
156
+ expires=Sat, 06 Oct 2018 07:14:58 GMT; path=/; Domain=.contentful.com
157
+ X-Iinfo:
158
+ - 1-28432508-28432598 NNNN CT(48 86 0) RT(1507304421530 312) q(0 0 1 -1) r(2
159
+ 2) U5
160
+ X-Cdn:
161
+ - Incapsula
162
+ body:
163
+ encoding: ASCII-8BIT
164
+ string: |+
165
+ {
166
+ "name":"Test Token",
167
+ "revokedAt":"2017-10-06T15:40:22Z",
168
+ "sys":{
169
+ "type":"PersonalAccessToken",
170
+ "id":"4us7wI40rNxTDzLuLl79dA",
171
+ "createdAt":"2017-10-06T15:25:58Z",
172
+ "updatedAt":"2017-10-06T15:25:58Z"
173
+ },
174
+ "scopes":["content_management_manage"]
175
+ }
176
+
177
+ http_version:
178
+ recorded_at: Fri, 06 Oct 2017 15:40:23 GMT
179
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,207 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/facgnwwgj5fe/content_types/cat/snapshots
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
+ 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,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
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
+ Cf-Space-Id:
38
+ - facgnwwgj5fe
39
+ Content-Type:
40
+ - application/vnd.contentful.management.v1+json
41
+ Date:
42
+ - Thu, 28 Sep 2017 23:44:13 GMT
43
+ Etag:
44
+ - '"1fe63bc1700574e5b3d0711383c3189a"'
45
+ Server:
46
+ - Contentful
47
+ Strict-Transport-Security:
48
+ - max-age=15768000
49
+ X-Content-Type-Options:
50
+ - nosniff
51
+ X-Contentful-Ratelimit-Hour-Limit:
52
+ - '36000'
53
+ X-Contentful-Ratelimit-Hour-Remaining:
54
+ - '35974'
55
+ X-Contentful-Ratelimit-Reset:
56
+ - '0'
57
+ X-Contentful-Ratelimit-Second-Limit:
58
+ - '10'
59
+ X-Contentful-Ratelimit-Second-Remaining:
60
+ - '9'
61
+ X-Contentful-Request-Id:
62
+ - 8c63055db8e628147c4e41760df62e02
63
+ Content-Length:
64
+ - '3087'
65
+ Connection:
66
+ - Close
67
+ Set-Cookie:
68
+ - incap_ses_788_673446=HEKFEx9CjEAZNxaE3InvCk2JzVkAAAAA5PwoZVCTBnUVxa5B5iK57w==;
69
+ path=/; Domain=.contentful.com
70
+ - nlbi_673446=zU4gC9pWmyCJCw1o6lKYhQAAAACUbBAOHxzwfmJzTy6Uln5y; path=/; Domain=.contentful.com
71
+ - visid_incap_673446=cLX+iWk2SZ6Ve+oxO8g7j02JzVkAAAAAQUIPAAAAAACgEuXLU8MYPzcA5mUcpoFl;
72
+ expires=Fri, 28 Sep 2018 08:00:23 GMT; path=/; Domain=.contentful.com
73
+ X-Iinfo:
74
+ - 10-5867232-5867293 NNNN CT(142 144 0) RT(1506642248820 363) q(0 0 3 -1) r(39
75
+ 39) U5
76
+ X-Cdn:
77
+ - Incapsula
78
+ body:
79
+ encoding: ASCII-8BIT
80
+ string: |
81
+ {
82
+ "sys": {
83
+ "type": "Array"
84
+ },
85
+ "items": [
86
+ {
87
+ "sys": {
88
+ "type": "Snapshot",
89
+ "snapshotType": "publish",
90
+ "snapshotEntityType": "ContentType",
91
+ "id": "5bfy52PVk8HwBfXURLOsWJ",
92
+ "createdAt": "2017-06-26T17:09:50.255Z",
93
+ "createdBy": {
94
+ "sys": {
95
+ "type": "Link",
96
+ "linkType": "User",
97
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
98
+ }
99
+ },
100
+ "updatedAt": "2017-06-26T17:09:50.255Z",
101
+ "updatedBy": {
102
+ "sys": {
103
+ "type": "Link",
104
+ "linkType": "User",
105
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
106
+ }
107
+ },
108
+ "space": {
109
+ "sys": {
110
+ "type": "Link",
111
+ "linkType": "Space",
112
+ "id": "facgnwwgj5fe"
113
+ }
114
+ }
115
+ },
116
+ "snapshot": {
117
+ "name": "Cat",
118
+ "fields": [
119
+ {
120
+ "name": "Name",
121
+ "id": "name",
122
+ "type": "Symbol",
123
+ "validations": [],
124
+ "localized": false,
125
+ "required": false,
126
+ "disabled": false,
127
+ "omitted": false
128
+ },
129
+ {
130
+ "name": "Lives",
131
+ "id": "lives",
132
+ "type": "Integer",
133
+ "validations": [],
134
+ "localized": false,
135
+ "required": false,
136
+ "disabled": false,
137
+ "omitted": false
138
+ },
139
+ {
140
+ "name": "Best Friend",
141
+ "id": "bestFriend",
142
+ "type": "Link",
143
+ "linkType": "Entry",
144
+ "localized": false,
145
+ "required": false,
146
+ "disabled": false,
147
+ "omitted": false,
148
+ "validations": []
149
+ },
150
+ {
151
+ "name": "Likes",
152
+ "id": "likes",
153
+ "type": "Array",
154
+ "items": {
155
+ "type": "Symbol"
156
+ }
157
+ }
158
+ ],
159
+ "sys": {
160
+ "id": "cat",
161
+ "type": "ContentType",
162
+ "createdAt": "2017-05-08T14:06:00.224Z",
163
+ "createdBy": {
164
+ "sys": {
165
+ "type": "Link",
166
+ "linkType": "User",
167
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
168
+ }
169
+ },
170
+ "space": {
171
+ "sys": {
172
+ "type": "Link",
173
+ "linkType": "Space",
174
+ "id": "facgnwwgj5fe"
175
+ }
176
+ },
177
+ "version": 4,
178
+ "updatedAt": "2017-06-26T17:09:50.074Z",
179
+ "updatedBy": {
180
+ "sys": {
181
+ "type": "Link",
182
+ "linkType": "User",
183
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
184
+ }
185
+ },
186
+ "firstPublishedAt": "2017-05-08T14:06:00.749Z",
187
+ "publishedCounter": 2,
188
+ "publishedAt": "2017-06-26T17:09:50.074Z",
189
+ "publishedBy": {
190
+ "sys": {
191
+ "type": "Link",
192
+ "linkType": "User",
193
+ "id": "4SejVrWT96dvL9IV4Nb7sQ"
194
+ }
195
+ },
196
+ "publishedVersion": 3
197
+ },
198
+ "displayField": "name"
199
+ }
200
+ }
201
+ ],
202
+ "skip": 0,
203
+ "limit": 100
204
+ }
205
+ http_version:
206
+ recorded_at: Thu, 28 Sep 2017 23:44:13 GMT
207
+ recorded_with: VCR 3.0.3