Skip to content

Commit b0d3e23

Browse files
committed
tests: add searchParams values
1 parent 4252f73 commit b0d3e23

21 files changed

+86
-22
lines changed

tests/CTS/clients/analytics/getAverageClickPosition.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"request": {
2323
"path": "/2/clicks/averageClickPosition",
24-
"method": "GET"
24+
"method": "GET",
25+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&tags=tag"
2526
}
2627
}
2728
]

tests/CTS/clients/analytics/getClickPositions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"request": {
2323
"path": "/2/clicks/positions",
24-
"method": "GET"
24+
"method": "GET",
25+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&tags=tag"
2526
}
2627
}
2728
]

tests/CTS/clients/analytics/getClickThroughRate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"request": {
2323
"path": "/2/clicks/clickThroughRate",
24-
"method": "GET"
24+
"method": "GET",
25+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&tags=tag"
2526
}
2627
}
2728
]

tests/CTS/clients/analytics/getConversationRate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"request": {
2323
"path": "/2/conversions/conversionRate",
24-
"method": "GET"
24+
"method": "GET",
25+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&tags=tag"
2526
}
2627
}
2728
]

tests/CTS/clients/analytics/getNoClickRate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"request": {
2323
"path": "/2/searches/noClickRate",
24-
"method": "GET"
24+
"method": "GET",
25+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&tags=tag"
2526
}
2627
}
2728
]

tests/CTS/clients/analytics/getNoResultsRate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"request": {
2323
"path": "/2/searches/noResultRate",
24-
"method": "GET"
24+
"method": "GET",
25+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&tags=tag"
2526
}
2627
}
2728
]

tests/CTS/clients/analytics/getSearchesCount.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"request": {
2323
"path": "/2/searches/count",
24-
"method": "GET"
24+
"method": "GET",
25+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&tags=tag"
2526
}
2627
}
2728
]

tests/CTS/clients/analytics/getSearchesNoClicks.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
},
2424
"request": {
2525
"path": "/2/searches/noClicks",
26-
"method": "GET"
26+
"method": "GET",
27+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
2728
}
2829
}
2930
]

tests/CTS/clients/analytics/getSearchesNoResults.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
},
2424
"request": {
2525
"path": "/2/searches/noResults",
26-
"method": "GET"
26+
"method": "GET",
27+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
2728
}
2829
}
2930
]

tests/CTS/clients/analytics/getTopCountries.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
},
2424
"request": {
2525
"path": "/2/countries",
26-
"method": "GET"
26+
"method": "GET",
27+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
2728
}
2829
}
2930
]

tests/CTS/clients/analytics/getTopFilterAttributes.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
},
2424
"request": {
2525
"path": "/2/filters",
26-
"method": "GET"
26+
"method": "GET",
27+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
2728
}
2829
}
2930
]

tests/CTS/clients/analytics/getTopFilterAttributesForSearch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
},
2626
"request": {
2727
"path": "/2/filters?search=mySearch",
28-
"method": "GET"
28+
"method": "GET",
29+
"searchParams": "?search=mySearch?x-algolia-agent=Algolia%20for%20Javascript&index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
2930
}
3031
}
3132
]

tests/CTS/clients/analytics/getTopFilterForAttribute.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
},
3838
"request": {
3939
"path": "/2/filters/myAttribute",
40-
"method": "GET"
40+
"method": "GET",
41+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
4142
}
4243
},
4344
{
@@ -54,7 +55,8 @@
5455
},
5556
"request": {
5657
"path": "/2/filters/myAttribute1%2CmyAttribute2",
57-
"method": "GET"
58+
"method": "GET",
59+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
5860
}
5961
}
6062
]

tests/CTS/clients/analytics/getTopFiltersForAttributesSearch.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
},
4141
"request": {
4242
"path": "/2/filters/myAttribute?search=mySearch",
43-
"method": "GET"
43+
"method": "GET",
44+
"searchParams": "?search=mySearch?x-algolia-agent=Algolia%20for%20Javascript&index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
4445
}
4546
},
4647
{
@@ -58,7 +59,8 @@
5859
},
5960
"request": {
6061
"path": "/2/filters/myAttribute1%2CmyAttribute2?search=mySearch",
61-
"method": "GET"
62+
"method": "GET",
63+
"searchParams": "?search=mySearch?x-algolia-agent=Algolia%20for%20Javascript&index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
6264
}
6365
}
6466
]

tests/CTS/clients/analytics/getTopFiltersNoResults.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
},
2424
"request": {
2525
"path": "/2/filters/noResults",
26-
"method": "GET"
26+
"method": "GET",
27+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
2728
}
2829
}
2930
]

tests/CTS/clients/analytics/getTopFiltersNoResultsForSearch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
},
2626
"request": {
2727
"path": "/2/filters/noResults?search=mySearch",
28-
"method": "GET"
28+
"method": "GET",
29+
"searchParams": "?search=mySearch?x-algolia-agent=Algolia%20for%20Javascript&index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
2930
}
3031
}
3132
]

tests/CTS/clients/analytics/getTopHits.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
},
2525
"request": {
2626
"path": "/2/hits",
27-
"method": "GET"
27+
"method": "GET",
28+
"searchParams": "?index=index&clickAnalytics=true&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
2829
}
2930
}
3031
]

tests/CTS/clients/analytics/getTopHitsForSearch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
},
2727
"request": {
2828
"path": "/2/hits?search=mySearch",
29-
"method": "GET"
29+
"method": "GET",
30+
"searchParams": "?search=mySearch?x-algolia-agent=Algolia%20for%20Javascript&index=index&clickAnalytics=true&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&limit=21&offset=42&tags=tag"
3031
}
3132
}
3233
]

tests/CTS/clients/analytics/getTopSearches.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
},
2727
"request": {
2828
"path": "/2/searches",
29-
"method": "GET"
29+
"method": "GET",
30+
"searchParams": "?index=index&clickAnalytics=true&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&orderBy=searchCount&direction=asc&limit=21&offset=42&tags=tag"
3031
}
3132
}
3233
]

tests/CTS/clients/analytics/getUsersCount.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
},
2222
"request": {
2323
"path": "/2/users/count",
24-
"method": "GET"
24+
"method": "GET",
25+
"searchParams": "?index=index&startDate=Sun%20Sep%2019%201999%2002:00:00%20GMT%200200%20(Central%20European%20Summer%20Time)&endDate=Mon%20Jan%2001%202001%2001:00:00%20GMT%200100%20(Central%20European%20Standard%20Time)&tags=tag"
2526
}
2627
}
2728
]

0 commit comments

Comments
 (0)