US 11,656,972 B1
Paginating results obtained from separate programmatic interfaces
Robert Crossan, Foxrock (IE); and Andrea Giuliano, Dublin (IE)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Mar. 25, 2021, as Appl. No. 17/213,123.
Int. Cl. G06F 11/36 (2006.01); G06F 9/54 (2006.01)
CPC G06F 11/3612 (2013.01) [G06F 9/541 (2013.01); G06F 9/547 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
at least one processor; and
a memory storing program instructions that, when executed by the at least one processor, cause the at least one processor to:
receive a request that causes aggregation of respective results separately returned from a plurality of different programmatic interfaces;
obtain the respective results using the plurality of different programmatic interfaces to execute the request;
generate a first token that describes respective result states for the plurality of different programmatic interfaces, wherein a respective result state for a first programmatic interface of the plurality of different programmatic interfaces indicates that a respective result for the first programmatic interface of the plurality of different programmatic interfaces is paginated with a further portion of the respective result to be obtained from the first programmatic interface of the plurality of different programmatic interfaces, wherein the request includes a second token that was included in a prior response that also included a first portion of the respective result to be obtained from the first programmatic interface of the plurality of different programmatic interfaces, wherein the second token comprises pagination information to obtain a second portion of the respective result using the first programmatic interface of the plurality of different programmatic interfaces, and wherein the second portion of the respective result is returned as part of a response to the request; and
include the first token in the response to the request.