@@ -312,7 +312,7 @@ paths:
312
312
--header 'content-type: application/json' \
313
313
--header 'x-algolia-api-key: ALGOLIA_API_KEY' \
314
314
--header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID' \
315
- --data '{"params":{"query":"","filters":"(category:Book OR category:Ebook) AND _tags:published","page":0,"getRankingInfo":true ,"relevancyStrictness":90,"facetFilters":[["category:Book","category:-Movie"],"author:John Doe"],"optionalFilters":["category:Book","author:John Doe"],"numericFilters":[["inStock = 1","deliveryDate < 1441755506"],"price < 1000"],"hitsPerPage":20,"aroundLatLng":"40.71,-74.01","aroundLatLngViaIP":false,"aroundRadius":1,"aroundPrecision":10,"minimumAroundRadius":1,"insideBoundingBox":"lorem","insidePolygon":[[47.3165,4.9665,47.3424,5.0201,47.32,4.9],[40.9234,2.1185,38.643,1.9916,39.2587,2.0104]],"queryLanguages":["es"],"naturalLanguages":[],"enableRules":true,"ruleContexts":["mobile"],"userToken":"test-user-123","clickAnalytics":false,"analytics":true,"analyticsTags":[],"enableABTest":true,"enableReRanking":true,"injectedItems":{}}}'
315
+ --data '{"params":{"query":"","filters":"(category:Book OR category:Ebook) AND _tags:published","page":0,"getRankingInfo":false ,"relevancyStrictness":90,"facetFilters":[["category:Book","category:-Movie"],"author:John Doe"],"optionalFilters":["category:Book","author:John Doe"],"numericFilters":[["inStock = 1","deliveryDate < 1441755506"],"price < 1000"],"hitsPerPage":20,"aroundLatLng":"40.71,-74.01","aroundLatLngViaIP":false,"aroundRadius":1,"aroundPrecision":10,"minimumAroundRadius":1,"insideBoundingBox":"lorem","insidePolygon":[[47.3165,4.9665,47.3424,5.0201,47.32,4.9],[40.9234,2.1185,38.643,1.9916,39.2587,2.0104]],"queryLanguages":["es"],"naturalLanguages":[],"enableRules":true,"ruleContexts":["mobile"],"userToken":"test-user-123","clickAnalytics":false,"analytics":true,"analyticsTags":[],"enableABTest":true,"enableReRanking":true,"injectedItems":{}}}'
316
316
/1/compositions/{compositionID}/facets/{facetName}/query :
317
317
post :
318
318
tags :
@@ -411,7 +411,7 @@ paths:
411
411
--header 'content-type: application/json' \
412
412
--header 'x-algolia-api-key: ALGOLIA_API_KEY' \
413
413
--header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID' \
414
- --data '{"params":{"query":"","maxFacetHits":10,"searchQuery":{"query":"","filters":"(category:Book OR category:Ebook) AND _tags:published","page":0,"getRankingInfo":true ,"relevancyStrictness":90,"facetFilters":[["category:Book","category:-Movie"],"author:John Doe"],"optionalFilters":["category:Book","author:John Doe"],"numericFilters":[["inStock = 1","deliveryDate < 1441755506"],"price < 1000"],"hitsPerPage":20,"aroundLatLng":"40.71,-74.01","aroundLatLngViaIP":false,"aroundRadius":1,"aroundPrecision":10,"minimumAroundRadius":1,"insideBoundingBox":"lorem","insidePolygon":[[47.3165,4.9665,47.3424,5.0201,47.32,4.9],[40.9234,2.1185,38.643,1.9916,39.2587,2.0104]],"queryLanguages":["es"],"naturalLanguages":[],"enableRules":true,"ruleContexts":["mobile"],"userToken":"test-user-123","clickAnalytics":false,"analytics":true,"analyticsTags":[],"enableABTest":true,"enableReRanking":true,"injectedItems":{}}}}'
414
+ --data '{"params":{"query":"","maxFacetHits":10,"searchQuery":{"query":"","filters":"(category:Book OR category:Ebook) AND _tags:published","page":0,"getRankingInfo":false ,"relevancyStrictness":90,"facetFilters":[["category:Book","category:-Movie"],"author:John Doe"],"optionalFilters":["category:Book","author:John Doe"],"numericFilters":[["inStock = 1","deliveryDate < 1441755506"],"price < 1000"],"hitsPerPage":20,"aroundLatLng":"40.71,-74.01","aroundLatLngViaIP":false,"aroundRadius":1,"aroundPrecision":10,"minimumAroundRadius":1,"insideBoundingBox":"lorem","insidePolygon":[[47.3165,4.9665,47.3424,5.0201,47.32,4.9],[40.9234,2.1185,38.643,1.9916,39.2587,2.0104]],"queryLanguages":["es"],"naturalLanguages":[],"enableRules":true,"ruleContexts":["mobile"],"userToken":"test-user-123","clickAnalytics":false,"analytics":true,"analyticsTags":[],"enableABTest":true,"enableReRanking":true,"injectedItems":{}}}}'
415
415
/1/compositions :
416
416
get :
417
417
tags :
@@ -532,7 +532,6 @@ paths:
532
532
operationId : putComposition
533
533
x-acl :
534
534
- editSettings
535
- - settings
536
535
summary : Upsert a composition
537
536
description : |
538
537
Upsert a composition in the current Algolia application.
@@ -653,7 +652,6 @@ paths:
653
652
operationId : deleteComposition
654
653
x-acl :
655
654
- editSettings
656
- - settings
657
655
summary : Delete a composition
658
656
description : |
659
657
Delete a composition from the current Algolia application.
@@ -860,6 +858,7 @@ paths:
860
858
- Rules
861
859
operationId : getRule
862
860
x-acl :
861
+ - editSettings
863
862
- settings
864
863
summary : Retrieve a rule
865
864
description : >
@@ -920,7 +919,6 @@ paths:
920
919
operationId : putCompositionRule
921
920
x-acl :
922
921
- editSettings
923
- - settings
924
922
summary : Upsert a composition rule
925
923
description : |
926
924
Upsert a Composition Rule for the specified composition ID.
@@ -1024,7 +1022,6 @@ paths:
1024
1022
operationId : deleteCompositionRule
1025
1023
x-acl :
1026
1024
- editSettings
1027
- - settings
1028
1025
summary : Delete a Composition Rule
1029
1026
description : |
1030
1027
Delete a Composition Rule from the specified Composition ID.
@@ -1538,6 +1535,9 @@ components:
1538
1535
getRankingInfo :
1539
1536
type : boolean
1540
1537
description : Whether the run response should include detailed ranking information.
1538
+ default : false
1539
+ x-categories :
1540
+ - Advanced
1541
1541
relevancyStrictness :
1542
1542
type : integer
1543
1543
example : 90
@@ -1967,6 +1967,8 @@ components:
1967
1967
type : boolean
1968
1968
description : Whether to enable composition rules.
1969
1969
default : true
1970
+ x-categories :
1971
+ - Rules
1970
1972
ruleContexts :
1971
1973
type : array
1972
1974
items :
@@ -2082,7 +2084,7 @@ components:
2082
2084
source.
2083
2085
default : {}
2084
2086
x-categories :
2085
- - Advanced
2087
+ - Retail Media Network
2086
2088
params :
2087
2089
title : Run composition parameters as object
2088
2090
type : object
0 commit comments