public static class UploadRequest.PollItemsRequest extends UploadRequest.AbstractRequest

Request to poll items from the indexing API.

  • limit specifies the maximum number of items to return.
  • statusCodes is a list of statuses of Item that will be polled from the indexing API. Valid status codes are {ERROR, MODIFIED, NEW_ITEM, ACCEPTED}.
  • queue is the queue name to fetch items from. If unspecified, it will fetch from "default" queue.

An example of PollItemsRequest is:

    "statusCodes": [
    "limit": 10,
    "queue": "glossary",
    "type": "items.pollItems"

Inherited Field Summary

Public Constructor Summary

Inherited Method Summary

Public Constructors

public UploadRequest.PollItemsRequest ()