contentful-management 3.11.0 → 3.12.0

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codeql.yml +32 -0
  3. data/CHANGELOG.md +3 -0
  4. data/README.md +127 -1
  5. data/lib/contentful/management/client.rb +27 -0
  6. data/lib/contentful/management/client_taxonomy_concept_methods_factory.rb +34 -0
  7. data/lib/contentful/management/client_taxonomy_concept_scheme_methods_factory.rb +34 -0
  8. data/lib/contentful/management/content_type.rb +3 -0
  9. data/lib/contentful/management/resource/metadata.rb +8 -1
  10. data/lib/contentful/management/resource_builder.rb +5 -1
  11. data/lib/contentful/management/resource_requester.rb +11 -0
  12. data/lib/contentful/management/taxonomy_concept.rb +144 -0
  13. data/lib/contentful/management/taxonomy_concept_scheme.rb +108 -0
  14. data/lib/contentful/management/version.rb +1 -1
  15. data/spec/fixtures/vcr_cassettes/asset/update_with_concepts.yml +137 -0
  16. data/spec/fixtures/vcr_cassettes/content_type/update_with_metadata.yml +171 -0
  17. data/spec/fixtures/vcr_cassettes/entry/update_with_concepts.yml +182 -0
  18. data/spec/fixtures/vcr_cassettes/taxonomy_concept/all.yml +83 -0
  19. data/spec/fixtures/vcr_cassettes/taxonomy_concept/ancestors.yml +155 -0
  20. data/spec/fixtures/vcr_cassettes/taxonomy_concept/create.yml +77 -0
  21. data/spec/fixtures/vcr_cassettes/taxonomy_concept/create_with_id.yml +78 -0
  22. data/spec/fixtures/vcr_cassettes/taxonomy_concept/descendants.yml +153 -0
  23. data/spec/fixtures/vcr_cassettes/taxonomy_concept/destroy.yml +152 -0
  24. data/spec/fixtures/vcr_cassettes/taxonomy_concept/find.yml +79 -0
  25. data/spec/fixtures/vcr_cassettes/taxonomy_concept/total.yml +77 -0
  26. data/spec/fixtures/vcr_cassettes/taxonomy_concept/update.yml +158 -0
  27. data/spec/fixtures/vcr_cassettes/taxonomy_concept_scheme/all.yml +80 -0
  28. data/spec/fixtures/vcr_cassettes/taxonomy_concept_scheme/create.yml +78 -0
  29. data/spec/fixtures/vcr_cassettes/taxonomy_concept_scheme/destroy.yml +150 -0
  30. data/spec/fixtures/vcr_cassettes/taxonomy_concept_scheme/find.yml +78 -0
  31. data/spec/fixtures/vcr_cassettes/taxonomy_concept_scheme/total.yml +77 -0
  32. data/spec/fixtures/vcr_cassettes/taxonomy_concept_scheme/update.yml +155 -0
  33. data/spec/lib/contentful/management/asset_spec.rb +20 -0
  34. data/spec/lib/contentful/management/content_type_spec.rb +22 -0
  35. data/spec/lib/contentful/management/entry_spec.rb +22 -1
  36. data/spec/lib/contentful/management/taxonomy_concept_scheme_spec.rb +85 -0
  37. data/spec/lib/contentful/management/taxonomy_concept_spec.rb +116 -0
  38. metadata +46 -1
