A bug occurs when running the example code in format section
Opened this issue · 0 comments
y-swim commented
Describe the bug
A bug occurs when running the example code in format section because 'latestBy' parameter can only be used when 'format=json' or 'format=xml'.
To Reproduce
Steps to reproduce the behaviour:
- Go to Developers guide
- Scroll down to 'format'
- Run the example code of format
- See error
Expected behaviour
Return json, xml and csv
Additional context
Removing "latestBy": "cumCasesByPublishDate" on line 25 fixed the problem.