@searchspring/snapi-oas 0.1.32 → 0.1.34
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 +111 -1
- package/spec/v1/snapi.oas.v1.yaml +227 -1
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.34",
|
|
10
10
|
"x-logo" : {
|
|
11
11
|
"url" : "./images/searchspring_logo.svg",
|
|
12
12
|
"altText" : "Searchspring Snap"
|
|
@@ -3465,6 +3465,9 @@
|
|
|
3465
3465
|
},
|
|
3466
3466
|
"pagination" : {
|
|
3467
3467
|
"$ref" : "#/components/schemas/MetaResponseModel_pagination"
|
|
3468
|
+
},
|
|
3469
|
+
"badges" : {
|
|
3470
|
+
"$ref" : "#/components/schemas/MetaResponseModel_badges"
|
|
3468
3471
|
}
|
|
3469
3472
|
},
|
|
3470
3473
|
"type" : "object"
|
|
@@ -3573,6 +3576,44 @@
|
|
|
3573
3576
|
"$ref" : "#/components/schemas/MetaResponseModelFacetHierarchy_allOf"
|
|
3574
3577
|
} ]
|
|
3575
3578
|
},
|
|
3579
|
+
"MetaResponseModelBadgeLocation" : {
|
|
3580
|
+
"properties" : {
|
|
3581
|
+
"name" : {
|
|
3582
|
+
"type" : "string"
|
|
3583
|
+
},
|
|
3584
|
+
"label" : {
|
|
3585
|
+
"type" : "string"
|
|
3586
|
+
},
|
|
3587
|
+
"description" : {
|
|
3588
|
+
"type" : "string"
|
|
3589
|
+
}
|
|
3590
|
+
},
|
|
3591
|
+
"required" : [ "name" ],
|
|
3592
|
+
"type" : "object"
|
|
3593
|
+
},
|
|
3594
|
+
"MetaResponseModelBadgeTag" : {
|
|
3595
|
+
"properties" : {
|
|
3596
|
+
"location" : {
|
|
3597
|
+
"type" : "string"
|
|
3598
|
+
},
|
|
3599
|
+
"component" : {
|
|
3600
|
+
"type" : "string"
|
|
3601
|
+
},
|
|
3602
|
+
"priority" : {
|
|
3603
|
+
"type" : "number"
|
|
3604
|
+
},
|
|
3605
|
+
"enabled" : {
|
|
3606
|
+
"type" : "boolean"
|
|
3607
|
+
},
|
|
3608
|
+
"parameters" : {
|
|
3609
|
+
"additionalProperties" : true,
|
|
3610
|
+
"description" : "Additional badge parameters - these are template specific fields which can have various value types",
|
|
3611
|
+
"type" : "object"
|
|
3612
|
+
}
|
|
3613
|
+
},
|
|
3614
|
+
"required" : [ "component", "enabled", "location", "parameters", "priority" ],
|
|
3615
|
+
"type" : "object"
|
|
3616
|
+
},
|
|
3576
3617
|
"Meta_Request_Model" : {
|
|
3577
3618
|
"properties" : {
|
|
3578
3619
|
"siteId" : {
|
|
@@ -3669,6 +3710,7 @@
|
|
|
3669
3710
|
"SearchRequestModel_search_query" : {
|
|
3670
3711
|
"properties" : {
|
|
3671
3712
|
"string" : {
|
|
3713
|
+
"description" : "Query value will search the index for terms that match the query. Will support up to 256 characters.",
|
|
3672
3714
|
"type" : "string"
|
|
3673
3715
|
},
|
|
3674
3716
|
"spellCorrection" : {
|
|
@@ -3880,10 +3922,30 @@
|
|
|
3880
3922
|
},
|
|
3881
3923
|
"type" : "object"
|
|
3882
3924
|
},
|
|
3925
|
+
"SearchResponseModelResult_mappings_badges" : {
|
|
3926
|
+
"properties" : {
|
|
3927
|
+
"tag" : {
|
|
3928
|
+
"type" : "string"
|
|
3929
|
+
},
|
|
3930
|
+
"value" : {
|
|
3931
|
+
"type" : "string"
|
|
3932
|
+
}
|
|
3933
|
+
},
|
|
3934
|
+
"required" : [ "tag" ],
|
|
3935
|
+
"type" : "object"
|
|
3936
|
+
},
|
|
3883
3937
|
"SearchResponseModelResult_mappings" : {
|
|
3884
3938
|
"properties" : {
|
|
3885
3939
|
"core" : {
|
|
3886
3940
|
"$ref" : "#/components/schemas/SearchResponseModelResultCoreMappings"
|
|
3941
|
+
},
|
|
3942
|
+
"badges" : {
|
|
3943
|
+
"description" : "List of matching badges for the result",
|
|
3944
|
+
"items" : {
|
|
3945
|
+
"$ref" : "#/components/schemas/SearchResponseModelResult_mappings_badges"
|
|
3946
|
+
},
|
|
3947
|
+
"title" : "Result Badges Array",
|
|
3948
|
+
"type" : "array"
|
|
3887
3949
|
}
|
|
3888
3950
|
},
|
|
3889
3951
|
"type" : "object"
|
|
@@ -4053,6 +4115,54 @@
|
|
|
4053
4115
|
},
|
|
4054
4116
|
"type" : "object"
|
|
4055
4117
|
},
|
|
4118
|
+
"MetaResponseModel_badges_locations_overlay" : {
|
|
4119
|
+
"properties" : {
|
|
4120
|
+
"left" : {
|
|
4121
|
+
"items" : {
|
|
4122
|
+
"$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
|
|
4123
|
+
},
|
|
4124
|
+
"type" : "array"
|
|
4125
|
+
},
|
|
4126
|
+
"right" : {
|
|
4127
|
+
"items" : {
|
|
4128
|
+
"$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
|
|
4129
|
+
},
|
|
4130
|
+
"type" : "array"
|
|
4131
|
+
}
|
|
4132
|
+
},
|
|
4133
|
+
"required" : [ "left", "right" ],
|
|
4134
|
+
"type" : "object"
|
|
4135
|
+
},
|
|
4136
|
+
"MetaResponseModel_badges_locations" : {
|
|
4137
|
+
"properties" : {
|
|
4138
|
+
"overlay" : {
|
|
4139
|
+
"$ref" : "#/components/schemas/MetaResponseModel_badges_locations_overlay"
|
|
4140
|
+
},
|
|
4141
|
+
"callouts" : {
|
|
4142
|
+
"items" : {
|
|
4143
|
+
"$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
|
|
4144
|
+
},
|
|
4145
|
+
"type" : "array"
|
|
4146
|
+
}
|
|
4147
|
+
},
|
|
4148
|
+
"required" : [ "callouts", "overlay" ],
|
|
4149
|
+
"type" : "object"
|
|
4150
|
+
},
|
|
4151
|
+
"MetaResponseModel_badges" : {
|
|
4152
|
+
"properties" : {
|
|
4153
|
+
"locations" : {
|
|
4154
|
+
"$ref" : "#/components/schemas/MetaResponseModel_badges_locations"
|
|
4155
|
+
},
|
|
4156
|
+
"tags" : {
|
|
4157
|
+
"additionalProperties" : {
|
|
4158
|
+
"$ref" : "#/components/schemas/MetaResponseModelBadgeTag"
|
|
4159
|
+
},
|
|
4160
|
+
"type" : "object"
|
|
4161
|
+
}
|
|
4162
|
+
},
|
|
4163
|
+
"required" : [ "locations", "tags" ],
|
|
4164
|
+
"type" : "object"
|
|
4165
|
+
},
|
|
4056
4166
|
"MetaResponseModelFacetSlider_allOf" : {
|
|
4057
4167
|
"properties" : {
|
|
4058
4168
|
"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.34
|
|
8
8
|
x-logo:
|
|
9
9
|
url: ./images/searchspring_logo.svg
|
|
10
10
|
altText: Searchspring Snap
|
|
@@ -2863,6 +2863,11 @@ components:
|
|
|
2863
2863
|
type: value
|
|
2864
2864
|
results:
|
|
2865
2865
|
- mappings:
|
|
2866
|
+
badges:
|
|
2867
|
+
- tag: tag
|
|
2868
|
+
value: value
|
|
2869
|
+
- tag: tag
|
|
2870
|
+
value: value
|
|
2866
2871
|
core:
|
|
2867
2872
|
addToCartUrl: addToCartUrl
|
|
2868
2873
|
rating: 7.061401241503109
|
|
@@ -2888,6 +2893,11 @@ components:
|
|
|
2888
2893
|
key: '{}'
|
|
2889
2894
|
id: id
|
|
2890
2895
|
- mappings:
|
|
2896
|
+
badges:
|
|
2897
|
+
- tag: tag
|
|
2898
|
+
value: value
|
|
2899
|
+
- tag: tag
|
|
2900
|
+
value: value
|
|
2891
2901
|
core:
|
|
2892
2902
|
addToCartUrl: addToCartUrl
|
|
2893
2903
|
rating: 7.061401241503109
|
|
@@ -3010,6 +3020,11 @@ components:
|
|
|
3010
3020
|
SearchResponseModelResult:
|
|
3011
3021
|
example:
|
|
3012
3022
|
mappings:
|
|
3023
|
+
badges:
|
|
3024
|
+
- tag: tag
|
|
3025
|
+
value: value
|
|
3026
|
+
- tag: tag
|
|
3027
|
+
value: value
|
|
3013
3028
|
core:
|
|
3014
3029
|
addToCartUrl: addToCartUrl
|
|
3015
3030
|
rating: 7.061401241503109
|
|
@@ -3203,6 +3218,38 @@ components:
|
|
|
3203
3218
|
type: object
|
|
3204
3219
|
MetaResponseModel:
|
|
3205
3220
|
example:
|
|
3221
|
+
badges:
|
|
3222
|
+
locations:
|
|
3223
|
+
callouts:
|
|
3224
|
+
- name: name
|
|
3225
|
+
description: description
|
|
3226
|
+
label: label
|
|
3227
|
+
- name: name
|
|
3228
|
+
description: description
|
|
3229
|
+
label: label
|
|
3230
|
+
overlay:
|
|
3231
|
+
left:
|
|
3232
|
+
- name: name
|
|
3233
|
+
description: description
|
|
3234
|
+
label: label
|
|
3235
|
+
- name: name
|
|
3236
|
+
description: description
|
|
3237
|
+
label: label
|
|
3238
|
+
right:
|
|
3239
|
+
- name: name
|
|
3240
|
+
description: description
|
|
3241
|
+
label: label
|
|
3242
|
+
- name: name
|
|
3243
|
+
description: description
|
|
3244
|
+
label: label
|
|
3245
|
+
tags:
|
|
3246
|
+
key:
|
|
3247
|
+
component: component
|
|
3248
|
+
location: location
|
|
3249
|
+
priority: 6.027456183070403
|
|
3250
|
+
parameters:
|
|
3251
|
+
key: '{}'
|
|
3252
|
+
enabled: true
|
|
3206
3253
|
pagination:
|
|
3207
3254
|
defaultPageSize: 0.8008281904610115
|
|
3208
3255
|
sortOptions:
|
|
@@ -3228,6 +3275,8 @@ components:
|
|
|
3228
3275
|
type: object
|
|
3229
3276
|
pagination:
|
|
3230
3277
|
$ref: '#/components/schemas/MetaResponseModel_pagination'
|
|
3278
|
+
badges:
|
|
3279
|
+
$ref: '#/components/schemas/MetaResponseModel_badges'
|
|
3231
3280
|
type: object
|
|
3232
3281
|
MetaResponseModelSortOption:
|
|
3233
3282
|
example:
|
|
@@ -3308,6 +3357,50 @@ components:
|
|
|
3308
3357
|
- $ref: '#/components/schemas/MetaResponseModelFacetDefaults'
|
|
3309
3358
|
- $ref: '#/components/schemas/MetaResponseModelFacetValue'
|
|
3310
3359
|
- $ref: '#/components/schemas/MetaResponseModelFacetHierarchy_allOf'
|
|
3360
|
+
MetaResponseModelBadgeLocation:
|
|
3361
|
+
example:
|
|
3362
|
+
name: name
|
|
3363
|
+
description: description
|
|
3364
|
+
label: label
|
|
3365
|
+
properties:
|
|
3366
|
+
name:
|
|
3367
|
+
type: string
|
|
3368
|
+
label:
|
|
3369
|
+
type: string
|
|
3370
|
+
description:
|
|
3371
|
+
type: string
|
|
3372
|
+
required:
|
|
3373
|
+
- name
|
|
3374
|
+
type: object
|
|
3375
|
+
MetaResponseModelBadgeTag:
|
|
3376
|
+
example:
|
|
3377
|
+
component: component
|
|
3378
|
+
location: location
|
|
3379
|
+
priority: 6.027456183070403
|
|
3380
|
+
parameters:
|
|
3381
|
+
key: '{}'
|
|
3382
|
+
enabled: true
|
|
3383
|
+
properties:
|
|
3384
|
+
location:
|
|
3385
|
+
type: string
|
|
3386
|
+
component:
|
|
3387
|
+
type: string
|
|
3388
|
+
priority:
|
|
3389
|
+
type: number
|
|
3390
|
+
enabled:
|
|
3391
|
+
type: boolean
|
|
3392
|
+
parameters:
|
|
3393
|
+
additionalProperties: true
|
|
3394
|
+
description: Additional badge parameters - these are template specific fields
|
|
3395
|
+
which can have various value types
|
|
3396
|
+
type: object
|
|
3397
|
+
required:
|
|
3398
|
+
- component
|
|
3399
|
+
- enabled
|
|
3400
|
+
- location
|
|
3401
|
+
- parameters
|
|
3402
|
+
- priority
|
|
3403
|
+
type: object
|
|
3311
3404
|
Meta_Request_Model:
|
|
3312
3405
|
properties:
|
|
3313
3406
|
siteId:
|
|
@@ -3382,6 +3475,8 @@ components:
|
|
|
3382
3475
|
spellCorrection: true
|
|
3383
3476
|
properties:
|
|
3384
3477
|
string:
|
|
3478
|
+
description: Query value will search the index for terms that match the
|
|
3479
|
+
query. Will support up to 256 characters.
|
|
3385
3480
|
type: string
|
|
3386
3481
|
spellCorrection:
|
|
3387
3482
|
type: boolean
|
|
@@ -3584,8 +3679,25 @@ components:
|
|
|
3584
3679
|
- desc
|
|
3585
3680
|
type: string
|
|
3586
3681
|
type: object
|
|
3682
|
+
SearchResponseModelResult_mappings_badges:
|
|
3683
|
+
example:
|
|
3684
|
+
tag: tag
|
|
3685
|
+
value: value
|
|
3686
|
+
properties:
|
|
3687
|
+
tag:
|
|
3688
|
+
type: string
|
|
3689
|
+
value:
|
|
3690
|
+
type: string
|
|
3691
|
+
required:
|
|
3692
|
+
- tag
|
|
3693
|
+
type: object
|
|
3587
3694
|
SearchResponseModelResult_mappings:
|
|
3588
3695
|
example:
|
|
3696
|
+
badges:
|
|
3697
|
+
- tag: tag
|
|
3698
|
+
value: value
|
|
3699
|
+
- tag: tag
|
|
3700
|
+
value: value
|
|
3589
3701
|
core:
|
|
3590
3702
|
addToCartUrl: addToCartUrl
|
|
3591
3703
|
rating: 7.061401241503109
|
|
@@ -3605,6 +3717,12 @@ components:
|
|
|
3605
3717
|
properties:
|
|
3606
3718
|
core:
|
|
3607
3719
|
$ref: '#/components/schemas/SearchResponseModelResultCoreMappings'
|
|
3720
|
+
badges:
|
|
3721
|
+
description: List of matching badges for the result
|
|
3722
|
+
items:
|
|
3723
|
+
$ref: '#/components/schemas/SearchResponseModelResult_mappings_badges'
|
|
3724
|
+
title: Result Badges Array
|
|
3725
|
+
type: array
|
|
3608
3726
|
type: object
|
|
3609
3727
|
SearchResponseModelResult_children:
|
|
3610
3728
|
example:
|
|
@@ -3757,6 +3875,114 @@ components:
|
|
|
3757
3875
|
defaultPageSize:
|
|
3758
3876
|
type: number
|
|
3759
3877
|
type: object
|
|
3878
|
+
MetaResponseModel_badges_locations_overlay:
|
|
3879
|
+
example:
|
|
3880
|
+
left:
|
|
3881
|
+
- name: name
|
|
3882
|
+
description: description
|
|
3883
|
+
label: label
|
|
3884
|
+
- name: name
|
|
3885
|
+
description: description
|
|
3886
|
+
label: label
|
|
3887
|
+
right:
|
|
3888
|
+
- name: name
|
|
3889
|
+
description: description
|
|
3890
|
+
label: label
|
|
3891
|
+
- name: name
|
|
3892
|
+
description: description
|
|
3893
|
+
label: label
|
|
3894
|
+
properties:
|
|
3895
|
+
left:
|
|
3896
|
+
items:
|
|
3897
|
+
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3898
|
+
type: array
|
|
3899
|
+
right:
|
|
3900
|
+
items:
|
|
3901
|
+
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3902
|
+
type: array
|
|
3903
|
+
required:
|
|
3904
|
+
- left
|
|
3905
|
+
- right
|
|
3906
|
+
type: object
|
|
3907
|
+
MetaResponseModel_badges_locations:
|
|
3908
|
+
example:
|
|
3909
|
+
callouts:
|
|
3910
|
+
- name: name
|
|
3911
|
+
description: description
|
|
3912
|
+
label: label
|
|
3913
|
+
- name: name
|
|
3914
|
+
description: description
|
|
3915
|
+
label: label
|
|
3916
|
+
overlay:
|
|
3917
|
+
left:
|
|
3918
|
+
- name: name
|
|
3919
|
+
description: description
|
|
3920
|
+
label: label
|
|
3921
|
+
- name: name
|
|
3922
|
+
description: description
|
|
3923
|
+
label: label
|
|
3924
|
+
right:
|
|
3925
|
+
- name: name
|
|
3926
|
+
description: description
|
|
3927
|
+
label: label
|
|
3928
|
+
- name: name
|
|
3929
|
+
description: description
|
|
3930
|
+
label: label
|
|
3931
|
+
properties:
|
|
3932
|
+
overlay:
|
|
3933
|
+
$ref: '#/components/schemas/MetaResponseModel_badges_locations_overlay'
|
|
3934
|
+
callouts:
|
|
3935
|
+
items:
|
|
3936
|
+
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3937
|
+
type: array
|
|
3938
|
+
required:
|
|
3939
|
+
- callouts
|
|
3940
|
+
- overlay
|
|
3941
|
+
type: object
|
|
3942
|
+
MetaResponseModel_badges:
|
|
3943
|
+
example:
|
|
3944
|
+
locations:
|
|
3945
|
+
callouts:
|
|
3946
|
+
- name: name
|
|
3947
|
+
description: description
|
|
3948
|
+
label: label
|
|
3949
|
+
- name: name
|
|
3950
|
+
description: description
|
|
3951
|
+
label: label
|
|
3952
|
+
overlay:
|
|
3953
|
+
left:
|
|
3954
|
+
- name: name
|
|
3955
|
+
description: description
|
|
3956
|
+
label: label
|
|
3957
|
+
- name: name
|
|
3958
|
+
description: description
|
|
3959
|
+
label: label
|
|
3960
|
+
right:
|
|
3961
|
+
- name: name
|
|
3962
|
+
description: description
|
|
3963
|
+
label: label
|
|
3964
|
+
- name: name
|
|
3965
|
+
description: description
|
|
3966
|
+
label: label
|
|
3967
|
+
tags:
|
|
3968
|
+
key:
|
|
3969
|
+
component: component
|
|
3970
|
+
location: location
|
|
3971
|
+
priority: 6.027456183070403
|
|
3972
|
+
parameters:
|
|
3973
|
+
key: '{}'
|
|
3974
|
+
enabled: true
|
|
3975
|
+
properties:
|
|
3976
|
+
locations:
|
|
3977
|
+
$ref: '#/components/schemas/MetaResponseModel_badges_locations'
|
|
3978
|
+
tags:
|
|
3979
|
+
additionalProperties:
|
|
3980
|
+
$ref: '#/components/schemas/MetaResponseModelBadgeTag'
|
|
3981
|
+
type: object
|
|
3982
|
+
required:
|
|
3983
|
+
- locations
|
|
3984
|
+
- tags
|
|
3985
|
+
type: object
|
|
3760
3986
|
MetaResponseModelFacetSlider_allOf:
|
|
3761
3987
|
properties:
|
|
3762
3988
|
formatSeparator:
|