Skip to content

possible issue with API size parameter #1

Open
@ddooley

Description

@ddooley

We are submitting api status requests for jobs and including size parameter matching to our batch size. When we do that, we get back 1 less record than the batch size. We have to adjust size to be batch size + 1. So a batch size of 10 records means size parameter must be set to 11 to get back 10 records. Hence this works:

query = '?page=0&size=' + str(int(options.batch)+1) + '&sortDirection=ASC&sortField=submitterSampleId&submissionId=' + submission_id;

So I'm guessing you would want to adjust the conditional on size so this incrementing isn't needed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions