ON THIS PAGE
POST /services/dig_lookups
SUMMARY Creates a new DIG lookup. Lookup completes in the background.
Creates a new DIG lookup.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
IP |
query |
Required |
String |
text/plain |
Used to retrieve the DIG lookup. |
fields |
query |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
HTTP Response Code | Unique Code | Description |
---|---|---|
201 |
The DIG lookup was created successfully. |
|
500 |
1020 |
An internal server error occurred during the creation of the DIG lookup. |
Response Description
- id - Long - The ID of the DIG lookup.
- ip - String - The IP to investigate.
- message - String - The result of the DIG lookup when complete.
- status - String - The current state of the task.
Response Sample
{ "id": 42, "ip": "String", "message": "String", "status": "String <one of: CANCELLED, CANCELING, CANCEL_REQUESTED, COMPLETED, CONFLICT, EXCEPTION, INITIALIZING, INTERRUPTED, PAUSED, PROCESSING, QUEUED, RESUMING>" }