@@ -0,0 +1,79 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/5KHXWlmxvntrrB09szapUp
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
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/5.0.1
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '1045'
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Contentful-Ratelimit-Reset:
34
+ - '0'
35
+ X-Contentful-Ratelimit-Hour-Remaining:
36
+ - '35999'
37
+ X-Contentful-Ratelimit-Second-Remaining:
38
+ - '9'
39
+ X-Contentful-Ratelimit-Hour-Limit:
40
+ - '36000'
41
+ X-Contentful-Ratelimit-Second-Limit:
42
+ - '10'
43
+ X-Contentful-Route:
44
+ - "/organizations/:organizationId/taxonomy/concepts/:id"
45
+ Cache-Control:
46
+ - no-cache
47
+ Accept-Ranges:
48
+ - bytes
49
+ X-Content-Type-Options:
50
+ - nosniff
51
+ Server:
52
+ - Contentful
53
+ Contentful-Api:
54
+ - cma
55
+ Contentful-Upstream:
56
+ - taxonomy-service
57
+ Access-Control-Allow-Origin:
58
+ - "*"
59
+ Access-Control-Allow-Headers:
60
+ - Accept,Accept-Language,Authorization,Cache-Control,CF-Context,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-Tag-Visibility,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,X-Contentful-Comment-Body-Format,X-Contentful-Parent-Entity-Reference,X-Contentful-Include-Invocation-Metadata,X-Contentful-Async-Ai-Action,x-contentful-ai-actions-platform
61
+ Access-Control-Expose-Headers:
62
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
63
+ Access-Control-Allow-Methods:
64
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
65
+ Access-Control-Max-Age:
66
+ - '1728000'
67
+ Date:
68
+ - Wed, 22 Oct 2025 12:27:19 GMT
69
+ Vary:
70
+ - accept-encoding
71
+ X-Contentful-Request-Id:
72
+ - fe7be6e0-199f-4899-b42b-b09ebfbab424
73
+ Strict-Transport-Security:
74
+ - max-age=15768000
75
+ body:
76
+ encoding: UTF-8
77
+ string: '{"sys":{"id":"5KHXWlmxvntrrB09szapUp","type":"TaxonomyConcept","createdAt":"2025-09-14T05:31:51.063Z","updatedAt":"2025-09-14T05:42:00.553Z","organization":{"sys":{"id":"4kQeJmhUWIKtNNmMkketza","type":"Link","linkType":"Organization"}},"createdBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"updatedBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"version":2},"uri":null,"notations":["FURN0017B"],"conceptSchemes":[{"sys":{"id":"2hNivoHTKM4MbTM4519T5E","type":"Link","linkType":"TaxonomyConceptScheme"}}],"broader":[{"sys":{"id":"3VgXIOahV6RnBj9eNS27Ii","type":"Link","linkType":"TaxonomyConcept"}}],"related":[{"sys":{"id":"newConcept","type":"Link","linkType":"TaxonomyConcept"}},{"sys":{"id":"livingRoom","type":"Link","linkType":"TaxonomyConcept"}}],"prefLabel":{"en-US":"Sofas"},"altLabels":{"en-US":["Couches","Settees"]},"hiddenLabels":{"en-US":["Davenports"]},"note":null,"changeNote":null,"definition":null,"editorialNote":null,"example":null,"historyNote":null,"scopeNote":null}'
78
+ recorded_at: Wed, 22 Oct 2025 12:27:19 GMT
79
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,77 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/total
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
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/5.0.1
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '11'
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Contentful-Ratelimit-Reset:
34
+ - '0'
35
+ X-Contentful-Ratelimit-Hour-Remaining:
36
+ - '35999'
37
+ X-Contentful-Ratelimit-Second-Remaining:
38
+ - '9'
39
+ X-Contentful-Ratelimit-Hour-Limit:
40
+ - '36000'
41
+ X-Contentful-Ratelimit-Second-Limit:
42
+ - '10'
43
+ X-Contentful-Route:
44
+ - "/organizations/:organizationId/taxonomy/concepts/total"
45
+ Cache-Control:
46
+ - no-cache
47
+ Accept-Ranges:
48
+ - bytes
49
+ X-Content-Type-Options:
50
+ - nosniff
51
+ Server:
52
+ - Contentful
53
+ Contentful-Api:
54
+ - cma
55
+ Contentful-Upstream:
56
+ - taxonomy-service
57
+ Access-Control-Allow-Origin:
58
+ - "*"
59
+ Access-Control-Allow-Headers:
60
+ - Accept,Accept-Language,Authorization,Cache-Control,CF-Context,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-Tag-Visibility,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,X-Contentful-Comment-Body-Format,X-Contentful-Parent-Entity-Reference,X-Contentful-Include-Invocation-Metadata,X-Contentful-Async-Ai-Action,x-contentful-ai-actions-platform
61
+ Access-Control-Expose-Headers:
62
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
63
+ Access-Control-Allow-Methods:
64
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
65
+ Access-Control-Max-Age:
66
+ - '1728000'
67
+ Date:
68
+ - Wed, 22 Oct 2025 13:02:36 GMT
69
+ X-Contentful-Request-Id:
70
+ - 5aaff337-b6e2-4c01-a4e3-b34700978211
71
+ Strict-Transport-Security:
72
+ - max-age=15768000
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{"total":9}'
76
+ recorded_at: Wed, 22 Oct 2025 13:02:36 GMT
77
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,158 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/5KHXWlmxvntrrB09szapUp
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
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/5.0.1
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '1045'
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Contentful-Ratelimit-Reset:
34
+ - '0'
35
+ X-Contentful-Ratelimit-Hour-Remaining:
36
+ - '35999'
37
+ X-Contentful-Ratelimit-Second-Remaining:
38
+ - '9'
39
+ X-Contentful-Ratelimit-Hour-Limit:
40
+ - '36000'
41
+ X-Contentful-Ratelimit-Second-Limit:
42
+ - '10'
43
+ X-Contentful-Route:
44
+ - "/organizations/:organizationId/taxonomy/concepts/:id"
45
+ Cache-Control:
46
+ - no-cache
47
+ Accept-Ranges:
48
+ - bytes
49
+ X-Content-Type-Options:
50
+ - nosniff
51
+ Server:
52
+ - Contentful
53
+ Contentful-Api:
54
+ - cma
55
+ Contentful-Upstream:
56
+ - taxonomy-service
57
+ Access-Control-Allow-Origin:
58
+ - "*"
59
+ Access-Control-Allow-Headers:
60
+ - Accept,Accept-Language,Authorization,Cache-Control,CF-Context,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-Tag-Visibility,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,X-Contentful-Comment-Body-Format,X-Contentful-Parent-Entity-Reference,X-Contentful-Include-Invocation-Metadata,X-Contentful-Async-Ai-Action,x-contentful-ai-actions-platform
61
+ Access-Control-Expose-Headers:
62
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
63
+ Access-Control-Allow-Methods:
64
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
65
+ Access-Control-Max-Age:
66
+ - '1728000'
67
+ Date:
68
+ - Wed, 22 Oct 2025 12:33:49 GMT
69
+ Vary:
70
+ - accept-encoding
71
+ X-Contentful-Request-Id:
72
+ - 56c517f8-f222-4e4f-b796-bd0db29c32d6
73
+ Strict-Transport-Security:
74
+ - max-age=15768000
75
+ body:
76
+ encoding: UTF-8
77
+ string: '{"sys":{"id":"5KHXWlmxvntrrB09szapUp","type":"TaxonomyConcept","createdAt":"2025-09-14T05:31:51.063Z","updatedAt":"2025-09-14T05:42:00.553Z","organization":{"sys":{"id":"4kQeJmhUWIKtNNmMkketza","type":"Link","linkType":"Organization"}},"createdBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"updatedBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"version":2},"uri":null,"notations":["FURN0017B"],"conceptSchemes":[{"sys":{"id":"2hNivoHTKM4MbTM4519T5E","type":"Link","linkType":"TaxonomyConceptScheme"}}],"broader":[{"sys":{"id":"3VgXIOahV6RnBj9eNS27Ii","type":"Link","linkType":"TaxonomyConcept"}}],"related":[{"sys":{"id":"newConcept","type":"Link","linkType":"TaxonomyConcept"}},{"sys":{"id":"livingRoom","type":"Link","linkType":"TaxonomyConcept"}}],"prefLabel":{"en-US":"Sofas"},"altLabels":{"en-US":["Couches","Settees"]},"hiddenLabels":{"en-US":["Davenports"]},"note":null,"changeNote":null,"definition":null,"editorialNote":null,"example":null,"historyNote":null,"scopeNote":null}'
78
+ recorded_at: Wed, 22 Oct 2025 12:33:49 GMT
79
+ - request:
80
+ method: patch
81
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/5KHXWlmxvntrrB09szapUp
82
+ body:
83
+ encoding: UTF-8
84
+ string: '[{"op":"add","path":"/prefLabel/en-US","value":"New Label"}]'
85
+ headers:
86
+ X-Contentful-User-Agent:
87
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
88
+ Authorization:
89
+ - Bearer <ACCESS_TOKEN>
90
+ Content-Type:
91
+ - application/json-patch+json
92
+ X-Contentful-Version:
93
+ - '2'
94
+ Connection:
95
+ - close
96
+ Host:
97
+ - api.contentful.com
98
+ User-Agent:
99
+ - http.rb/5.0.1
100
+ response:
101
+ status:
102
+ code: 200
103
+ message: OK
104
+ headers:
105
+ Connection:
106
+ - close
107
+ Content-Length:
108
+ - '1049'
109
+ Content-Type:
110
+ - application/json; charset=utf-8
111
+ X-Contentful-Ratelimit-Reset:
112
+ - '0'
113
+ X-Contentful-Ratelimit-Hour-Remaining:
114
+ - '35999'
115
+ X-Contentful-Ratelimit-Second-Remaining:
116
+ - '9'
117
+ X-Contentful-Ratelimit-Hour-Limit:
118
+ - '36000'
119
+ X-Contentful-Ratelimit-Second-Limit:
120
+ - '10'
121
+ X-Contentful-Route:
122
+ - "/organizations/:organizationId/taxonomy/concepts/:id"
123
+ Cache-Control:
124
+ - no-cache
125
+ X-Content-Type-Options:
126
+ - nosniff
127
+ Server:
128
+ - Contentful
129
+ Contentful-Api:
130
+ - cma
131
+ Contentful-Upstream:
132
+ - taxonomy-service
133
+ Access-Control-Allow-Origin:
134
+ - "*"
135
+ Access-Control-Allow-Headers:
136
+ - Accept,Accept-Language,Authorization,Cache-Control,CF-Context,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-Tag-Visibility,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,X-Contentful-Comment-Body-Format,X-Contentful-Parent-Entity-Reference,X-Contentful-Include-Invocation-Metadata,X-Contentful-Async-Ai-Action,x-contentful-ai-actions-platform
137
+ Access-Control-Expose-Headers:
138
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
139
+ Access-Control-Allow-Methods:
140
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
141
+ Access-Control-Max-Age:
142
+ - '1728000'
143
+ Accept-Ranges:
144
+ - bytes
145
+ Date:
146
+ - Wed, 22 Oct 2025 12:33:50 GMT
147
+ Vary:
148
+ - accept-encoding
149
+ X-Contentful-Request-Id:
150
+ - 70ed36be-88fc-42bb-bf7b-9a3aeb231831
151
+ Strict-Transport-Security:
152
+ - max-age=15768000
153
+ body:
154
+ encoding: UTF-8
155
+ string: '{"sys":{"id":"5KHXWlmxvntrrB09szapUp","type":"TaxonomyConcept","createdAt":"2025-09-14T05:31:51.063Z","updatedAt":"2025-10-22T12:33:50.853Z","organization":{"sys":{"id":"4kQeJmhUWIKtNNmMkketza","type":"Link","linkType":"Organization"}},"createdBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"updatedBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"version":3},"uri":null,"notations":["FURN0017B"],"conceptSchemes":[{"sys":{"id":"2hNivoHTKM4MbTM4519T5E","type":"Link","linkType":"TaxonomyConceptScheme"}}],"broader":[{"sys":{"id":"3VgXIOahV6RnBj9eNS27Ii","type":"Link","linkType":"TaxonomyConcept"}}],"related":[{"sys":{"id":"newConcept","type":"Link","linkType":"TaxonomyConcept"}},{"sys":{"id":"livingRoom","type":"Link","linkType":"TaxonomyConcept"}}],"prefLabel":{"en-US":"New
156
+ Label"},"altLabels":{"en-US":["Couches","Settees"]},"hiddenLabels":{"en-US":["Davenports"]},"note":null,"changeNote":null,"definition":null,"editorialNote":null,"example":null,"historyNote":null,"scopeNote":null}'
157
+ recorded_at: Wed, 22 Oct 2025 12:33:51 GMT
158
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,80 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concept-schemes
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
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/5.0.1
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '1166'
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Contentful-Ratelimit-Second-Remaining:
34
+ - '9'
35
+ X-Contentful-Ratelimit-Hour-Limit:
36
+ - '36000'
37
+ X-Contentful-Ratelimit-Second-Limit:
38
+ - '10'
39
+ X-Contentful-Ratelimit-Reset:
40
+ - '0'
41
+ X-Contentful-Ratelimit-Hour-Remaining:
42
+ - '35999'
43
+ X-Contentful-Route:
44
+ - "/organizations/:organizationId/taxonomy/concept-schemes"
45
+ Cache-Control:
46
+ - no-cache
47
+ Accept-Ranges:
48
+ - bytes
49
+ X-Content-Type-Options:
50
+ - nosniff
51
+ Server:
52
+ - Contentful
53
+ Contentful-Api:
54
+ - cma
55
+ Contentful-Upstream:
56
+ - taxonomy-service
57
+ Access-Control-Allow-Origin:
58
+ - "*"
59
+ Access-Control-Allow-Headers:
60
+ - Accept,Accept-Language,Authorization,Cache-Control,CF-Context,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-Tag-Visibility,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,X-Contentful-Comment-Body-Format,X-Contentful-Parent-Entity-Reference,X-Contentful-Include-Invocation-Metadata,X-Contentful-Async-Ai-Action,x-contentful-ai-actions-platform,X-Contentful-User-Id
61
+ Access-Control-Expose-Headers:
62
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
63
+ Access-Control-Allow-Methods:
64
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
65
+ Access-Control-Max-Age:
66
+ - '1728000'
67
+ Date:
68
+ - Fri, 24 Oct 2025 08:27:46 GMT
69
+ Vary:
70
+ - accept-encoding
71
+ X-Contentful-Request-Id:
72
+ - bcc166e6-f06f-4fa8-a7e4-279eb50aaeba
73
+ Strict-Transport-Security:
74
+ - max-age=15768000
75
+ body:
76
+ encoding: UTF-8
77
+ string: '{"sys":{"type":"Array"},"limit":100,"items":[{"sys":{"id":"4EQT881T6sG9XpzNwb9y9R","type":"TaxonomyConceptScheme","createdAt":"2025-03-21T05:53:46.063Z","updatedAt":"2025-03-21T05:55:26.969Z","organization":{"sys":{"id":"4kQeJmhUWIKtNNmMkketza","type":"Link","linkType":"Organization"}},"createdBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"updatedBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"version":2},"uri":"https://example.com/testscheme","topConcepts":[],"concepts":[],"totalConcepts":0,"prefLabel":{"en-US":"TestScheme"},"definition":{"en-US":""}},{"sys":{"id":"OwSAxez8z7tV2gVQVsy6o","type":"TaxonomyConceptScheme","createdAt":"2025-10-22T13:14:56.071Z","updatedAt":"2025-10-22T13:14:56.071Z","organization":{"sys":{"id":"4kQeJmhUWIKtNNmMkketza","type":"Link","linkType":"Organization"}},"createdBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"updatedBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"version":1},"uri":null,"topConcepts":[],"concepts":[],"totalConcepts":0,"prefLabel":{"en-US":"New
78
+ Scheme"},"definition":null}],"pages":{}}'
79
+ recorded_at: Fri, 24 Oct 2025 08:27:46 GMT
80
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,78 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concept-schemes
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"prefLabel":{"en-US":"New Scheme"}}'
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
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/5.0.1
22
+ response:
23
+ status:
24
+ code: 201
25
+ message: Created
26
+ headers:
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '535'
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Contentful-Ratelimit-Hour-Limit:
34
+ - '36000'
35
+ X-Contentful-Ratelimit-Second-Limit:
36
+ - '10'
37
+ X-Contentful-Ratelimit-Reset:
38
+ - '0'
39
+ X-Contentful-Ratelimit-Hour-Remaining:
40
+ - '35999'
41
+ X-Contentful-Ratelimit-Second-Remaining:
42
+ - '9'
43
+ X-Contentful-Route:
44
+ - "/organizations/:organizationId/taxonomy/concept-schemes"
45
+ Cache-Control:
46
+ - no-cache
47
+ X-Content-Type-Options:
48
+ - nosniff
49
+ Server:
50
+ - Contentful
51
+ Contentful-Api:
52
+ - cma
53
+ Contentful-Upstream:
54
+ - taxonomy-service
55
+ Access-Control-Allow-Origin:
56
+ - "*"
57
+ Access-Control-Allow-Headers:
58
+ - Accept,Accept-Language,Authorization,Cache-Control,CF-Context,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-Tag-Visibility,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,X-Contentful-Comment-Body-Format,X-Contentful-Parent-Entity-Reference,X-Contentful-Include-Invocation-Metadata,X-Contentful-Async-Ai-Action,x-contentful-ai-actions-platform
59
+ Access-Control-Expose-Headers:
60
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
61
+ Access-Control-Allow-Methods:
62
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
63
+ Access-Control-Max-Age:
64
+ - '1728000'
65
+ Accept-Ranges:
66
+ - bytes
67
+ Date:
68
+ - Wed, 22 Oct 2025 13:14:56 GMT
69
+ X-Contentful-Request-Id:
70
+ - d6cdee10-77ce-41f5-9c5d-4b1570401335
71
+ Strict-Transport-Security:
72
+ - max-age=15768000
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{"sys":{"id":"OwSAxez8z7tV2gVQVsy6o","type":"TaxonomyConceptScheme","createdAt":"2025-10-22T13:14:56.071Z","updatedAt":"2025-10-22T13:14:56.071Z","organization":{"sys":{"id":"4kQeJmhUWIKtNNmMkketza","type":"Link","linkType":"Organization"}},"createdBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"updatedBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"version":1},"uri":null,"topConcepts":[],"concepts":[],"totalConcepts":0,"prefLabel":{"en-US":"New
76
+ Scheme"},"definition":null}'
77
+ recorded_at: Wed, 22 Oct 2025 13:14:56 GMT
78
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,150 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concept-schemes/2hNivoHTKM4MbTM4519T5E
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
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/5.0.1
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '619'
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Contentful-Ratelimit-Hour-Remaining:
34
+ - '35999'
35
+ X-Contentful-Ratelimit-Second-Remaining:
36
+ - '9'
37
+ X-Contentful-Ratelimit-Hour-Limit:
38
+ - '36000'
39
+ X-Contentful-Ratelimit-Second-Limit:
40
+ - '10'
41
+ X-Contentful-Ratelimit-Reset:
42
+ - '0'
43
+ X-Contentful-Route:
44
+ - "/organizations/:organizationId/taxonomy/concept-schemes/:id"
45
+ Cache-Control:
46
+ - no-cache
47
+ Accept-Ranges:
48
+ - bytes
49
+ X-Content-Type-Options:
50
+ - nosniff
51
+ Server:
52
+ - Contentful
53
+ Contentful-Api:
54
+ - cma
55
+ Contentful-Upstream:
56
+ - taxonomy-service
57
+ Access-Control-Allow-Origin:
58
+ - "*"
59
+ Access-Control-Allow-Headers:
60
+ - Accept,Accept-Language,Authorization,Cache-Control,CF-Context,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-Tag-Visibility,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,X-Contentful-Comment-Body-Format,X-Contentful-Parent-Entity-Reference,X-Contentful-Include-Invocation-Metadata,X-Contentful-Async-Ai-Action,x-contentful-ai-actions-platform
61
+ Access-Control-Expose-Headers:
62
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
63
+ Access-Control-Allow-Methods:
64
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
65
+ Access-Control-Max-Age:
66
+ - '1728000'
67
+ Date:
68
+ - Wed, 22 Oct 2025 13:12:46 GMT
69
+ X-Contentful-Request-Id:
70
+ - 5ce15cb2-4712-4964-8418-fc7c021ab50a
71
+ Strict-Transport-Security:
72
+ - max-age=15768000
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{"sys":{"id":"2hNivoHTKM4MbTM4519T5E","type":"TaxonomyConceptScheme","createdAt":"2025-09-14T06:37:32.431Z","updatedAt":"2025-10-22T13:10:46.957Z","organization":{"sys":{"id":"4kQeJmhUWIKtNNmMkketza","type":"Link","linkType":"Organization"}},"createdBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"updatedBy":{"sys":{"id":"59Erm8D1JuuD273aXNb65T","type":"Link","linkType":"User"}},"version":4},"uri":null,"topConcepts":[],"concepts":[{"sys":{"id":"greenSofas","type":"Link","linkType":"TaxonomyConcept"}}],"totalConcepts":1,"prefLabel":{"en-US":"New
76
+ Scheme Name"},"definition":{"en-US":""}}'
77
+ recorded_at: Wed, 22 Oct 2025 13:12:46 GMT
78
+ - request:
79
+ method: delete
80
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concept-schemes/2hNivoHTKM4MbTM4519T5E
81
+ body:
82
+ encoding: UTF-8
83
+ string: ''
84
+ headers:
85
+ X-Contentful-User-Agent:
86
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
87
+ Authorization:
88
+ - Bearer <ACCESS_TOKEN>
89
+ Content-Type:
90
+ - application/vnd.contentful.management.v1+json
91
+ X-Contentful-Version:
92
+ - '4'
93
+ Connection:
94
+ - close
95
+ Host:
96
+ - api.contentful.com
97
+ User-Agent:
98
+ - http.rb/5.0.1
99
+ response:
100
+ status:
101
+ code: 204
102
+ message: No Content
103
+ headers:
104
+ Connection:
105
+ - close
106
+ X-Contentful-Ratelimit-Hour-Remaining:
107
+ - '35998'
108
+ X-Contentful-Ratelimit-Second-Remaining:
109
+ - '8'
110
+ X-Contentful-Ratelimit-Hour-Limit:
111
+ - '36000'
112
+ X-Contentful-Ratelimit-Second-Limit:
113
+ - '10'
114
+ X-Contentful-Ratelimit-Reset:
115
+ - '0'
116
+ X-Contentful-Route:
117
+ - "/organizations/:organizationId/taxonomy/concept-schemes/:id"
118
+ Cache-Control:
119
+ - no-cache
120
+ X-Content-Type-Options:
121
+ - nosniff
122
+ Server:
123
+ - Contentful
124
+ Contentful-Api:
125
+ - cma
126
+ Contentful-Upstream:
127
+ - taxonomy-service
128
+ Access-Control-Allow-Origin:
129
+ - "*"
130
+ Access-Control-Allow-Headers:
131
+ - Accept,Accept-Language,Authorization,Cache-Control,CF-Context,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-Tag-Visibility,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,X-Contentful-Comment-Body-Format,X-Contentful-Parent-Entity-Reference,X-Contentful-Include-Invocation-Metadata,X-Contentful-Async-Ai-Action,x-contentful-ai-actions-platform
132
+ Access-Control-Expose-Headers:
133
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
134
+ Access-Control-Allow-Methods:
135
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
136
+ Access-Control-Max-Age:
137
+ - '1728000'
138
+ Accept-Ranges:
139
+ - bytes
140
+ Date:
141
+ - Wed, 22 Oct 2025 13:12:47 GMT
142
+ X-Contentful-Request-Id:
143
+ - 07f62c10-6f6e-4b5e-91da-a9cf1a5454ea
144
+ Strict-Transport-Security:
145
+ - max-age=15768000
146
+ body:
147
+ encoding: ASCII-8BIT
148
+ string: ''
149
+ recorded_at: Wed, 22 Oct 2025 13:12:47 GMT
150
+ recorded_with: VCR 6.2.0