cul-it / qa_server

A rails app with questioning authority gem installed to serve as a QA server.
Apache License 2.0
1 stars 6 forks source link

Parameters for paginating results #399

Open sfolsom opened 3 months ago

sfolsom commented 3 months ago

Look into maxRecords and startRecord parameters, and response_header with total_records for direct lookups.

Example: https://github.com/cul-it/qa_server_aws_deploy/blob/5d8044b3bc2e7c70da1a81794be024e3988e9f05/config/authorities/linked_data/ntsf_direct.json#L43

I'm guessing the current mode for supporting this depends on the data providers' APIs, and if they have an equivalent parameter in their API.

We might also consider if we can add this regardless of whether the provider API has the capability.