GET /reference_data/tables/{name}
Return the reference table identified by name.
Return the reference table identified by name. If provided, limit specifies the number of records to return starting at record specified by offset. If not specified, then the first 20 records will be returned.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
name |
path |
Required |
String |
text/plain |
Required - The name of the reference table to retrieve |
namespace |
query |
Optional |
String |
text/plain |
Either SHARED or TENANT, default is SHARED. |
Range |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero. |
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 |
---|---|---|
200 |
The reference table has been retrieved |
|
404 |
1002 |
The reference table does not exist |
422 |
1005 |
A request parameter is not valid |
422 |
1012 |
The namespace value of SHARED was expected |
500 |
1020 |
An error occurred while attempting to retrieve the reference table |
Response Description
The reference table identified by the name specified in the request. The portion of the reference table's data returned is dependent on the limit and offset specified in the request.
Response Sample
{
"collection_id": 42,
"creation_time": 42,
"data": {
"String": {
"String": {
"domain_id": 42,
"first_seen": 42,
"last_seen": 42,
"source": "String",
"value": "String"
}
}
},
"element_type": "String <one of: ALN, NUM, IP, PORT, ALNIC, DATE>",
"key_label": "String",
"key_name_types": {
"String": "String <one of: ALN, NUM, IP, PORT, ALNIC, DATE>"
},
"name": "String",
"namespace": "String <one of: PRIVATE, SHARED, TENANT>",
"number_of_elements": 42,
"time_to_live": "String",
"timeout_type": "String <one of: UNKNOWN, FIRST_SEEN, LAST_SEEN>"
}