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,155 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/livingRoom
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
+ - '887'
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/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:58:23 GMT
69
+ X-Contentful-Request-Id:
70
+ - 42472daa-a277-4500-b882-2677a1339814
71
+ Strict-Transport-Security:
72
+ - max-age=15768000
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{"sys":{"id":"livingRoom","type":"TaxonomyConcept","createdAt":"2025-09-14T05:44:44.737Z","updatedAt":"2025-10-22T12:55:09.022Z","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":[],"conceptSchemes":[],"broader":[{"sys":{"id":"3VgXIOahV6RnBj9eNS27Ii","type":"Link","linkType":"TaxonomyConcept"}},{"sys":{"id":"greenSofas","type":"Link","linkType":"TaxonomyConcept"}}],"related":[],"prefLabel":{"en-US":"Living
76
+ Room"},"altLabels":{"en-US":[]},"hiddenLabels":{"en-US":[]},"note":{"en-US":""},"changeNote":null,"definition":{"en-US":""},"editorialNote":{"en-US":""},"example":{"en-US":""},"historyNote":{"en-US":""},"scopeNote":{"en-US":""}}'
77
+ recorded_at: Wed, 22 Oct 2025 12:58:23 GMT
78
+ - request:
79
+ method: get
80
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/livingRoom/ancestors
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
+ Connection:
92
+ - close
93
+ Host:
94
+ - api.contentful.com
95
+ User-Agent:
96
+ - http.rb/5.0.1
97
+ response:
98
+ status:
99
+ code: 200
100
+ message: OK
101
+ headers:
102
+ Connection:
103
+ - close
104
+ Content-Length:
105
+ - '1579'
106
+ Content-Type:
107
+ - application/json; charset=utf-8
108
+ X-Contentful-Ratelimit-Hour-Remaining:
109
+ - '35998'
110
+ X-Contentful-Ratelimit-Second-Remaining:
111
+ - '8'
112
+ X-Contentful-Ratelimit-Hour-Limit:
113
+ - '36000'
114
+ X-Contentful-Ratelimit-Second-Limit:
115
+ - '10'
116
+ X-Contentful-Ratelimit-Reset:
117
+ - '0'
118
+ X-Contentful-Route:
119
+ - "/organizations/:organizationId/taxonomy/concepts/:id/ancestors"
120
+ Cache-Control:
121
+ - no-cache
122
+ Accept-Ranges:
123
+ - bytes
124
+ X-Content-Type-Options:
125
+ - nosniff
126
+ Server:
127
+ - Contentful
128
+ Contentful-Api:
129
+ - cma
130
+ Contentful-Upstream:
131
+ - taxonomy-service
132
+ Access-Control-Allow-Origin:
133
+ - "*"
134
+ Access-Control-Allow-Headers:
135
+ - 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
136
+ Access-Control-Expose-Headers:
137
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
138
+ Access-Control-Allow-Methods:
139
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
140
+ Access-Control-Max-Age:
141
+ - '1728000'
142
+ Date:
143
+ - Wed, 22 Oct 2025 12:58:23 GMT
144
+ Vary:
145
+ - accept-encoding
146
+ X-Contentful-Request-Id:
147
+ - 9b3207b0-551f-4b25-a89b-03018674a30a
148
+ Strict-Transport-Security:
149
+ - max-age=15768000
150
+ body:
151
+ encoding: UTF-8
152
+ string: '{"sys":{"type":"Array"},"limit":100,"items":[{"sys":{"id":"3VgXIOahV6RnBj9eNS27Ii","type":"TaxonomyConcept","createdAt":"2025-08-29T17:42:35.659Z","updatedAt":"2025-08-29T17:42:35.659Z","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,"notations":[],"conceptSchemes":[],"broader":[],"related":[],"prefLabel":{"en-US":"TestConcept"},"altLabels":{"en-US":[]},"hiddenLabels":{"en-US":[]},"note":null,"changeNote":null,"definition":null,"editorialNote":null,"example":null,"historyNote":null,"scopeNote":null},{"sys":{"id":"greenSofas","type":"TaxonomyConcept","createdAt":"2025-09-15T12:42:23.365Z","updatedAt":"2025-10-22T12:55:08.291Z","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":[],"conceptSchemes":[{"sys":{"id":"2hNivoHTKM4MbTM4519T5E","type":"Link","linkType":"TaxonomyConceptScheme"}}],"broader":[],"related":[],"prefLabel":{"en-US":"Green
153
+ Sofas"},"altLabels":{"en-US":[]},"hiddenLabels":{"en-US":[]},"note":{"en-US":""},"changeNote":null,"definition":{"en-US":""},"editorialNote":{"en-US":""},"example":{"en-US":""},"historyNote":{"en-US":""},"scopeNote":{"en-US":""}}],"pages":{}}'
154
+ recorded_at: Wed, 22 Oct 2025 12:58:23 GMT
155
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,77 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"prefLabel":{"en-US":"Bicycles"}}'
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
+ - '695'
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/concepts"
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 12:42:29 GMT
69
+ X-Contentful-Request-Id:
70
+ - e74b2440-fe66-478b-8490-155e81ef6a2b
71
+ Strict-Transport-Security:
72
+ - max-age=15768000
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{"sys":{"id":"1l7DItL3OMCR7d5m8RRyNS","type":"TaxonomyConcept","createdAt":"2025-10-22T12:42:29.057Z","updatedAt":"2025-10-22T12:42:29.057Z","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,"notations":[],"conceptSchemes":[],"broader":[],"related":[],"prefLabel":{"en-US":"Bicycles"},"altLabels":{"en-US":[]},"hiddenLabels":{"en-US":[]},"note":null,"changeNote":null,"definition":null,"editorialNote":null,"example":null,"historyNote":null,"scopeNote":null}'
76
+ recorded_at: Wed, 22 Oct 2025 12:42:29 GMT
77
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,78 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/my-custom-id
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"id":"my-custom-id","prefLabel":{"en-US":"Custom Bicycles"}}'
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
+ - '692'
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
+ 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 12:45:51 GMT
69
+ X-Contentful-Request-Id:
70
+ - f75c73be-a64a-416d-bbb1-49a2e8c20e51
71
+ Strict-Transport-Security:
72
+ - max-age=15768000
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{"sys":{"id":"my-custom-id","type":"TaxonomyConcept","createdAt":"2025-10-22T12:45:51.095Z","updatedAt":"2025-10-22T12:45:51.095Z","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,"notations":[],"conceptSchemes":[],"broader":[],"related":[],"prefLabel":{"en-US":"Custom
76
+ Bicycles"},"altLabels":{"en-US":[]},"hiddenLabels":{"en-US":[]},"note":null,"changeNote":null,"definition":null,"editorialNote":null,"example":null,"historyNote":null,"scopeNote":null}'
77
+ recorded_at: Wed, 22 Oct 2025 12:45:51 GMT
78
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,153 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/greenSofas
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
+ - '822'
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/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:55:17 GMT
69
+ X-Contentful-Request-Id:
70
+ - 1cd67ec5-c9c4-49c6-a58c-7cda5254a28e
71
+ Strict-Transport-Security:
72
+ - max-age=15768000
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{"sys":{"id":"greenSofas","type":"TaxonomyConcept","createdAt":"2025-09-15T12:42:23.365Z","updatedAt":"2025-10-22T12:55:08.291Z","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":[],"conceptSchemes":[{"sys":{"id":"2hNivoHTKM4MbTM4519T5E","type":"Link","linkType":"TaxonomyConceptScheme"}}],"broader":[],"related":[],"prefLabel":{"en-US":"Green
76
+ Sofas"},"altLabels":{"en-US":[]},"hiddenLabels":{"en-US":[]},"note":{"en-US":""},"changeNote":null,"definition":{"en-US":""},"editorialNote":{"en-US":""},"example":{"en-US":""},"historyNote":{"en-US":""},"scopeNote":{"en-US":""}}'
77
+ recorded_at: Wed, 22 Oct 2025 12:55:16 GMT
78
+ - request:
79
+ method: get
80
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/greenSofas/descendants
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
+ Connection:
92
+ - close
93
+ Host:
94
+ - api.contentful.com
95
+ User-Agent:
96
+ - http.rb/5.0.1
97
+ response:
98
+ status:
99
+ code: 200
100
+ message: OK
101
+ headers:
102
+ Connection:
103
+ - close
104
+ Content-Length:
105
+ - '945'
106
+ Content-Type:
107
+ - application/json; charset=utf-8
108
+ X-Contentful-Ratelimit-Hour-Limit:
109
+ - '36000'
110
+ X-Contentful-Ratelimit-Second-Limit:
111
+ - '10'
112
+ X-Contentful-Ratelimit-Reset:
113
+ - '0'
114
+ X-Contentful-Ratelimit-Hour-Remaining:
115
+ - '35999'
116
+ X-Contentful-Ratelimit-Second-Remaining:
117
+ - '9'
118
+ X-Contentful-Route:
119
+ - "/organizations/:organizationId/taxonomy/concepts/:id/descendants"
120
+ Cache-Control:
121
+ - no-cache
122
+ Accept-Ranges:
123
+ - bytes
124
+ X-Content-Type-Options:
125
+ - nosniff
126
+ Server:
127
+ - Contentful
128
+ Contentful-Api:
129
+ - cma
130
+ Contentful-Upstream:
131
+ - taxonomy-service
132
+ Access-Control-Allow-Origin:
133
+ - "*"
134
+ Access-Control-Allow-Headers:
135
+ - 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
136
+ Access-Control-Expose-Headers:
137
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
138
+ Access-Control-Allow-Methods:
139
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
140
+ Access-Control-Max-Age:
141
+ - '1728000'
142
+ Date:
143
+ - Wed, 22 Oct 2025 12:55:17 GMT
144
+ X-Contentful-Request-Id:
145
+ - 4697d9a9-aaf8-49c4-ace0-bff35b342286
146
+ Strict-Transport-Security:
147
+ - max-age=15768000
148
+ body:
149
+ encoding: UTF-8
150
+ string: '{"sys":{"type":"Array"},"limit":100,"items":[{"sys":{"id":"livingRoom","type":"TaxonomyConcept","createdAt":"2025-09-14T05:44:44.737Z","updatedAt":"2025-10-22T12:55:09.022Z","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":[],"conceptSchemes":[],"broader":[{"sys":{"id":"3VgXIOahV6RnBj9eNS27Ii","type":"Link","linkType":"TaxonomyConcept"}},{"sys":{"id":"greenSofas","type":"Link","linkType":"TaxonomyConcept"}}],"related":[],"prefLabel":{"en-US":"Living
151
+ Room"},"altLabels":{"en-US":[]},"hiddenLabels":{"en-US":[]},"note":{"en-US":""},"changeNote":null,"definition":{"en-US":""},"editorialNote":{"en-US":""},"example":{"en-US":""},"historyNote":{"en-US":""},"scopeNote":{"en-US":""}}],"pages":{}}'
152
+ recorded_at: Wed, 22 Oct 2025 12:55:17 GMT
153
+ recorded_with: VCR 6.2.0
@@ -0,0 +1,152 @@
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
+ - '1049'
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Contentful-Ratelimit-Second-Limit:
34
+ - '10'
35
+ X-Contentful-Ratelimit-Reset:
36
+ - '0'
37
+ X-Contentful-Ratelimit-Hour-Remaining:
38
+ - '35999'
39
+ X-Contentful-Ratelimit-Second-Remaining:
40
+ - '9'
41
+ X-Contentful-Ratelimit-Hour-Limit:
42
+ - '36000'
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:36:29 GMT
69
+ Vary:
70
+ - accept-encoding
71
+ X-Contentful-Request-Id:
72
+ - 2b428370-1c54-4e94-b629-a8f0004466c3
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-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
78
+ Label"},"altLabels":{"en-US":["Couches","Settees"]},"hiddenLabels":{"en-US":["Davenports"]},"note":null,"changeNote":null,"definition":null,"editorialNote":null,"example":null,"historyNote":null,"scopeNote":null}'
79
+ recorded_at: Wed, 22 Oct 2025 12:36:29 GMT
80
+ - request:
81
+ method: delete
82
+ uri: https://api.contentful.com/organizations/4kQeJmhUWIKtNNmMkketza/taxonomy/concepts/5KHXWlmxvntrrB09szapUp
83
+ body:
84
+ encoding: UTF-8
85
+ string: ''
86
+ headers:
87
+ X-Contentful-User-Agent:
88
+ - sdk contentful-management.rb/3.11.0; platform ruby/3.4.3; os macOS/24;
89
+ Authorization:
90
+ - Bearer <ACCESS_TOKEN>
91
+ Content-Type:
92
+ - application/vnd.contentful.management.v1+json
93
+ X-Contentful-Version:
94
+ - '3'
95
+ Connection:
96
+ - close
97
+ Host:
98
+ - api.contentful.com
99
+ User-Agent:
100
+ - http.rb/5.0.1
101
+ response:
102
+ status:
103
+ code: 204
104
+ message: No Content
105
+ headers:
106
+ Connection:
107
+ - close
108
+ X-Contentful-Ratelimit-Hour-Remaining:
109
+ - '35999'
110
+ X-Contentful-Ratelimit-Second-Remaining:
111
+ - '9'
112
+ X-Contentful-Ratelimit-Hour-Limit:
113
+ - '36000'
114
+ X-Contentful-Ratelimit-Second-Limit:
115
+ - '10'
116
+ X-Contentful-Ratelimit-Reset:
117
+ - '0'
118
+ X-Contentful-Route:
119
+ - "/organizations/:organizationId/taxonomy/concepts/:id"
120
+ Cache-Control:
121
+ - no-cache
122
+ X-Content-Type-Options:
123
+ - nosniff
124
+ Server:
125
+ - Contentful
126
+ Contentful-Api:
127
+ - cma
128
+ Contentful-Upstream:
129
+ - taxonomy-service
130
+ Access-Control-Allow-Origin:
131
+ - "*"
132
+ Access-Control-Allow-Headers:
133
+ - 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
134
+ Access-Control-Expose-Headers:
135
+ - Etag,x-contentful-request-id,x-contentful-ai-actions-ratelimit-reset
136
+ Access-Control-Allow-Methods:
137
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
138
+ Access-Control-Max-Age:
139
+ - '1728000'
140
+ Accept-Ranges:
141
+ - bytes
142
+ Date:
143
+ - Wed, 22 Oct 2025 12:36:30 GMT
144
+ X-Contentful-Request-Id:
145
+ - ad572d69-f94c-4f44-8c9d-7a99f838fe70
146
+ Strict-Transport-Security:
147
+ - max-age=15768000
148
+ body:
149
+ encoding: ASCII-8BIT
150
+ string: ''
151
+ recorded_at: Wed, 22 Oct 2025 12:36:30 GMT
152
+ recorded_with: VCR 6.2.0