OpenSPP / openspp-api

Other
0 stars 0 forks source link

API Improvements #50

Closed dasunhegoda closed 1 year ago

dasunhegoda commented 1 year ago
Some questions regarding the API:
- The "Count" output parameter is called "Total": is it the final naming? Or will it change in the future to "Count"?
- The API specification says that by default, limit input parameter will be set to 100, now it is apparently at 500?
- The limit parameter override the total value, example with the country API:
By default: Total = 250 and limit = 500
If I set a limit to 40, the new return values will be: Total = 40 and limit = 40 instead of: Total = 250 and limit = 40
Is it a bug or the expected behavior?

The above is the feedback received from Famaco.

adriancris commented 1 year ago

QA Passed. Working as expected.