@searchspring/snapi-oas 0.1.27 → 0.1.30
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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/spec/v1/snapi.oas.v1.json +23 -4
- package/spec/v1/snapi.oas.v1.yaml +57 -36
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"description" : "Searchspring Snap Search API",
|
|
8
8
|
"title" : "snAPI",
|
|
9
|
-
"version" : "0.1.
|
|
9
|
+
"version" : "0.1.30",
|
|
10
10
|
"x-logo" : {
|
|
11
11
|
"url" : "./images/searchspring_logo.svg",
|
|
12
12
|
"altText" : "Searchspring Snap"
|
|
@@ -3459,6 +3459,9 @@
|
|
|
3459
3459
|
"$ref" : "#/components/schemas/MetaResponseModelFacet"
|
|
3460
3460
|
},
|
|
3461
3461
|
"type" : "object"
|
|
3462
|
+
},
|
|
3463
|
+
"pagination" : {
|
|
3464
|
+
"$ref" : "#/components/schemas/MetaResponseModel_pagination"
|
|
3462
3465
|
}
|
|
3463
3466
|
},
|
|
3464
3467
|
"type" : "object"
|
|
@@ -3744,6 +3747,9 @@
|
|
|
3744
3747
|
},
|
|
3745
3748
|
"intellisuggest" : {
|
|
3746
3749
|
"type" : "boolean"
|
|
3750
|
+
},
|
|
3751
|
+
"disableInlineBanners" : {
|
|
3752
|
+
"type" : "boolean"
|
|
3747
3753
|
}
|
|
3748
3754
|
},
|
|
3749
3755
|
"type" : "object"
|
|
@@ -3757,6 +3763,14 @@
|
|
|
3757
3763
|
"domain" : {
|
|
3758
3764
|
"description" : "current website url",
|
|
3759
3765
|
"type" : "string"
|
|
3766
|
+
},
|
|
3767
|
+
"sessionId" : {
|
|
3768
|
+
"description" : "current session id",
|
|
3769
|
+
"type" : "string"
|
|
3770
|
+
},
|
|
3771
|
+
"pageLoadId" : {
|
|
3772
|
+
"description" : "randomly generated page id",
|
|
3773
|
+
"type" : "string"
|
|
3760
3774
|
}
|
|
3761
3775
|
},
|
|
3762
3776
|
"type" : "object"
|
|
@@ -3838,9 +3852,6 @@
|
|
|
3838
3852
|
"page" : {
|
|
3839
3853
|
"type" : "integer"
|
|
3840
3854
|
},
|
|
3841
|
-
"defaultPageSize" : {
|
|
3842
|
-
"type" : "integer"
|
|
3843
|
-
},
|
|
3844
3855
|
"pageSize" : {
|
|
3845
3856
|
"type" : "integer"
|
|
3846
3857
|
},
|
|
@@ -4027,6 +4038,14 @@
|
|
|
4027
4038
|
},
|
|
4028
4039
|
"type" : "object"
|
|
4029
4040
|
},
|
|
4041
|
+
"MetaResponseModel_pagination" : {
|
|
4042
|
+
"properties" : {
|
|
4043
|
+
"defaultPageSize" : {
|
|
4044
|
+
"type" : "number"
|
|
4045
|
+
}
|
|
4046
|
+
},
|
|
4047
|
+
"type" : "object"
|
|
4048
|
+
},
|
|
4030
4049
|
"MetaResponseModelFacetSlider_allOf" : {
|
|
4031
4050
|
"properties" : {
|
|
4032
4051
|
"formatSeparator" : {
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
name: Searchspring
|
|
5
5
|
description: Searchspring Snap Search API
|
|
6
6
|
title: snAPI
|
|
7
|
-
version: 0.1.
|
|
7
|
+
version: 0.1.30
|
|
8
8
|
x-logo:
|
|
9
9
|
url: ./images/searchspring_logo.svg
|
|
10
10
|
altText: Searchspring Snap
|
|
@@ -2758,6 +2758,7 @@ components:
|
|
|
2758
2758
|
direction: asc
|
|
2759
2759
|
merchandising:
|
|
2760
2760
|
intellisuggest: true
|
|
2761
|
+
disableInlineBanners: true
|
|
2761
2762
|
landingPage: landingPage
|
|
2762
2763
|
disabled: true
|
|
2763
2764
|
segments:
|
|
@@ -2765,6 +2766,8 @@ components:
|
|
|
2765
2766
|
- segments
|
|
2766
2767
|
tracking:
|
|
2767
2768
|
domain: domain
|
|
2769
|
+
pageLoadId: pageLoadId
|
|
2770
|
+
sessionId: sessionId
|
|
2768
2771
|
userId: userId
|
|
2769
2772
|
facets:
|
|
2770
2773
|
autoDrillDown: true
|
|
@@ -2842,9 +2845,8 @@ components:
|
|
|
2842
2845
|
originalQuery: originalQuery
|
|
2843
2846
|
pagination:
|
|
2844
2847
|
totalResults: 0
|
|
2845
|
-
defaultPageSize: 1
|
|
2846
2848
|
totalPages: 5
|
|
2847
|
-
pageSize:
|
|
2849
|
+
pageSize: 1
|
|
2848
2850
|
page: 6
|
|
2849
2851
|
sorting:
|
|
2850
2852
|
- field: field
|
|
@@ -2862,17 +2864,17 @@ components:
|
|
|
2862
2864
|
- mappings:
|
|
2863
2865
|
core:
|
|
2864
2866
|
addToCartUrl: addToCartUrl
|
|
2865
|
-
rating:
|
|
2867
|
+
rating: 7.061401241503109
|
|
2866
2868
|
description: description
|
|
2867
2869
|
ratingCount: ratingCount
|
|
2868
2870
|
url: url
|
|
2869
2871
|
stockMessage: stockMessage
|
|
2870
2872
|
uid: uid
|
|
2871
2873
|
thumbnailImageUrl: thumbnailImageUrl
|
|
2872
|
-
price:
|
|
2873
|
-
msrp:
|
|
2874
|
+
price: 5.637376656633329
|
|
2875
|
+
msrp: 2.3021358869347655
|
|
2874
2876
|
imageUrl: imageUrl
|
|
2875
|
-
popularity:
|
|
2877
|
+
popularity: 9.301444243932576
|
|
2876
2878
|
name: name
|
|
2877
2879
|
sku: sku
|
|
2878
2880
|
brand: brand
|
|
@@ -2887,17 +2889,17 @@ components:
|
|
|
2887
2889
|
- mappings:
|
|
2888
2890
|
core:
|
|
2889
2891
|
addToCartUrl: addToCartUrl
|
|
2890
|
-
rating:
|
|
2892
|
+
rating: 7.061401241503109
|
|
2891
2893
|
description: description
|
|
2892
2894
|
ratingCount: ratingCount
|
|
2893
2895
|
url: url
|
|
2894
2896
|
stockMessage: stockMessage
|
|
2895
2897
|
uid: uid
|
|
2896
2898
|
thumbnailImageUrl: thumbnailImageUrl
|
|
2897
|
-
price:
|
|
2898
|
-
msrp:
|
|
2899
|
+
price: 5.637376656633329
|
|
2900
|
+
msrp: 2.3021358869347655
|
|
2899
2901
|
imageUrl: imageUrl
|
|
2900
|
-
popularity:
|
|
2902
|
+
popularity: 9.301444243932576
|
|
2901
2903
|
name: name
|
|
2902
2904
|
sku: sku
|
|
2903
2905
|
brand: brand
|
|
@@ -2922,11 +2924,11 @@ components:
|
|
|
2922
2924
|
inline:
|
|
2923
2925
|
- config:
|
|
2924
2926
|
position:
|
|
2925
|
-
index:
|
|
2927
|
+
index: 3.616076749251911
|
|
2926
2928
|
value: value
|
|
2927
2929
|
- config:
|
|
2928
2930
|
position:
|
|
2929
|
-
index:
|
|
2931
|
+
index: 3.616076749251911
|
|
2930
2932
|
value: value
|
|
2931
2933
|
footer:
|
|
2932
2934
|
- footer
|
|
@@ -3008,17 +3010,17 @@ components:
|
|
|
3008
3010
|
mappings:
|
|
3009
3011
|
core:
|
|
3010
3012
|
addToCartUrl: addToCartUrl
|
|
3011
|
-
rating:
|
|
3013
|
+
rating: 7.061401241503109
|
|
3012
3014
|
description: description
|
|
3013
3015
|
ratingCount: ratingCount
|
|
3014
3016
|
url: url
|
|
3015
3017
|
stockMessage: stockMessage
|
|
3016
3018
|
uid: uid
|
|
3017
3019
|
thumbnailImageUrl: thumbnailImageUrl
|
|
3018
|
-
price:
|
|
3019
|
-
msrp:
|
|
3020
|
+
price: 5.637376656633329
|
|
3021
|
+
msrp: 2.3021358869347655
|
|
3020
3022
|
imageUrl: imageUrl
|
|
3021
|
-
popularity:
|
|
3023
|
+
popularity: 9.301444243932576
|
|
3022
3024
|
name: name
|
|
3023
3025
|
sku: sku
|
|
3024
3026
|
brand: brand
|
|
@@ -3051,17 +3053,17 @@ components:
|
|
|
3051
3053
|
description: Mapping of core fields for the result object
|
|
3052
3054
|
example:
|
|
3053
3055
|
addToCartUrl: addToCartUrl
|
|
3054
|
-
rating:
|
|
3056
|
+
rating: 7.061401241503109
|
|
3055
3057
|
description: description
|
|
3056
3058
|
ratingCount: ratingCount
|
|
3057
3059
|
url: url
|
|
3058
3060
|
stockMessage: stockMessage
|
|
3059
3061
|
uid: uid
|
|
3060
3062
|
thumbnailImageUrl: thumbnailImageUrl
|
|
3061
|
-
price:
|
|
3062
|
-
msrp:
|
|
3063
|
+
price: 5.637376656633329
|
|
3064
|
+
msrp: 2.3021358869347655
|
|
3063
3065
|
imageUrl: imageUrl
|
|
3064
|
-
popularity:
|
|
3066
|
+
popularity: 9.301444243932576
|
|
3065
3067
|
name: name
|
|
3066
3068
|
sku: sku
|
|
3067
3069
|
brand: brand
|
|
@@ -3166,11 +3168,11 @@ components:
|
|
|
3166
3168
|
inline:
|
|
3167
3169
|
- config:
|
|
3168
3170
|
position:
|
|
3169
|
-
index:
|
|
3171
|
+
index: 3.616076749251911
|
|
3170
3172
|
value: value
|
|
3171
3173
|
- config:
|
|
3172
3174
|
position:
|
|
3173
|
-
index:
|
|
3175
|
+
index: 3.616076749251911
|
|
3174
3176
|
value: value
|
|
3175
3177
|
footer:
|
|
3176
3178
|
- footer
|
|
@@ -3196,6 +3198,8 @@ components:
|
|
|
3196
3198
|
type: object
|
|
3197
3199
|
MetaResponseModel:
|
|
3198
3200
|
example:
|
|
3201
|
+
pagination:
|
|
3202
|
+
defaultPageSize: 0.8008281904610115
|
|
3199
3203
|
sortOptions:
|
|
3200
3204
|
- field: field
|
|
3201
3205
|
label: label
|
|
@@ -3217,6 +3221,8 @@ components:
|
|
|
3217
3221
|
additionalProperties:
|
|
3218
3222
|
$ref: '#/components/schemas/MetaResponseModelFacet'
|
|
3219
3223
|
type: object
|
|
3224
|
+
pagination:
|
|
3225
|
+
$ref: '#/components/schemas/MetaResponseModel_pagination'
|
|
3220
3226
|
type: object
|
|
3221
3227
|
MetaResponseModelSortOption:
|
|
3222
3228
|
example:
|
|
@@ -3439,6 +3445,7 @@ components:
|
|
|
3439
3445
|
SearchRequestModel_merchandising:
|
|
3440
3446
|
example:
|
|
3441
3447
|
intellisuggest: true
|
|
3448
|
+
disableInlineBanners: true
|
|
3442
3449
|
landingPage: landingPage
|
|
3443
3450
|
disabled: true
|
|
3444
3451
|
segments:
|
|
@@ -3455,10 +3462,14 @@ components:
|
|
|
3455
3462
|
type: string
|
|
3456
3463
|
intellisuggest:
|
|
3457
3464
|
type: boolean
|
|
3465
|
+
disableInlineBanners:
|
|
3466
|
+
type: boolean
|
|
3458
3467
|
type: object
|
|
3459
3468
|
SearchRequestModel_tracking:
|
|
3460
3469
|
example:
|
|
3461
3470
|
domain: domain
|
|
3471
|
+
pageLoadId: pageLoadId
|
|
3472
|
+
sessionId: sessionId
|
|
3462
3473
|
userId: userId
|
|
3463
3474
|
properties:
|
|
3464
3475
|
userId:
|
|
@@ -3467,6 +3478,12 @@ components:
|
|
|
3467
3478
|
domain:
|
|
3468
3479
|
description: current website url
|
|
3469
3480
|
type: string
|
|
3481
|
+
sessionId:
|
|
3482
|
+
description: current session id
|
|
3483
|
+
type: string
|
|
3484
|
+
pageLoadId:
|
|
3485
|
+
description: randomly generated page id
|
|
3486
|
+
type: string
|
|
3470
3487
|
type: object
|
|
3471
3488
|
SearchRequestModel_personalization:
|
|
3472
3489
|
example:
|
|
@@ -3531,17 +3548,14 @@ components:
|
|
|
3531
3548
|
SearchResponseModel_pagination:
|
|
3532
3549
|
example:
|
|
3533
3550
|
totalResults: 0
|
|
3534
|
-
defaultPageSize: 1
|
|
3535
3551
|
totalPages: 5
|
|
3536
|
-
pageSize:
|
|
3552
|
+
pageSize: 1
|
|
3537
3553
|
page: 6
|
|
3538
3554
|
properties:
|
|
3539
3555
|
totalResults:
|
|
3540
3556
|
type: integer
|
|
3541
3557
|
page:
|
|
3542
3558
|
type: integer
|
|
3543
|
-
defaultPageSize:
|
|
3544
|
-
type: integer
|
|
3545
3559
|
pageSize:
|
|
3546
3560
|
type: integer
|
|
3547
3561
|
totalPages:
|
|
@@ -3564,17 +3578,17 @@ components:
|
|
|
3564
3578
|
example:
|
|
3565
3579
|
core:
|
|
3566
3580
|
addToCartUrl: addToCartUrl
|
|
3567
|
-
rating:
|
|
3581
|
+
rating: 7.061401241503109
|
|
3568
3582
|
description: description
|
|
3569
3583
|
ratingCount: ratingCount
|
|
3570
3584
|
url: url
|
|
3571
3585
|
stockMessage: stockMessage
|
|
3572
3586
|
uid: uid
|
|
3573
3587
|
thumbnailImageUrl: thumbnailImageUrl
|
|
3574
|
-
price:
|
|
3575
|
-
msrp:
|
|
3588
|
+
price: 5.637376656633329
|
|
3589
|
+
msrp: 2.3021358869347655
|
|
3576
3590
|
imageUrl: imageUrl
|
|
3577
|
-
popularity:
|
|
3591
|
+
popularity: 9.301444243932576
|
|
3578
3592
|
name: name
|
|
3579
3593
|
sku: sku
|
|
3580
3594
|
brand: brand
|
|
@@ -3656,7 +3670,7 @@ components:
|
|
|
3656
3670
|
type: object
|
|
3657
3671
|
SearchResponseModelMerchandising_content_config_position:
|
|
3658
3672
|
example:
|
|
3659
|
-
index:
|
|
3673
|
+
index: 3.616076749251911
|
|
3660
3674
|
properties:
|
|
3661
3675
|
index:
|
|
3662
3676
|
type: number
|
|
@@ -3664,7 +3678,7 @@ components:
|
|
|
3664
3678
|
SearchResponseModelMerchandising_content_config:
|
|
3665
3679
|
example:
|
|
3666
3680
|
position:
|
|
3667
|
-
index:
|
|
3681
|
+
index: 3.616076749251911
|
|
3668
3682
|
properties:
|
|
3669
3683
|
position:
|
|
3670
3684
|
$ref: '#/components/schemas/SearchResponseModelMerchandising_content_config_position'
|
|
@@ -3673,7 +3687,7 @@ components:
|
|
|
3673
3687
|
example:
|
|
3674
3688
|
config:
|
|
3675
3689
|
position:
|
|
3676
|
-
index:
|
|
3690
|
+
index: 3.616076749251911
|
|
3677
3691
|
value: value
|
|
3678
3692
|
properties:
|
|
3679
3693
|
config:
|
|
@@ -3686,11 +3700,11 @@ components:
|
|
|
3686
3700
|
inline:
|
|
3687
3701
|
- config:
|
|
3688
3702
|
position:
|
|
3689
|
-
index:
|
|
3703
|
+
index: 3.616076749251911
|
|
3690
3704
|
value: value
|
|
3691
3705
|
- config:
|
|
3692
3706
|
position:
|
|
3693
|
-
index:
|
|
3707
|
+
index: 3.616076749251911
|
|
3694
3708
|
value: value
|
|
3695
3709
|
footer:
|
|
3696
3710
|
- footer
|
|
@@ -3726,6 +3740,13 @@ components:
|
|
|
3726
3740
|
$ref: '#/components/schemas/SearchResponseModelMerchandising_content_inline'
|
|
3727
3741
|
type: array
|
|
3728
3742
|
type: object
|
|
3743
|
+
MetaResponseModel_pagination:
|
|
3744
|
+
example:
|
|
3745
|
+
defaultPageSize: 0.8008281904610115
|
|
3746
|
+
properties:
|
|
3747
|
+
defaultPageSize:
|
|
3748
|
+
type: number
|
|
3749
|
+
type: object
|
|
3729
3750
|
MetaResponseModelFacetSlider_allOf:
|
|
3730
3751
|
properties:
|
|
3731
3752
|
formatSeparator:
|