I’m also interested in understanding what I’m doing wrong here.
This is the full API request:
https://api.backendless.com/721FC2A7-E947-DBF2-FF27-F810EF2B1C00/9F3C8ADE-6F0B-4D0F-8445-3CB5D8920442/data/Country?property=Count(objectId)%20as%20CountryCount,Continent,MIN(LifeExpectancy)%20as%20MinLifeExpectancy&groupBy=Continent
Detailed description of the params and compared against the requirements of the task.
- Rest API
- table Country
-> data/Country - Grouped by Continent column
-> &groupBy=Continent - following aggregate function:
count of countries in each continent named asCountryCount
-> COUNT(objectId) %20as%20CountryCount
Minimum life expectancy with property name MinLifeExpectancy
-> MIN(LifeExpectancy)%20as%20MinLifeExpectancy - Continent property included in request and response
What is wrong here? I’ve noticed that in the Video there is also MaxLifeExpectancy and IndepYear - but its not required based on the written requirements. Also, there are changes as in video we use props but in REST console we use now property.
Will appreciate help here.
Grzegorz