Skip to content

A bug occurs when running the example code in format section #559

@y-swim

Description

@y-swim

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:

  1. Go to Developers guide
  2. Scroll down to 'format'
  3. Run the example code of format
  4. See error

Expected behaviour
Return json, xml and csv

Screenshots
screenshot of example in format

screenshot of example code in format

Additional context
Removing "latestBy": "cumCasesByPublishDate" on line 25 fixed the problem.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions