To return all mappings, send the request once without any parameters. Take
note of the nextBookmark value in the response. Send
another request using that value for bookmark appended
to the URI. The caller will repeat the query until
count is empty in the response, indicating that it
has returned all mappings.
To return a subset of mappings, specify the number of mappings you want to retrieve
using pageLen, up to 10000.
Parameters
This API accepts these parameters:
Parameter
Description
bookmark
(Optional) Used after the first request to return all
mappings.
pageLen
(Optional) The number of mappings to retrieve. Range is
1-10000. If left unspecified, the default value is 10000.
Success Response
Upon success, the HTTP response code is 200. In addition, the response
contains a JSON object with the following fields:
Field
Description
nextBookmark
The value you use in the bookmark parameter to perform
repeated queries until all mappings are returned.
count
Integer representing the number of mappings returned in
the response.
verdicts
Object that contains the
mappings specified in the request.
Upon error, the HTTP response code is one of the following:
Response Code
Description
400
Invalid request. The request was incomplete or
malformed in some way.
You should fix the request before retrying.
401
Unauthorized token.
429
Too many requests. The request could not be processed
because too many requests have been issued in a specific period of
time. No more than one request per second is allowed. Please wait
and try again.
In addition, the response body contains the following fields: