spree_api 4.3.0.rc3 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bd9fd052b9bc9fd57cabf4fb28955081e4e3522aad98fe014641d46ca7b5c2c
4
- data.tar.gz: f91442e429d34783f73dbc25806afa80ab0cbd5013c07c499c8b7da4bc5a29aa
3
+ metadata.gz: 700721bfeb78aa6977d43dc85580aed316002b12e2f909a89bbe5ff334d425f9
4
+ data.tar.gz: f3b7d4ad9f7311210b44952d5778988a788ccd87d3f9cac2f83d1b99c55450bb
5
5
  SHA512:
6
- metadata.gz: dcc5d4344630b798bb0ea424285c89267ec2034d2a2f2fb483686c17670793b13fb23499a10aec1c579a3c807cd995b2b6b9f6c33ba68cfe4da9883b57de017f
7
- data.tar.gz: c9d7016ddc08b9d26a438b46a5374d1c229e90e51cb2bace94c4f616c647d13d37eecd913c10ed80126508e25b23d5054032f1bd4ef349098c2caa8fc8869ae6
6
+ metadata.gz: c0ab5fba7a140b1d87ba247c9a0cbf0e7a8d65b1b1a95de956f0a4d6fb84dafbf7294f2b63928182a31bd1dac80a525277c455dcc5c7feeeb3345ea69108e436
7
+ data.tar.gz: 33ec8fcad7aca3e1b65b19aeb9661cf1e85db2ce36387fc5eee9916ca99bdf4ddd8be5b8b3e1c423713b75f49630056c5109766a39e63e82917e6205541f4688
@@ -4,6 +4,8 @@ module Spree
4
4
  module Storefront
5
5
  module Account
6
6
  class AddressesController < ::Spree::Api::V2::ResourceController
7
+ include Spree::BaseHelper
8
+
7
9
  before_action :require_spree_current_user
8
10
 
9
11
  def create
@@ -37,7 +39,7 @@ module Spree
37
39
  end
38
40
 
39
41
  def scope
40
- super.where(user: spree_current_user).not_deleted
42
+ super.where(user: spree_current_user, country: available_countries).not_deleted
41
43
  end
42
44
 
43
45
  def model_class
@@ -4,8 +4,10 @@ module Spree
4
4
  module Storefront
5
5
  class CartController < ::Spree::Api::V2::BaseController
6
6
  include Spree::Api::V2::Storefront::OrderConcern
7
- before_action :ensure_order, except: :create
7
+ before_action :ensure_order, except: %i[create associate]
8
8
  before_action :load_variant, only: :add_item
9
+ before_action :require_spree_current_user, only: :associate
10
+
9
11
 
10
12
  def create
11
13
  spree_authorize! :create, Spree::Order
@@ -128,6 +130,34 @@ module Spree
128
130
  end
129
131
  end
130
132
 
133
+ def associate
134
+ guest_order_token = params[:guest_order_token]
135
+ guest_order = ::Spree::Api::Dependencies.storefront_current_order_finder.constantize.new.execute(
136
+ store: current_store,
137
+ user: nil,
138
+ token: guest_order_token,
139
+ currency: current_currency
140
+ )
141
+
142
+ spree_authorize! :update, guest_order, guest_order_token
143
+
144
+ result = associate_service.call(guest_order: guest_order, user: spree_current_user)
145
+
146
+ if result.success?
147
+ render_serialized_payload { serialize_resource(guest_order) }
148
+ else
149
+ render_error_payload(result.error)
150
+ end
151
+ end
152
+
153
+ def change_currency
154
+ spree_authorize! :update, spree_current_order, order_token
155
+
156
+ result = change_currency_service.call(order: spree_current_order, new_currency: params[:new_currency])
157
+
158
+ render_order(result)
159
+ end
160
+
131
161
  private
132
162
 
133
163
  def resource_serializer
@@ -166,6 +196,14 @@ module Spree
166
196
  Spree::Api::Dependencies.storefront_cart_estimate_shipping_rates_service.constantize
167
197
  end
168
198
 
199
+ def associate_service
200
+ Spree::Api::Dependencies.storefront_cart_associate_service.constantize
201
+ end
202
+
203
+ def change_currency_service
204
+ Spree::Api::Dependencies.storefront_cart_change_currency_service.constantize
205
+ end
206
+
169
207
  def line_item
170
208
  @line_item ||= spree_current_order.line_items.find(params[:line_item_id])
171
209
  end
@@ -46,6 +46,14 @@ module Spree
46
46
  def allowed_sort_attributes
47
47
  super << :available_on
48
48
  end
49
+
50
+ def collection_meta(collection)
51
+ super(collection).merge(filters: filters_meta)
52
+ end
53
+
54
+ def filters_meta
55
+ Spree::Api::Products::FiltersPresenter.new(current_store, current_currency, params).to_h
56
+ end
49
57
  end
50
58
  end
51
59
  end
@@ -14,12 +14,13 @@ module Spree
14
14
  :storefront_country_serializer, :storefront_menu_serializer, :storefront_menu_finder, :storefront_current_order_finder,
15
15
  :storefront_completed_order_finder, :storefront_order_sorter, :storefront_collection_paginator, :storefront_user_serializer,
16
16
  :storefront_products_sorter, :storefront_products_finder, :storefront_product_serializer, :storefront_taxon_serializer,
17
- :storefront_taxon_finder, :storefront_find_by_variant_finder, :storefront_cart_update_service,
17
+ :storefront_taxon_finder, :storefront_find_by_variant_finder, :storefront_cart_update_service, :storefront_cart_associate_service,
18
18
  :storefront_cart_estimate_shipping_rates_service, :storefront_estimated_shipment_serializer,
19
19
  :storefront_store_serializer, :storefront_address_serializer, :storefront_order_serializer,
20
20
  :storefront_account_create_address_service, :storefront_account_update_address_service, :storefront_address_finder,
21
21
  :storefront_account_create_service, :storefront_account_update_service, :storefront_collection_sorter, :error_handler,
22
- :storefront_cart_empty_service, :storefront_cart_destroy_service, :storefront_credit_cards_destroy_service, :platform_products_sorter
22
+ :storefront_cart_empty_service, :storefront_cart_destroy_service, :storefront_credit_cards_destroy_service, :platform_products_sorter,
23
+ :storefront_cart_change_currency_service
23
24
  ].freeze
24
25
 
25
26
  attr_accessor *INJECTION_POINTS
@@ -43,6 +44,8 @@ module Spree
43
44
  @storefront_cart_estimate_shipping_rates_service = Spree::Dependencies.cart_estimate_shipping_rates_service
44
45
  @storefront_cart_empty_service = Spree::Dependencies.cart_empty_service
45
46
  @storefront_cart_destroy_service = Spree::Dependencies.cart_destroy_service
47
+ @storefront_cart_associate_service = Spree::Dependencies.cart_associate_service
48
+ @storefront_cart_change_currency_service = Spree::Dependencies.cart_change_currency_service
46
49
 
47
50
  # coupon code handler
48
51
  @storefront_coupon_handler = Spree::Dependencies.coupon_handler
@@ -0,0 +1,39 @@
1
+ module Spree
2
+ module Api
3
+ module Products
4
+ class FiltersPresenter
5
+ def initialize(current_store, current_currency, params)
6
+ @products_for_filters = find_products_for_filters(current_store, current_currency, params)
7
+ end
8
+
9
+ def to_h
10
+ option_values = Spree::OptionValues::FindAvailable.new(products_scope: products_for_filters).execute
11
+ option_values_presenters = Spree::Filters::OptionsPresenter.new(option_values_scope: option_values).to_a
12
+ product_properties = Spree::ProductProperties::FindAvailable.new(products_scope: products_for_filters).execute
13
+ product_properties_presenters = Spree::Filters::PropertiesPresenter.new(product_properties_scope: product_properties).to_a
14
+ {
15
+ option_types: option_values_presenters.map(&:to_h),
16
+ product_properties: product_properties_presenters.map(&:to_h)
17
+ }
18
+ end
19
+
20
+ private
21
+
22
+ attr_reader :products_for_filters
23
+
24
+ def find_products_for_filters(current_store, current_currency, params)
25
+ current_taxons = find_current_taxons(current_store, params)
26
+ current_store.products.active(current_currency).in_taxons(current_taxons)
27
+ end
28
+
29
+ def find_current_taxons(current_store, params)
30
+ taxons_param = params.dig(:filter, :taxons)
31
+ return nil if taxons_param.nil? || taxons_param.to_s.blank?
32
+
33
+ taxon_ids = taxons_param.to_s.split(',')
34
+ current_store.taxons.where(id: taxon_ids)
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
data/config/routes.rb CHANGED
@@ -137,6 +137,8 @@ Spree::Core::Engine.add_routes do
137
137
  delete 'remove_coupon_code/:coupon_code', to: 'cart#remove_coupon_code', as: :cart_remove_coupon_code
138
138
  delete 'remove_coupon_code', to: 'cart#remove_coupon_code', as: :cart_remove_coupon_code_without_code
139
139
  get :estimate_shipping_rates
140
+ patch :associate
141
+ patch :change_currency
140
142
  end
141
143
 
142
144
  resource :checkout, controller: :checkout, only: %i[update] do
@@ -2,6 +2,10 @@
2
2
  openapi: 3.0.1
3
3
  info:
4
4
  title: Platform API V2
5
+ contact:
6
+ name: Spark Solutions
7
+ url: https://sparksolutions.co
8
+ email: we@sparksolutions.co
5
9
  version: v2
6
10
  paths:
7
11
  "/api/v2/platform/addresses":
@@ -11,6 +15,8 @@ paths:
11
15
  - Addresses
12
16
  security:
13
17
  - bearer_auth: []
18
+ description: Returns a list of Addresses
19
+ operationId: addresses-list
14
20
  parameters:
15
21
  - name: page
16
22
  in: query
@@ -57,8 +63,8 @@ paths:
57
63
  state_name:
58
64
  alternative_phone: 555-555-0199
59
65
  company: Company
60
- created_at: '2021-08-23T21:28:22.108Z'
61
- updated_at: '2021-08-23T21:28:22.108Z'
66
+ created_at: '2021-08-30T22:29:07.024Z'
67
+ updated_at: '2021-08-30T22:29:07.024Z'
62
68
  deleted_at:
63
69
  label:
64
70
  relationships:
@@ -85,8 +91,8 @@ paths:
85
91
  state_name:
86
92
  alternative_phone: 555-555-0199
87
93
  company: Company
88
- created_at: '2021-08-23T21:28:22.134Z'
89
- updated_at: '2021-08-23T21:28:22.134Z'
94
+ created_at: '2021-08-30T22:29:07.026Z'
95
+ updated_at: '2021-08-30T22:29:07.026Z'
90
96
  deleted_at:
91
97
  label:
92
98
  relationships:
@@ -124,6 +130,8 @@ paths:
124
130
  - Addresses
125
131
  security:
126
132
  - bearer_auth: []
133
+ description: Creates an Address
134
+ operationId: create-address
127
135
  parameters:
128
136
  - name: include
129
137
  in: query
@@ -154,8 +162,8 @@ paths:
154
162
  state_name:
155
163
  alternative_phone: 555-555-0199
156
164
  company: Company
157
- created_at: '2021-08-23T21:28:22.275Z'
158
- updated_at: '2021-08-23T21:28:22.275Z'
165
+ created_at: '2021-08-30T22:29:07.137Z'
166
+ updated_at: '2021-08-30T22:29:07.137Z'
159
167
  deleted_at:
160
168
  label:
161
169
  relationships:
@@ -200,7 +208,7 @@ paths:
200
208
  content:
201
209
  application/json:
202
210
  schema:
203
- "$ref": "#/components/schemas/addresses_params"
211
+ "$ref": "#/components/schemas/address_params"
204
212
  "/api/v2/platform/addresses/{id}":
205
213
  get:
206
214
  summary: Returns an Address
@@ -208,6 +216,8 @@ paths:
208
216
  - Addresses
209
217
  security:
210
218
  - bearer_auth: []
219
+ description: Returns an Address
220
+ operationId: show-address
211
221
  parameters:
212
222
  - name: id
213
223
  in: path
@@ -243,8 +253,8 @@ paths:
243
253
  state_name:
244
254
  alternative_phone: 555-555-0199
245
255
  company: Company
246
- created_at: '2021-08-23T21:28:22.297Z'
247
- updated_at: '2021-08-23T21:28:22.297Z'
256
+ created_at: '2021-08-30T22:29:07.160Z'
257
+ updated_at: '2021-08-30T22:29:07.160Z'
248
258
  deleted_at:
249
259
  label:
250
260
  relationships:
@@ -280,6 +290,8 @@ paths:
280
290
  - Addresses
281
291
  security:
282
292
  - bearer_auth: []
293
+ description: Updates an Address
294
+ operationId: update-address
283
295
  parameters:
284
296
  - name: id
285
297
  in: path
@@ -315,8 +327,8 @@ paths:
315
327
  state_name:
316
328
  alternative_phone: 555-555-0199
317
329
  company: Company
318
- created_at: '2021-08-23T21:28:22.331Z'
319
- updated_at: '2021-08-23T21:28:22.336Z'
330
+ created_at: '2021-08-30T22:29:07.192Z'
331
+ updated_at: '2021-08-30T22:29:07.196Z'
320
332
  deleted_at:
321
333
  label:
322
334
  relationships:
@@ -363,13 +375,15 @@ paths:
363
375
  content:
364
376
  application/json:
365
377
  schema:
366
- "$ref": "#/components/schemas/addresses_params"
378
+ "$ref": "#/components/schemas/address_params"
367
379
  delete:
368
380
  summary: Deletes an Address
369
381
  tags:
370
382
  - Addresses
371
383
  security:
372
384
  - bearer_auth: []
385
+ description: Deletes an Address
386
+ operationId: delete-address
373
387
  parameters:
374
388
  - name: id
375
389
  in: path
@@ -402,6 +416,8 @@ paths:
402
416
  - Classifications
403
417
  security:
404
418
  - bearer_auth: []
419
+ description: Returns a list of Classifications
420
+ operationId: classifications-list
405
421
  parameters:
406
422
  - name: page
407
423
  in: query
@@ -439,8 +455,8 @@ paths:
439
455
  type: classification
440
456
  attributes:
441
457
  position: 1
442
- created_at: '2021-08-23T21:28:22.534Z'
443
- updated_at: '2021-08-23T21:28:22.534Z'
458
+ created_at: '2021-08-30T22:29:07.400Z'
459
+ updated_at: '2021-08-30T22:29:07.400Z'
444
460
  relationships:
445
461
  product:
446
462
  data:
@@ -454,8 +470,8 @@ paths:
454
470
  type: classification
455
471
  attributes:
456
472
  position: 1
457
- created_at: '2021-08-23T21:28:22.569Z'
458
- updated_at: '2021-08-23T21:28:22.569Z'
473
+ created_at: '2021-08-30T22:29:07.447Z'
474
+ updated_at: '2021-08-30T22:29:07.447Z'
459
475
  relationships:
460
476
  product:
461
477
  data:
@@ -489,6 +505,8 @@ paths:
489
505
  - Classifications
490
506
  security:
491
507
  - bearer_auth: []
508
+ description: Creates a Classification
509
+ operationId: create-classification
492
510
  parameters:
493
511
  - name: include
494
512
  in: query
@@ -510,8 +528,8 @@ paths:
510
528
  type: classification
511
529
  attributes:
512
530
  position: 1
513
- created_at: '2021-08-23T21:28:22.728Z'
514
- updated_at: '2021-08-23T21:28:22.728Z'
531
+ created_at: '2021-08-30T22:29:07.600Z'
532
+ updated_at: '2021-08-30T22:29:07.600Z'
515
533
  relationships:
516
534
  product:
517
535
  data:
@@ -538,7 +556,7 @@ paths:
538
556
  content:
539
557
  application/json:
540
558
  schema:
541
- "$ref": "#/components/schemas/classifications_params"
559
+ "$ref": "#/components/schemas/classification_params"
542
560
  "/api/v2/platform/classifications/{id}":
543
561
  get:
544
562
  summary: Returns a Classification
@@ -546,6 +564,8 @@ paths:
546
564
  - Classifications
547
565
  security:
548
566
  - bearer_auth: []
567
+ description: Returns a Classification
568
+ operationId: show-classification
549
569
  parameters:
550
570
  - name: id
551
571
  in: path
@@ -572,8 +592,8 @@ paths:
572
592
  type: classification
573
593
  attributes:
574
594
  position: 1
575
- created_at: '2021-08-23T21:28:22.787Z'
576
- updated_at: '2021-08-23T21:28:22.787Z'
595
+ created_at: '2021-08-30T22:29:07.667Z'
596
+ updated_at: '2021-08-30T22:29:07.667Z'
577
597
  relationships:
578
598
  product:
579
599
  data:
@@ -605,6 +625,8 @@ paths:
605
625
  - Classifications
606
626
  security:
607
627
  - bearer_auth: []
628
+ description: Updates a Classification
629
+ operationId: update-classification
608
630
  parameters:
609
631
  - name: id
610
632
  in: path
@@ -631,8 +653,8 @@ paths:
631
653
  type: classification
632
654
  attributes:
633
655
  position: 1
634
- created_at: '2021-08-23T21:28:22.904Z'
635
- updated_at: '2021-08-23T21:28:22.904Z'
656
+ created_at: '2021-08-30T22:29:07.783Z'
657
+ updated_at: '2021-08-30T22:29:07.783Z'
636
658
  relationships:
637
659
  product:
638
660
  data:
@@ -673,13 +695,15 @@ paths:
673
695
  content:
674
696
  application/json:
675
697
  schema:
676
- "$ref": "#/components/schemas/classifications_params"
698
+ "$ref": "#/components/schemas/classification_params"
677
699
  delete:
678
700
  summary: Deletes a Classification
679
701
  tags:
680
702
  - Classifications
681
703
  security:
682
704
  - bearer_auth: []
705
+ description: Deletes a Classification
706
+ operationId: delete-classification
683
707
  parameters:
684
708
  - name: id
685
709
  in: path
@@ -712,6 +736,8 @@ paths:
712
736
  - Classifications
713
737
  security:
714
738
  - bearer_auth: []
739
+ operationId: reposition-classification
740
+ description: Reposition a Classification
715
741
  parameters:
716
742
  - name: id
717
743
  in: path
@@ -738,8 +764,8 @@ paths:
738
764
  type: classification
739
765
  attributes:
740
766
  position: 2
741
- created_at: '2021-08-23T21:28:23.191Z'
742
- updated_at: '2021-08-23T21:28:23.199Z'
767
+ created_at: '2021-08-30T22:29:08.086Z'
768
+ updated_at: '2021-08-30T22:29:08.095Z'
743
769
  relationships:
744
770
  product:
745
771
  data:
@@ -786,6 +812,8 @@ paths:
786
812
  - Countries
787
813
  security:
788
814
  - bearer_auth: []
815
+ operationId: countries-list
816
+ description: Returns a list of Countries
789
817
  responses:
790
818
  '200':
791
819
  description: Records returned
@@ -804,9 +832,9 @@ paths:
804
832
  name: United States of America
805
833
  numcode: 840
806
834
  states_required: true
807
- updated_at: '2021-08-23T21:28:23.328Z'
835
+ updated_at: '2021-08-30T22:29:08.218Z'
808
836
  zipcode_required: true
809
- created_at: '2021-08-23T21:28:23.328Z'
837
+ created_at: '2021-08-30T22:29:08.218Z'
810
838
  relationships:
811
839
  states:
812
840
  data: []
@@ -819,9 +847,9 @@ paths:
819
847
  name: NAME_2
820
848
  numcode: 840
821
849
  states_required: false
822
- updated_at: '2021-08-23T21:28:23.332Z'
850
+ updated_at: '2021-08-30T22:29:08.222Z'
823
851
  zipcode_required: true
824
- created_at: '2021-08-23T21:28:23.332Z'
852
+ created_at: '2021-08-30T22:29:08.222Z'
825
853
  relationships:
826
854
  states:
827
855
  data: []
@@ -834,9 +862,9 @@ paths:
834
862
  name: NAME_3
835
863
  numcode: 840
836
864
  states_required: false
837
- updated_at: '2021-08-23T21:28:23.333Z'
865
+ updated_at: '2021-08-30T22:29:08.223Z'
838
866
  zipcode_required: true
839
- created_at: '2021-08-23T21:28:23.333Z'
867
+ created_at: '2021-08-30T22:29:08.223Z'
840
868
  relationships:
841
869
  states:
842
870
  data: []
@@ -865,6 +893,8 @@ paths:
865
893
  - Countries
866
894
  security:
867
895
  - bearer_auth: []
896
+ operationId: show-country
897
+ description: Returns a Country
868
898
  parameters:
869
899
  - name: id
870
900
  in: path
@@ -889,9 +919,9 @@ paths:
889
919
  name: NAME_6
890
920
  numcode: 840
891
921
  states_required: false
892
- updated_at: '2021-08-23T21:28:23.362Z'
922
+ updated_at: '2021-08-30T22:29:08.259Z'
893
923
  zipcode_required: true
894
- created_at: '2021-08-23T21:28:23.362Z'
924
+ created_at: '2021-08-30T22:29:08.259Z'
895
925
  relationships:
896
926
  states:
897
927
  data: []
@@ -913,11 +943,13 @@ paths:
913
943
  error: The access token is invalid
914
944
  "/api/v2/platform/menu_items":
915
945
  get:
916
- summary: Returns a list of MenuItems
946
+ summary: Returns a list of Menu Items
917
947
  tags:
918
- - MenuItems
948
+ - Menu Items
919
949
  security:
920
950
  - bearer_auth: []
951
+ description: Returns a list of Menu Items
952
+ operationId: menu-items-list
921
953
  parameters:
922
954
  - name: page
923
955
  in: query
@@ -939,7 +971,7 @@ paths:
939
971
  - name: filter
940
972
  in: query
941
973
  description: ''
942
- example:
974
+ example: menu_item_name_eq=Women
943
975
  schema:
944
976
  type: string
945
977
  responses:
@@ -954,7 +986,7 @@ paths:
954
986
  - id: '1'
955
987
  type: menu_item
956
988
  attributes:
957
- name: Quia ea unde minus sunt voluptatum iste repellendus.
989
+ name: Corporis deleniti vel necessitatibus laborum aliquid.
958
990
  subtitle:
959
991
  destination:
960
992
  new_window: false
@@ -964,8 +996,8 @@ paths:
964
996
  lft: 1
965
997
  rgt: 16
966
998
  depth: 0
967
- created_at: '2021-08-23T21:28:23.403Z'
968
- updated_at: '2021-08-23T21:28:23.479Z'
999
+ created_at: '2021-08-30T22:29:08.302Z'
1000
+ updated_at: '2021-08-30T22:29:08.383Z'
969
1001
  link:
970
1002
  is_container: true
971
1003
  is_root: true
@@ -1011,8 +1043,8 @@ paths:
1011
1043
  lft: 2
1012
1044
  rgt: 3
1013
1045
  depth: 1
1014
- created_at: '2021-08-23T21:28:23.414Z'
1015
- updated_at: '2021-08-23T21:28:23.416Z'
1046
+ created_at: '2021-08-30T22:29:08.314Z'
1047
+ updated_at: '2021-08-30T22:29:08.316Z'
1016
1048
  link:
1017
1049
  is_container: false
1018
1050
  is_root: false
@@ -1048,8 +1080,8 @@ paths:
1048
1080
  lft: 4
1049
1081
  rgt: 5
1050
1082
  depth: 1
1051
- created_at: '2021-08-23T21:28:23.425Z'
1052
- updated_at: '2021-08-23T21:28:23.426Z'
1083
+ created_at: '2021-08-30T22:29:08.325Z'
1084
+ updated_at: '2021-08-30T22:29:08.327Z'
1053
1085
  link:
1054
1086
  is_container: false
1055
1087
  is_root: false
@@ -1085,8 +1117,8 @@ paths:
1085
1117
  lft: 6
1086
1118
  rgt: 7
1087
1119
  depth: 1
1088
- created_at: '2021-08-23T21:28:23.435Z'
1089
- updated_at: '2021-08-23T21:28:23.436Z'
1120
+ created_at: '2021-08-30T22:29:08.336Z'
1121
+ updated_at: '2021-08-30T22:29:08.337Z'
1090
1122
  link:
1091
1123
  is_container: false
1092
1124
  is_root: false
@@ -1122,8 +1154,8 @@ paths:
1122
1154
  lft: 8
1123
1155
  rgt: 9
1124
1156
  depth: 1
1125
- created_at: '2021-08-23T21:28:23.444Z'
1126
- updated_at: '2021-08-23T21:28:23.446Z'
1157
+ created_at: '2021-08-30T22:29:08.346Z'
1158
+ updated_at: '2021-08-30T22:29:08.348Z'
1127
1159
  link:
1128
1160
  is_container: false
1129
1161
  is_root: false
@@ -1159,8 +1191,8 @@ paths:
1159
1191
  lft: 10
1160
1192
  rgt: 11
1161
1193
  depth: 1
1162
- created_at: '2021-08-23T21:28:23.454Z'
1163
- updated_at: '2021-08-23T21:28:23.456Z'
1194
+ created_at: '2021-08-30T22:29:08.356Z'
1195
+ updated_at: '2021-08-30T22:29:08.358Z'
1164
1196
  link:
1165
1197
  is_container: false
1166
1198
  is_root: false
@@ -1196,8 +1228,8 @@ paths:
1196
1228
  lft: 12
1197
1229
  rgt: 13
1198
1230
  depth: 1
1199
- created_at: '2021-08-23T21:28:23.464Z'
1200
- updated_at: '2021-08-23T21:28:23.465Z'
1231
+ created_at: '2021-08-30T22:29:08.367Z'
1232
+ updated_at: '2021-08-30T22:29:08.369Z'
1201
1233
  link:
1202
1234
  is_container: false
1203
1235
  is_root: false
@@ -1233,8 +1265,8 @@ paths:
1233
1265
  lft: 14
1234
1266
  rgt: 15
1235
1267
  depth: 1
1236
- created_at: '2021-08-23T21:28:23.474Z'
1237
- updated_at: '2021-08-23T21:28:23.475Z'
1268
+ created_at: '2021-08-30T22:29:08.377Z'
1269
+ updated_at: '2021-08-30T22:29:08.379Z'
1238
1270
  link:
1239
1271
  is_container: false
1240
1272
  is_root: false
@@ -1276,11 +1308,13 @@ paths:
1276
1308
  value:
1277
1309
  error: The access token is invalid
1278
1310
  post:
1279
- summary: Creates a MenuItem
1311
+ summary: Creates a Menu Item
1280
1312
  tags:
1281
- - MenuItems
1313
+ - Menu Items
1282
1314
  security:
1283
1315
  - bearer_auth: []
1316
+ description: Creates a Menu Item
1317
+ operationId: create-menu-item
1284
1318
  parameters:
1285
1319
  - name: include
1286
1320
  in: query
@@ -1311,8 +1345,8 @@ paths:
1311
1345
  lft: 8
1312
1346
  rgt: 9
1313
1347
  depth: 1
1314
- created_at: '2021-08-23T21:28:23.637Z'
1315
- updated_at: '2021-08-23T21:28:23.639Z'
1348
+ created_at: '2021-08-30T22:29:08.554Z'
1349
+ updated_at: '2021-08-30T22:29:08.556Z'
1316
1350
  link:
1317
1351
  is_container: false
1318
1352
  is_root: false
@@ -1353,14 +1387,16 @@ paths:
1353
1387
  content:
1354
1388
  application/json:
1355
1389
  schema:
1356
- "$ref": "#/components/schemas/menu_items_params"
1390
+ "$ref": "#/components/schemas/menu_item_params"
1357
1391
  "/api/v2/platform/menu_items/{id}":
1358
1392
  get:
1359
- summary: Returns a MenuItem
1393
+ summary: Returns a Menu Item
1360
1394
  tags:
1361
- - MenuItems
1395
+ - Menu Items
1362
1396
  security:
1363
1397
  - bearer_auth: []
1398
+ description: Returns a Menu Item
1399
+ operationId: show-menu-item
1364
1400
  parameters:
1365
1401
  - name: id
1366
1402
  in: path
@@ -1396,8 +1432,8 @@ paths:
1396
1432
  lft: 8
1397
1433
  rgt: 9
1398
1434
  depth: 1
1399
- created_at: '2021-08-23T21:28:23.746Z'
1400
- updated_at: '2021-08-23T21:28:23.748Z'
1435
+ created_at: '2021-08-30T22:29:08.665Z'
1436
+ updated_at: '2021-08-30T22:29:08.667Z'
1401
1437
  link:
1402
1438
  is_container: false
1403
1439
  is_root: false
@@ -1437,11 +1473,13 @@ paths:
1437
1473
  value:
1438
1474
  error: The access token is invalid
1439
1475
  put:
1440
- summary: Updates a MenuItem
1476
+ summary: Updates a Menu Item
1441
1477
  tags:
1442
- - MenuItems
1478
+ - Menu Items
1443
1479
  security:
1444
1480
  - bearer_auth: []
1481
+ description: Updates a Menu Item
1482
+ operationId: update-menu-item
1445
1483
  parameters:
1446
1484
  - name: id
1447
1485
  in: path
@@ -1477,8 +1515,8 @@ paths:
1477
1515
  lft: 8
1478
1516
  rgt: 9
1479
1517
  depth: 1
1480
- created_at: '2021-08-23T21:28:23.926Z'
1481
- updated_at: '2021-08-23T21:28:23.937Z'
1518
+ created_at: '2021-08-30T22:29:08.831Z'
1519
+ updated_at: '2021-08-30T22:29:08.843Z'
1482
1520
  link:
1483
1521
  is_container: false
1484
1522
  is_root: false
@@ -1532,13 +1570,15 @@ paths:
1532
1570
  content:
1533
1571
  application/json:
1534
1572
  schema:
1535
- "$ref": "#/components/schemas/menu_items_params"
1573
+ "$ref": "#/components/schemas/menu_item_params"
1536
1574
  delete:
1537
- summary: Deletes a MenuItem
1575
+ summary: Deletes a Menu Item
1538
1576
  tags:
1539
- - MenuItems
1577
+ - Menu Items
1540
1578
  security:
1541
1579
  - bearer_auth: []
1580
+ description: Deletes a Menu Item
1581
+ operationId: delete-menu-item
1542
1582
  parameters:
1543
1583
  - name: id
1544
1584
  in: path
@@ -1568,9 +1608,11 @@ paths:
1568
1608
  patch:
1569
1609
  summary: Reposition a Menu Item
1570
1610
  tags:
1571
- - MenuItems
1611
+ - Menu Items
1572
1612
  security:
1573
1613
  - bearer_auth: []
1614
+ operationId: reposition-menu-item
1615
+ description: Reposition a Menu Item
1574
1616
  parameters:
1575
1617
  - name: id
1576
1618
  in: path
@@ -1599,8 +1641,8 @@ paths:
1599
1641
  lft: 5
1600
1642
  rgt: 6
1601
1643
  depth: 2
1602
- created_at: '2021-08-23T21:28:24.309Z'
1603
- updated_at: '2021-08-23T21:28:24.321Z'
1644
+ created_at: '2021-08-30T22:29:09.230Z'
1645
+ updated_at: '2021-08-30T22:29:09.241Z'
1604
1646
  link:
1605
1647
  is_container: false
1606
1648
  is_root: false
@@ -1651,6 +1693,8 @@ paths:
1651
1693
  - Menus
1652
1694
  security:
1653
1695
  - bearer_auth: []
1696
+ description: Returns a list of Menus
1697
+ operationId: menus-list
1654
1698
  parameters:
1655
1699
  - name: page
1656
1700
  in: query
@@ -1690,8 +1734,8 @@ paths:
1690
1734
  name: Main Menu
1691
1735
  location: header
1692
1736
  locale: en
1693
- created_at: '2021-08-23T21:28:24.436Z'
1694
- updated_at: '2021-08-23T21:28:24.464Z'
1737
+ created_at: '2021-08-30T22:29:09.361Z'
1738
+ updated_at: '2021-08-30T22:29:09.390Z'
1695
1739
  relationships:
1696
1740
  menu_items:
1697
1741
  data:
@@ -1707,8 +1751,8 @@ paths:
1707
1751
  name: Footer Menu
1708
1752
  location: footer
1709
1753
  locale: en
1710
- created_at: '2021-08-23T21:28:24.440Z'
1711
- updated_at: '2021-08-23T21:28:24.484Z'
1754
+ created_at: '2021-08-30T22:29:09.365Z'
1755
+ updated_at: '2021-08-30T22:29:09.411Z'
1712
1756
  relationships:
1713
1757
  menu_items:
1714
1758
  data:
@@ -1742,6 +1786,8 @@ paths:
1742
1786
  - Menus
1743
1787
  security:
1744
1788
  - bearer_auth: []
1789
+ description: Creates a Menu
1790
+ operationId: create-menu
1745
1791
  parameters:
1746
1792
  - name: include
1747
1793
  in: query
@@ -1765,8 +1811,8 @@ paths:
1765
1811
  name: Main Menu
1766
1812
  location: header
1767
1813
  locale: en
1768
- created_at: '2021-08-23T21:28:24.595Z'
1769
- updated_at: '2021-08-23T21:28:24.598Z'
1814
+ created_at: '2021-08-30T22:29:09.492Z'
1815
+ updated_at: '2021-08-30T22:29:09.495Z'
1770
1816
  relationships:
1771
1817
  menu_items:
1772
1818
  data:
@@ -1792,7 +1838,7 @@ paths:
1792
1838
  content:
1793
1839
  application/json:
1794
1840
  schema:
1795
- "$ref": "#/components/schemas/menus_params"
1841
+ "$ref": "#/components/schemas/menu_params"
1796
1842
  "/api/v2/platform/menus/{id}":
1797
1843
  get:
1798
1844
  summary: Returns a Menu
@@ -1800,6 +1846,8 @@ paths:
1800
1846
  - Menus
1801
1847
  security:
1802
1848
  - bearer_auth: []
1849
+ description: Returns a Menu
1850
+ operationId: show-menu
1803
1851
  parameters:
1804
1852
  - name: id
1805
1853
  in: path
@@ -1828,8 +1876,8 @@ paths:
1828
1876
  name: Main Menu
1829
1877
  location: header
1830
1878
  locale: en
1831
- created_at: '2021-08-23T21:28:24.622Z'
1832
- updated_at: '2021-08-23T21:28:24.625Z'
1879
+ created_at: '2021-08-30T22:29:09.523Z'
1880
+ updated_at: '2021-08-30T22:29:09.527Z'
1833
1881
  relationships:
1834
1882
  menu_items:
1835
1883
  data:
@@ -1857,6 +1905,8 @@ paths:
1857
1905
  - Menus
1858
1906
  security:
1859
1907
  - bearer_auth: []
1908
+ description: Updates a Menu
1909
+ operationId: update-menu
1860
1910
  parameters:
1861
1911
  - name: id
1862
1912
  in: path
@@ -1885,8 +1935,8 @@ paths:
1885
1935
  name: Main Menu
1886
1936
  location: header
1887
1937
  locale: en
1888
- created_at: '2021-08-23T21:28:24.664Z'
1889
- updated_at: '2021-08-23T21:28:24.667Z'
1938
+ created_at: '2021-08-30T22:29:09.565Z'
1939
+ updated_at: '2021-08-30T22:29:09.568Z'
1890
1940
  relationships:
1891
1941
  menu_items:
1892
1942
  data:
@@ -1928,13 +1978,15 @@ paths:
1928
1978
  content:
1929
1979
  application/json:
1930
1980
  schema:
1931
- "$ref": "#/components/schemas/menus_params"
1981
+ "$ref": "#/components/schemas/menu_params"
1932
1982
  delete:
1933
1983
  summary: Deletes a Menu
1934
1984
  tags:
1935
1985
  - Menus
1936
1986
  security:
1937
1987
  - bearer_auth: []
1988
+ description: Deletes a Menu
1989
+ operationId: delete-menu
1938
1990
  parameters:
1939
1991
  - name: id
1940
1992
  in: path
@@ -1962,11 +2014,13 @@ paths:
1962
2014
  error: The access token is invalid
1963
2015
  "/api/v2/platform/option_types":
1964
2016
  get:
1965
- summary: Returns a list of OptionTypes
2017
+ summary: Returns a list of Option Types
1966
2018
  tags:
1967
- - OptionTypes
2019
+ - Option Types
1968
2020
  security:
1969
2021
  - bearer_auth: []
2022
+ description: Returns a list of Option Types
2023
+ operationId: option-types-list
1970
2024
  parameters:
1971
2025
  - name: page
1972
2026
  in: query
@@ -2006,8 +2060,8 @@ paths:
2006
2060
  name: foo-size-1
2007
2061
  presentation: Size
2008
2062
  position: 1
2009
- created_at: '2021-08-23T21:28:24.774Z'
2010
- updated_at: '2021-08-23T21:28:24.774Z'
2063
+ created_at: '2021-08-30T22:29:09.672Z'
2064
+ updated_at: '2021-08-30T22:29:09.672Z'
2011
2065
  filterable: true
2012
2066
  relationships:
2013
2067
  option_values:
@@ -2018,8 +2072,8 @@ paths:
2018
2072
  name: foo-size-2
2019
2073
  presentation: Size
2020
2074
  position: 2
2021
- created_at: '2021-08-23T21:28:24.775Z'
2022
- updated_at: '2021-08-23T21:28:24.775Z'
2075
+ created_at: '2021-08-30T22:29:09.673Z'
2076
+ updated_at: '2021-08-30T22:29:09.673Z'
2023
2077
  filterable: true
2024
2078
  relationships:
2025
2079
  option_values:
@@ -2043,11 +2097,13 @@ paths:
2043
2097
  value:
2044
2098
  error: The access token is invalid
2045
2099
  post:
2046
- summary: Creates an OptionType
2100
+ summary: Creates an Option Type
2047
2101
  tags:
2048
- - OptionTypes
2102
+ - Option Types
2049
2103
  security:
2050
2104
  - bearer_auth: []
2105
+ description: Creates an Option Type
2106
+ operationId: create-option-type
2051
2107
  parameters:
2052
2108
  - name: include
2053
2109
  in: query
@@ -2071,8 +2127,8 @@ paths:
2071
2127
  name: foo-size-5
2072
2128
  presentation: Size
2073
2129
  position: 1
2074
- created_at: '2021-08-23T21:28:24.807Z'
2075
- updated_at: '2021-08-23T21:28:24.807Z'
2130
+ created_at: '2021-08-30T22:29:09.706Z'
2131
+ updated_at: '2021-08-30T22:29:09.706Z'
2076
2132
  filterable: true
2077
2133
  relationships:
2078
2134
  option_values:
@@ -2094,14 +2150,16 @@ paths:
2094
2150
  content:
2095
2151
  application/json:
2096
2152
  schema:
2097
- "$ref": "#/components/schemas/option_types_params"
2153
+ "$ref": "#/components/schemas/option_type_params"
2098
2154
  "/api/v2/platform/option_types/{id}":
2099
2155
  get:
2100
- summary: Returns an OptionType
2156
+ summary: Returns an Option Type
2101
2157
  tags:
2102
- - OptionTypes
2158
+ - Option Types
2103
2159
  security:
2104
2160
  - bearer_auth: []
2161
+ description: Returns an Option Type
2162
+ operationId: show-option-type
2105
2163
  parameters:
2106
2164
  - name: id
2107
2165
  in: path
@@ -2130,8 +2188,8 @@ paths:
2130
2188
  name: foo-size-6
2131
2189
  presentation: Size
2132
2190
  position: 1
2133
- created_at: '2021-08-23T21:28:24.829Z'
2134
- updated_at: '2021-08-23T21:28:24.829Z'
2191
+ created_at: '2021-08-30T22:29:09.726Z'
2192
+ updated_at: '2021-08-30T22:29:09.726Z'
2135
2193
  filterable: true
2136
2194
  relationships:
2137
2195
  option_values:
@@ -2153,11 +2211,13 @@ paths:
2153
2211
  value:
2154
2212
  error: The access token is invalid
2155
2213
  put:
2156
- summary: Updates an OptionType
2214
+ summary: Updates an Option Type
2157
2215
  tags:
2158
- - OptionTypes
2216
+ - Option Types
2159
2217
  security:
2160
2218
  - bearer_auth: []
2219
+ description: Updates an Option Type
2220
+ operationId: update-option-type
2161
2221
  parameters:
2162
2222
  - name: id
2163
2223
  in: path
@@ -2186,8 +2246,8 @@ paths:
2186
2246
  name: Size-X
2187
2247
  presentation: Size
2188
2248
  position: 1
2189
- created_at: '2021-08-23T21:28:24.867Z'
2190
- updated_at: '2021-08-23T21:28:24.871Z'
2249
+ created_at: '2021-08-30T22:29:09.758Z'
2250
+ updated_at: '2021-08-30T22:29:09.762Z'
2191
2251
  filterable: true
2192
2252
  relationships:
2193
2253
  option_values:
@@ -2223,13 +2283,15 @@ paths:
2223
2283
  content:
2224
2284
  application/json:
2225
2285
  schema:
2226
- "$ref": "#/components/schemas/option_types_params"
2286
+ "$ref": "#/components/schemas/option_type_params"
2227
2287
  delete:
2228
- summary: Deletes an OptionType
2288
+ summary: Deletes an Option Type
2229
2289
  tags:
2230
- - OptionTypes
2290
+ - Option Types
2231
2291
  security:
2232
2292
  - bearer_auth: []
2293
+ description: Deletes an Option Type
2294
+ operationId: delete-option-type
2233
2295
  parameters:
2234
2296
  - name: id
2235
2297
  in: path
@@ -2257,11 +2319,13 @@ paths:
2257
2319
  error: The access token is invalid
2258
2320
  "/api/v2/platform/option_values":
2259
2321
  get:
2260
- summary: Returns a list of OptionValues
2322
+ summary: Returns a list of Option Values
2261
2323
  tags:
2262
- - OptionValues
2324
+ - Option Values
2263
2325
  security:
2264
2326
  - bearer_auth: []
2327
+ description: Returns a list of Option Values
2328
+ operationId: option-values-list
2265
2329
  parameters:
2266
2330
  - name: page
2267
2331
  in: query
@@ -2301,8 +2365,8 @@ paths:
2301
2365
  position: 1
2302
2366
  name: Size-1
2303
2367
  presentation: S
2304
- created_at: '2021-08-23T21:28:24.950Z'
2305
- updated_at: '2021-08-23T21:28:24.950Z'
2368
+ created_at: '2021-08-30T22:29:09.842Z'
2369
+ updated_at: '2021-08-30T22:29:09.842Z'
2306
2370
  relationships:
2307
2371
  option_type:
2308
2372
  data:
@@ -2314,8 +2378,8 @@ paths:
2314
2378
  position: 1
2315
2379
  name: Size-2
2316
2380
  presentation: S
2317
- created_at: '2021-08-23T21:28:24.952Z'
2318
- updated_at: '2021-08-23T21:28:24.952Z'
2381
+ created_at: '2021-08-30T22:29:09.845Z'
2382
+ updated_at: '2021-08-30T22:29:09.845Z'
2319
2383
  relationships:
2320
2384
  option_type:
2321
2385
  data:
@@ -2340,11 +2404,13 @@ paths:
2340
2404
  value:
2341
2405
  error: The access token is invalid
2342
2406
  post:
2343
- summary: Creates an OptionValue
2407
+ summary: Creates an Option Value
2344
2408
  tags:
2345
- - OptionValues
2409
+ - Option Values
2346
2410
  security:
2347
2411
  - bearer_auth: []
2412
+ description: Creates an Option Value
2413
+ operationId: create-option-value
2348
2414
  parameters:
2349
2415
  - name: include
2350
2416
  in: query
@@ -2368,8 +2434,8 @@ paths:
2368
2434
  position: 1
2369
2435
  name: Size-5
2370
2436
  presentation: S
2371
- created_at: '2021-08-23T21:28:24.988Z'
2372
- updated_at: '2021-08-23T21:28:24.988Z'
2437
+ created_at: '2021-08-30T22:29:09.880Z'
2438
+ updated_at: '2021-08-30T22:29:09.880Z'
2373
2439
  relationships:
