Get poll messages
This endpoint allows you to get poll messages. The oldest message from the poll will be returned by this function.
Nameshield provides a polling system to help you deal with errors that may occur during operations. The Poll is a pile of messages. These messages can be read and processed by your program in order to deal with different scenarios. When a message is processed, you will be able to delete it and continue with the following. The Poll is also very useful for getting notifications that indicate by example that a transfer domain is completed
Endpoint
GET /registrar/v1/poll
Parameters
None
Response
Poll messages
Example Request
GET /registrar/v1/poll
Content-Type: application/json
Example Response
{
"message": "Ok",
"data": [
{
"id": 0,
"date": "string",
"customerId": 0,
"action": "string",
"type": "string",
"objectId": 0,
"name": "string",
"message": "string",
"details": "string"
}
]
}