Lists
Lists - CreateDynamic
Creates a collection of list that collects specific values from the events during runtime and stores them for a limited or an unlimited period.
POST
https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/Lists/dynamicParameters
agelimit_day
Day
int
Age Limit is the expiration time for the values in the list. Specify the value for the day. Mandatory Field.
agelimit_hour
Hour
int
Specify the value for the hour. Mandatory Field.
agelimit_minute
Minute
int
Specify the value for the minute. Mandatory Field.
d_name
Name
String
Specify the name for the list which is automatically represented in uppercase. The value can be alpha numeric characters with underscore() and the value should not begin or end with white space character, hyphen(-) and underscore(). The value should contain at least 2 characters and at most 100 characters. Mandatory Field.
Request Example
{
"data": {
"agelimit_day": 0,
"agelimit_hour": 0,
"agelimit_minute": 30,
"d_name": "DEVICE_IP_LIST"
}
}Success Response
Lists - CreateStatic
Creates a collection of pre-defined values which can be used to search those values efficiently.
POST
Parameters
lists
List of Values
[String]
List of values for s_name. Mandatory Field.
s_name
Name
String
Specify the name for the list which is automatically represented in uppercase. The value can be alpha numeric characters with underscore() and the value should not begin or end with white space character, hyphen(-) and underscore(). The value should contain at least 2 characters and at most 100 characters. Mandatory Field.
Request Example
Success Response
Lists - EditDynamic
Edits a collection of list that collects specific values from the events during the runtime and stores them for a limited or an unlimited period.
PUT
Parameters
agelimit_day
Day
int
Age Limit is the expiration time for the values in the list. Specify the value for the day. Mandatory Field.
agelimit_hour
Hour
int
Specify the value for the hour. Mandatory Field.
agelimit_minute
Minute
int
Specify the value for the minute. Mandatory Field.
id
-
String
Existing Lists id. Obtain the value of the required Lists id using Lists - List API. Mandatory Field.
Request Example
Success Response
Lists - EditStatic
Edits a collection of pre-defined values which can be used to search those values efficiently.
PUT
Parameters
id
-
String
Existing Lists id. Obtain the value of the required Lists id using Lists - List API. Mandatory Field.
lists
List of Values
[String]
List of values for s_name. Mandatory Field.
Request Example
Success Response
Lists - Get
Get list with given ID.
GET
Parameters
id
-
String
Existing list_id.
Success Response
Lists - Install
Install a given .pak, .txt or .csv file containing lists.
POST
Parameters
file_location
-
String
Location of the file uploaded to install. Can be either 'private' or 'public'. Mandatory Field.
file_name
-
String
Name of the .pak, .csv or .txt file containing Lists. Mandatory Field.
Request Example
Success Response
Lists - List
Lists all lists.
GET
Success Response
Lists - ListPrivateUploads
List all the .pak, .csv or .txt files that contain list in private storage.
GET
Success Response
Lists - ListPublicUploads
List all the .pak, .csv or .txt files that contain lists in public storage.
GET
Success Response
Lists - RefreshList
Syncs the current data of lists with LogPoint's lists.
POST
Request Example
Success Response
Lists - Trash
Deletes list of given ID.
DELETE
Parameters
id
-
String
existing list_id. Mandatory Field.
Success Response
Lists - TrashPrivateUploads
Delete the file with given name from private storage.
DELETE
Parameters
file_name
String
Name of the file to be deleted. Mandatory Field.
Success Response
Lists - TrashPublicUploads
Delete the file with given name from public storage.
DELETE
Parameters
file_name
String
Name of the file to be deleted. Mandatory Field.
Success Response
Lists - Upload
Upload .pak, .csv or .txt file containing lists to private storage.
POST
Headers
file_name
Name of the file to be uploaded.
Content-Type
application/octet-stream
replace_existing
Set the value of this parameter as 'true' to replace the existing file with the same name with the new file. Default value is 'false'. Value can be 'true' or 'false'. Optional Field.
Parameters
file
[Object]
(.pak, .csv or .txt file) to be uploaded. Mandatory Field.
Success Response
Lists - UploadPublic
Upload .pak, .csv or .txt file containing lists to public storage.
POST
Headers
file_name
Name of the file to be uploaded.
Content-Type
application/octet-stream
replace_existing
Set the value of this parameter as 'true' to replace the existing file with the same name with the new file. Default value is 'false'. Value can be 'true' or 'false'. Optional Field.
Parameters
file
[Object]
(.pak, .csv or .txt file) to be uploaded. Mandatory Field.
Success Response
Last updated
Was this helpful?