You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently using NoSQL query language to fetch data through the API endpoint /api/silo/{SILO_ID}/data?. To make the API more standard we need to change this endpoint and provide specific query parameters for that, like SUM, AVG, and COUNT.
Acceptance Criteria
GIVEN I have a table with data on Track
WHEN I send the following request /api/silo/{SILO_ID}/data?sum=field
THEN it returns me the sum of a field in various records
GIVEN I have a table with data on Track
WHEN I send the following request /api/silo/{SILO_ID}/data?avg=field
THEN it returns me the average of a field in various records
GIVEN I have a table with data on Track
WHEN I send the following request /api/silo/{SILO_ID}/data?count=true
THEN it returns me the number of records
The text was updated successfully, but these errors were encountered:
Story
We're currently using NoSQL query language to fetch data through the API endpoint
/api/silo/{SILO_ID}/data?
. To make the API more standard we need to change this endpoint and provide specific query parameters for that, like SUM, AVG, and COUNT.Acceptance Criteria
GIVEN I have a table with data on Track
WHEN I send the following request
/api/silo/{SILO_ID}/data?sum=field
THEN it returns me the sum of a field in various records
GIVEN I have a table with data on Track
WHEN I send the following request
/api/silo/{SILO_ID}/data?avg=field
THEN it returns me the average of a field in various records
GIVEN I have a table with data on Track
WHEN I send the following request
/api/silo/{SILO_ID}/data?count=true
THEN it returns me the number of records
The text was updated successfully, but these errors were encountered: