modulus

Divides a request over several parallel requests.

Applies to: latest, stream

Value: a positive integer, at most 100. 0 or no value switches the division off. Used together with part.

A single request:

https://consumer.qa.data.spglobal.com/namespace/stream?after=AFTER_VALUE

can be divided into three requests that can be processed in parallel:

https://consumer.qa.data.spglobal.com/namespace/stream?after=AFTER_VALUE&modulus=3&part=0
https://consumer.qa.data.spglobal.com/namespace/stream?after=AFTER_VALUE&modulus=3&part=1
https://consumer.qa.data.spglobal.com/namespace/stream?after=AFTER_VALUE&modulus=3&part=2

Each part returns a distinct share of the records. Together the parts return all records. Every part has its own after value, so you must keep track of the after value of each part.

Important: The number of parallel requests per account is limited. Choose modulus such that your other requests also fit. See Usage quota.