Closed gsfk closed 5 months ago
Hi @gsfk, it's a pleasure to have you here again. Thanks for your feedback. For the first question, I'm afraid that requested_granularity is not in the specs as a get request parameter:
paths:
/individuals:
get:
parameters:
- $ref: '#/components/parameters/requestedSchema'
- $ref: '#/components/parameters/skip'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/includeResultsetResponses'
- $ref: '#/components/parameters/filters'
For the second issue you are commenting, you are absolutely right, I reviewed your PR and I will accept it now, thank you very much! Oriol
Huh... I'm often surprised how far apart the GET and POST parts of the spec are.
Thanks for this!
You are welcome!
Looking again at the reference implementation after a break of a couple years, thanks for all your work. I had a couple issues with count responses:
api/individuals?requested_granularity=count
and similar calls (camelCase, and with and without quotes around "count") all return 404.numTotalResults
value in the response summary is typically incorrect for a count response if the request happens to include pagination values. I offer up a fix here.