Search Polls
Search for poll details given a name/description query string.
Request:
- requestType is searchPolls
- query is a full text query on the poll fields name (S) and description (S) in the standard Lucene syntax (optional)
- firstIndex is a zero-based index to the first poll to retrieve (optional)
- lastIndex is a zero-based index to the last poll to retrieve (optional)
- includeFinished is true to include completed polls (optional)
- requireBlock is the block ID of a block that must be present in the blockchain during execution (optional)
- requireLastBlock is the block ID of a block that must be last in the blockchain during execution (optional)
Response:
- polls (A) is an array of polls
- lastBlock (S) is the last block ID on the blockchain (applies if requireBlock is provided but not requireLastBlock)
- requestProcessingTime (N) is the API request processing time (in millisec)