2374
2440
  option_type:
2375
2441
  data:
@@ -2390,14 +2456,16 @@ paths:
2390
2456
  content:
2391
2457
  application/json:
2392
2458
  schema:
2393
- "$ref": "#/components/schemas/option_values_params"
2459
+ "$ref": "#/components/schemas/option_value_params"
2394
2460
  "/api/v2/platform/option_values/{id}":
2395
2461
  get:
2396
- summary: Returns an OptionValue
2462
+ summary: Returns an Option Value
2397
2463
  tags:
2398
- - OptionValues
2464
+ - Option Values
2399
2465
  security:
2400
2466
  - bearer_auth: []
2467
+ description: Returns an Option Value
2468
+ operationId: show-option-value
2401
2469
  parameters:
2402
2470
  - name: id
2403
2471
  in: path
@@ -2426,8 +2494,8 @@ paths:
2426
2494
  position: 1
2427
2495
  name: Size-6
2428
2496
  presentation: S
2429
- created_at: '2021-08-23T21:28:25.015Z'
2430
- updated_at: '2021-08-23T21:28:25.015Z'
2497
+ created_at: '2021-08-30T22:29:09.906Z'
2498
+ updated_at: '2021-08-30T22:29:09.906Z'
2431
2499
  relationships:
2432
2500
  option_type:
2433
2501
  data:
@@ -2450,11 +2518,13 @@ paths:
2450
2518
  value:
2451
2519
  error: The access token is invalid
2452
2520
  put:
2453
- summary: Updates an OptionValue
2521
+ summary: Updates an Option Value
2454
2522
  tags:
2455
- - OptionValues
2523
+ - Option Values
2456
2524
  security:
2457
2525
  - bearer_auth: []
2526
+ description: Updates an Option Value
2527
+ operationId: update-option-value
2458
2528
  parameters:
2459
2529
  - name: id
2460
2530
  in: path
@@ -2483,8 +2553,8 @@ paths:
2483
2553
  position: 1
2484
2554
  name: M
2485
2555
  presentation: S
2486
- created_at: '2021-08-23T21:28:25.052Z'
2487
- updated_at: '2021-08-23T21:28:25.056Z'
2556
+ created_at: '2021-08-30T22:29:09.941Z'
2557
+ updated_at: '2021-08-30T22:29:09.946Z'
2488
2558
  relationships:
2489
2559
  option_type:
2490
2560
  data:
@@ -2521,13 +2591,15 @@ paths:
2521
2591
  content:
2522
2592
  application/json:
2523
2593
  schema:
2524
- "$ref": "#/components/schemas/option_values_params"
2594
+ "$ref": "#/components/schemas/option_value_params"
2525
2595
  delete:
2526
- summary: Deletes an OptionValue
2596
+ summary: Deletes an Option Value
2527
2597
  tags:
2528
- - OptionValues
2598
+ - Option Values
2529
2599
  security:
2530
2600
  - bearer_auth: []
2601
+ description: Deletes an Option Value
2602
+ operationId: delete-option-value
2531
2603
  parameters:
2532
2604
  - name: id
2533
2605
  in: path
@@ -2560,6 +2632,8 @@ paths:
2560
2632
  - Taxons
2561
2633
  security:
2562
2634
  - bearer_auth: []
2635
+ description: Returns a list of Taxons
2636
+ operationId: taxons-list
2563
2637
  parameters:
2564
2638
  - name: page
2565
2639
  in: query
@@ -2602,8 +2676,8 @@ paths:
2602
2676
  lft: 1
2603
2677
  rgt: 6
2604
2678
  description:
2605
- created_at: '2021-08-23T21:28:25.145Z'
2606
- updated_at: '2021-08-23T21:28:25.172Z'
2679
+ created_at: '2021-08-30T22:29:10.032Z'
2680
+ updated_at: '2021-08-30T22:29:10.059Z'
2607
2681
  meta_title:
2608
2682
  meta_description:
2609
2683
  meta_keywords:
@@ -2637,8 +2711,8 @@ paths:
2637
2711
  lft: 2
2638
2712
  rgt: 3
2639
2713
  description:
2640
- created_at: '2021-08-23T21:28:25.156Z'
2641
- updated_at: '2021-08-23T21:28:25.157Z'
2714
+ created_at: '2021-08-30T22:29:10.043Z'
2715
+ updated_at: '2021-08-30T22:29:10.044Z'
2642
2716
  meta_title:
2643
2717
  meta_description:
2644
2718
  meta_keywords:
@@ -2672,8 +2746,8 @@ paths:
2672
2746
  lft: 4
2673
2747
  rgt: 5
2674
2748
  description:
2675
- created_at: '2021-08-23T21:28:25.167Z'
2676
- updated_at: '2021-08-23T21:28:25.168Z'
2749
+ created_at: '2021-08-30T22:29:10.053Z'
2750
+ updated_at: '2021-08-30T22:29:10.055Z'
2677
2751
  meta_title:
2678
2752
  meta_description:
2679
2753
  meta_keywords:
@@ -2722,6 +2796,8 @@ paths:
2722
2796
  - Taxons
2723
2797
  security:
2724
2798
  - bearer_auth: []
2799
+ description: Creates a Taxon
2800
+ operationId: create-taxon
2725
2801
  parameters:
2726
2802
  - name: include
2727
2803
  in: query
@@ -2748,8 +2824,8 @@ paths:
2748
2824
  lft: 2
2749
2825
  rgt: 3
2750
2826
  description:
2751
- created_at: '2021-08-23T21:28:25.251Z'
2752
- updated_at: '2021-08-23T21:28:25.254Z'
2827
+ created_at: '2021-08-30T22:29:10.139Z'
2828
+ updated_at: '2021-08-30T22:29:10.141Z'
2753
2829
  meta_title:
2754
2830
  meta_description:
2755
2831
  meta_keywords:
@@ -2789,7 +2865,7 @@ paths:
2789
2865
  content:
2790
2866
  application/json:
2791
2867
  schema:
2792
- "$ref": "#/components/schemas/taxons_params"
2868
+ "$ref": "#/components/schemas/taxon_params"
2793
2869
  "/api/v2/platform/taxons/{id}":
2794
2870
  get:
2795
2871
  summary: Returns a Taxon
@@ -2797,6 +2873,8 @@ paths:
2797
2873
  - Taxons
2798
2874
  security:
2799
2875
  - bearer_auth: []
2876
+ description: Returns a Taxon
2877
+ operationId: show-taxon
2800
2878
  parameters:
2801
2879
  - name: id
2802
2880
  in: path
@@ -2828,8 +2906,8 @@ paths:
2828
2906
  lft: 2
2829
2907
  rgt: 3
2830
2908
  description:
2831
- created_at: '2021-08-23T21:28:25.291Z'
2832
- updated_at: '2021-08-23T21:28:25.293Z'
2909
+ created_at: '2021-08-30T22:29:10.185Z'
2910
+ updated_at: '2021-08-30T22:29:10.186Z'
2833
2911
  meta_title:
2834
2912
  meta_description:
2835
2913
  meta_keywords:
@@ -2878,6 +2956,8 @@ paths:
2878
2956
  - Taxons
2879
2957
  security:
2880
2958
  - bearer_auth: []
2959
+ description: Updates a Taxon
2960
+ operationId: update-taxon
2881
2961
  parameters:
2882
2962
  - name: id
2883
2963
  in: path
@@ -2909,8 +2989,8 @@ paths:
2909
2989
  lft: 2
2910
2990
  rgt: 3
2911
2991
  description:
2912
- created_at: '2021-08-23T21:28:25.371Z'
2913
- updated_at: '2021-08-23T21:28:25.383Z'
2992
+ created_at: '2021-08-30T22:29:10.259Z'
2993
+ updated_at: '2021-08-30T22:29:10.270Z'
2914
2994
  meta_title:
2915
2995
  meta_description:
2916
2996
  meta_keywords:
@@ -2966,13 +3046,15 @@ paths:
2966
3046
  content:
2967
3047
  application/json:
2968
3048
  schema:
2969
- "$ref": "#/components/schemas/taxons_params"
3049
+ "$ref": "#/components/schemas/taxon_params"
2970
3050
  delete:
2971
3051
  summary: Deletes a Taxon
2972
3052
  tags:
2973
3053
  - Taxons
2974
3054
  security:
2975
3055
  - bearer_auth: []
3056
+ description: Deletes a Taxon
3057
+ operationId: delete-taxon
2976
3058
  parameters:
2977
3059
  - name: id
2978
3060
  in: path
@@ -3005,6 +3087,8 @@ paths:
3005
3087
  - Users
3006
3088
  security:
3007
3089
  - bearer_auth: []
3090
+ description: Returns a list of Users
3091
+ operationId: users-list
3008
3092
  parameters:
3009
3093
  - name: page
3010
3094
  in: query
@@ -3041,9 +3125,9 @@ paths:
3041
3125
  - id: '1'
3042
3126
  type: user
3043
3127
  attributes:
3044
- email: vernetta@huels.co.uk
3045
- created_at: '2021-08-23T21:28:25.546Z'
3046
- updated_at: '2021-08-23T21:28:25.546Z'
3128
+ email: delmy@little.name
3129
+ created_at: '2021-08-30T22:29:10.502Z'
3130
+ updated_at: '2021-08-30T22:29:10.502Z'
3047
3131
  average_order_value: []
3048
3132
  lifetime_value: []
3049
3133
  store_credits: []
@@ -3055,9 +3139,9 @@ paths:
3055
3139
  - id: '2'
3056
3140
  type: user
3057
3141
  attributes:
3058
- email: pansy_hirthe@smitham.us
3059
- created_at: '2021-08-23T21:28:25.549Z'
3060
- updated_at: '2021-08-23T21:28:25.549Z'
3142
+ email: yoko_brakus@walker.com
3143
+ created_at: '2021-08-30T22:29:10.506Z'
3144
+ updated_at: '2021-08-30T22:29:10.506Z'
3061
3145
  average_order_value: []
3062
3146
  lifetime_value: []
3063
3147
  store_credits: []
@@ -3069,9 +3153,9 @@ paths:
3069
3153
  - id: '3'
3070
3154
  type: user
3071
3155
  attributes:
3072
- email: carmen.kerluke@kossschulist.com
3073
- created_at: '2021-08-23T21:28:25.550Z'
3074
- updated_at: '2021-08-23T21:28:25.550Z'
3156
+ email: florida.stoltenberg@legros.com
3157
+ created_at: '2021-08-30T22:29:10.507Z'
3158
+ updated_at: '2021-08-30T22:29:10.507Z'
3075
3159
  average_order_value: []
3076
3160
  lifetime_value: []
3077
3161
  store_credits: []
@@ -3104,6 +3188,8 @@ paths:
3104
3188
  - Users
3105
3189
  security:
3106
3190
  - bearer_auth: []
3191
+ description: Creates an User
3192
+ operationId: create-user
3107
3193
  parameters:
3108
3194
  - name: include
3109
3195
  in: query
@@ -3124,9 +3210,9 @@ paths:
3124
3210
  id: '2'
3125
3211
  type: user
3126
3212
  attributes:
3127
- email: marx_feil@borer.info
3128
- created_at: '2021-08-23T21:28:25.597Z'
3129
- updated_at: '2021-08-23T21:28:25.597Z'
3213
+ email: marcie@ondrickavandervort.com
3214
+ created_at: '2021-08-30T22:29:10.549Z'
3215
+ updated_at: '2021-08-30T22:29:10.549Z'
3130
3216
  average_order_value: []
3131
3217
  lifetime_value: []
3132
3218
  store_credits: []
@@ -3150,7 +3236,7 @@ paths:
3150
3236
  content:
3151
3237
  application/json:
3152
3238
  schema:
3153
- "$ref": "#/components/schemas/users_params"
3239
+ "$ref": "#/components/schemas/user_params"
3154
3240
  "/api/v2/platform/users/{id}":
3155
3241
  get:
3156
3242
  summary: Returns an User
@@ -3158,6 +3244,8 @@ paths:
3158
3244
  - Users
3159
3245
  security:
3160
3246
  - bearer_auth: []
3247
+ description: Returns an User
3248
+ operationId: show-user
3161
3249
  parameters:
3162
3250
  - name: id
3163
3251
  in: path
@@ -3183,9 +3271,9 @@ paths:
3183
3271
  id: '2'
3184
3272
  type: user
3185
3273
  attributes:
3186
- email: stefany@leannon.biz
3187
- created_at: '2021-08-23T21:28:25.626Z'
3188
- updated_at: '2021-08-23T21:28:25.626Z'
3274
+ email: anita@hilll.name
3275
+ created_at: '2021-08-30T22:29:10.578Z'
3276
+ updated_at: '2021-08-30T22:29:10.578Z'
3189
3277
  average_order_value: []
3190
3278
  lifetime_value: []
3191
3279
  store_credits: []
@@ -3216,6 +3304,8 @@ paths:
3216
3304
  - Users
3217
3305
  security:
3218
3306
  - bearer_auth: []
3307
+ description: Updates an User
3308
+ operationId: update-user
3219
3309
  parameters:
3220
3310
  - name: id
3221
3311
  in: path
@@ -3242,8 +3332,8 @@ paths:
3242
3332
  type: user
3243
3333
  attributes:
3244
3334
  email: john@example.com
3245
- created_at: '2021-08-23T21:28:25.669Z'
3246
- updated_at: '2021-08-23T21:28:25.673Z'
3335
+ created_at: '2021-08-30T22:29:10.622Z'
3336
+ updated_at: '2021-08-30T22:29:10.627Z'
3247
3337
  average_order_value: []
3248
3338
  lifetime_value: []
3249
3339
  store_credits: []
@@ -3283,13 +3373,15 @@ paths:
3283
3373
  content:
3284
3374
  application/json:
3285
3375
  schema:
3286
- "$ref": "#/components/schemas/users_params"
3376
+ "$ref": "#/components/schemas/user_params"
3287
3377
  delete:
3288
3378
  summary: Deletes an User
3289
3379
  tags:
3290
3380
  - Users
3291
3381
  security:
3292
3382
  - bearer_auth: []
3383
+ description: Deletes an User
3384
+ operationId: delete-user
3293
3385
  parameters:
3294
3386
  - name: id
3295
3387
  in: path
@@ -3320,6 +3412,16 @@ servers:
3320
3412
  variables:
3321
3413
  defaultHost:
3322
3414
  default: localhost:3000
3415
+ tags:
3416
+ - name: Addresses
3417
+ - name: Classifications
3418
+ - name: Countries
3419
+ - name: Menu Items
3420
+ - name: Menus
3421
+ - name: Option Types
3422
+ - name: Option Values
3423
+ - name: Taxons
3424
+ - name: Users
3323
3425
  components:
3324
3426
  securitySchemes:
3325
3427
  bearer_auth: