@searchspring/snapi-oas 0.1.43 → 0.1.45
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 +28 -2
- package/spec/v1/snapi.oas.v1.yaml +30 -3
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.45",
|
|
10
10
|
"x-logo" : {
|
|
11
11
|
"url" : "./images/searchspring_logo.svg",
|
|
12
12
|
"altText" : "Searchspring Snap"
|
|
@@ -547,6 +547,9 @@
|
|
|
547
547
|
"merchandising" : {
|
|
548
548
|
"redirect" : "",
|
|
549
549
|
"content" : { }
|
|
550
|
+
},
|
|
551
|
+
"tracking" : {
|
|
552
|
+
"responseId" : "248176b4-7929-4c32-a8cf-484073befe28"
|
|
550
553
|
}
|
|
551
554
|
}
|
|
552
555
|
},
|
|
@@ -884,6 +887,9 @@
|
|
|
884
887
|
"merchandising" : {
|
|
885
888
|
"redirect" : "",
|
|
886
889
|
"content" : { }
|
|
890
|
+
},
|
|
891
|
+
"tracking" : {
|
|
892
|
+
"responseId" : "248176b4-7929-4c32-a8cf-484073befe28"
|
|
887
893
|
}
|
|
888
894
|
}
|
|
889
895
|
},
|
|
@@ -1876,6 +1882,9 @@
|
|
|
1876
1882
|
"merchandising" : {
|
|
1877
1883
|
"redirect" : "",
|
|
1878
1884
|
"content" : { }
|
|
1885
|
+
},
|
|
1886
|
+
"tracking" : {
|
|
1887
|
+
"responseId" : "aa6967b1-9685-4eb8-94ff-27d139dcfb89"
|
|
1879
1888
|
}
|
|
1880
1889
|
}
|
|
1881
1890
|
},
|
|
@@ -2992,6 +3001,9 @@
|
|
|
2992
3001
|
"merchandising" : {
|
|
2993
3002
|
"redirect" : "",
|
|
2994
3003
|
"content" : { }
|
|
3004
|
+
},
|
|
3005
|
+
"tracking" : {
|
|
3006
|
+
"responseId" : "aa6967b1-9685-4eb8-94ff-27d139dcfb89"
|
|
2995
3007
|
}
|
|
2996
3008
|
}
|
|
2997
3009
|
},
|
|
@@ -3288,8 +3300,12 @@
|
|
|
3288
3300
|
},
|
|
3289
3301
|
"merchandising" : {
|
|
3290
3302
|
"$ref" : "#/components/schemas/SearchResponseModelMerchandising"
|
|
3303
|
+
},
|
|
3304
|
+
"tracking" : {
|
|
3305
|
+
"$ref" : "#/components/schemas/SearchResponseModelTracking"
|
|
3291
3306
|
}
|
|
3292
3307
|
},
|
|
3308
|
+
"required" : [ "tracking" ],
|
|
3293
3309
|
"title" : "Search Response Data Model",
|
|
3294
3310
|
"type" : "object"
|
|
3295
3311
|
},
|
|
@@ -3502,6 +3518,15 @@
|
|
|
3502
3518
|
},
|
|
3503
3519
|
"type" : "object"
|
|
3504
3520
|
},
|
|
3521
|
+
"SearchResponseModelTracking" : {
|
|
3522
|
+
"properties" : {
|
|
3523
|
+
"responseId" : {
|
|
3524
|
+
"type" : "string"
|
|
3525
|
+
}
|
|
3526
|
+
},
|
|
3527
|
+
"required" : [ "responseId" ],
|
|
3528
|
+
"type" : "object"
|
|
3529
|
+
},
|
|
3505
3530
|
"MetaResponseModel" : {
|
|
3506
3531
|
"properties" : {
|
|
3507
3532
|
"sortOptions" : {
|
|
@@ -3694,7 +3719,8 @@
|
|
|
3694
3719
|
"type" : "string"
|
|
3695
3720
|
},
|
|
3696
3721
|
"source" : {
|
|
3697
|
-
"description" : "source of the autocomplete request
|
|
3722
|
+
"description" : "source of the autocomplete request",
|
|
3723
|
+
"enum" : [ "historical", "trending", "suggested", "typed" ],
|
|
3698
3724
|
"type" : "string"
|
|
3699
3725
|
}
|
|
3700
3726
|
},
|
|
@@ -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.45
|
|
8
8
|
x-logo:
|
|
9
9
|
url: ./images/searchspring_logo.svg
|
|
10
10
|
altText: Searchspring Snap
|
|
@@ -478,6 +478,8 @@ components:
|
|
|
478
478
|
merchandising:
|
|
479
479
|
redirect: ""
|
|
480
480
|
content: {}
|
|
481
|
+
tracking:
|
|
482
|
+
responseId: 248176b4-7929-4c32-a8cf-484073befe28
|
|
481
483
|
autocomplete-response-example-2:
|
|
482
484
|
value:
|
|
483
485
|
autocomplete:
|
|
@@ -810,6 +812,8 @@ components:
|
|
|
810
812
|
merchandising:
|
|
811
813
|
redirect: ""
|
|
812
814
|
content: {}
|
|
815
|
+
tracking:
|
|
816
|
+
responseId: 248176b4-7929-4c32-a8cf-484073befe28
|
|
813
817
|
search-request-example-1:
|
|
814
818
|
value:
|
|
815
819
|
siteId: scmq7n
|
|
@@ -1668,6 +1672,8 @@ components:
|
|
|
1668
1672
|
merchandising:
|
|
1669
1673
|
redirect: ""
|
|
1670
1674
|
content: {}
|
|
1675
|
+
tracking:
|
|
1676
|
+
responseId: aa6967b1-9685-4eb8-94ff-27d139dcfb89
|
|
1671
1677
|
search-response-example-2:
|
|
1672
1678
|
value:
|
|
1673
1679
|
search:
|
|
@@ -2618,6 +2624,8 @@ components:
|
|
|
2618
2624
|
merchandising:
|
|
2619
2625
|
redirect: ""
|
|
2620
2626
|
content: {}
|
|
2627
|
+
tracking:
|
|
2628
|
+
responseId: aa6967b1-9685-4eb8-94ff-27d139dcfb89
|
|
2621
2629
|
meta-request-example-1:
|
|
2622
2630
|
value:
|
|
2623
2631
|
siteId: scmq7n
|
|
@@ -2999,6 +3007,8 @@ components:
|
|
|
2999
3007
|
banner:
|
|
3000
3008
|
- banner
|
|
3001
3009
|
- banner
|
|
3010
|
+
tracking:
|
|
3011
|
+
responseId: responseId
|
|
3002
3012
|
facets:
|
|
3003
3013
|
- field: field
|
|
3004
3014
|
filtered: true
|
|
@@ -3029,6 +3039,10 @@ components:
|
|
|
3029
3039
|
type: array
|
|
3030
3040
|
merchandising:
|
|
3031
3041
|
$ref: '#/components/schemas/SearchResponseModelMerchandising'
|
|
3042
|
+
tracking:
|
|
3043
|
+
$ref: '#/components/schemas/SearchResponseModelTracking'
|
|
3044
|
+
required:
|
|
3045
|
+
- tracking
|
|
3032
3046
|
title: Search Response Data Model
|
|
3033
3047
|
type: object
|
|
3034
3048
|
SearchResponseModelFilter:
|
|
@@ -3278,6 +3292,15 @@ components:
|
|
|
3278
3292
|
content:
|
|
3279
3293
|
$ref: '#/components/schemas/SearchResponseModelMerchandising_content'
|
|
3280
3294
|
type: object
|
|
3295
|
+
SearchResponseModelTracking:
|
|
3296
|
+
example:
|
|
3297
|
+
responseId: responseId
|
|
3298
|
+
properties:
|
|
3299
|
+
responseId:
|
|
3300
|
+
type: string
|
|
3301
|
+
required:
|
|
3302
|
+
- responseId
|
|
3303
|
+
type: object
|
|
3281
3304
|
MetaResponseModel:
|
|
3282
3305
|
example:
|
|
3283
3306
|
badges:
|
|
@@ -3477,8 +3500,12 @@ components:
|
|
|
3477
3500
|
description: current input from the user
|
|
3478
3501
|
type: string
|
|
3479
3502
|
source:
|
|
3480
|
-
description: source of the autocomplete request
|
|
3481
|
-
|
|
3503
|
+
description: source of the autocomplete request
|
|
3504
|
+
enum:
|
|
3505
|
+
- historical
|
|
3506
|
+
- trending
|
|
3507
|
+
- suggested
|
|
3508
|
+
- typed
|
|
3482
3509
|
type: string
|
|
3483
3510
|
type: object
|
|
3484
3511
|
AutocompleteResponseModel_allOf_autocomplete_suggested:
|