Lists all file lists.
FileListsApi.listFileLists([param1, param2, ...])
FileListsApi.list_file_lists([param1, param2, ...])
FileListsApi.listFileLists([param1, param2, ...])
successful operation
Not authorized to view file lists.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.FileListsApi; import com.trendmicro.deepsecurity.model.FileLists; public class ListFileListsExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values FileListsApi instance = new FileListsApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours FileLists result = instance.listFileLists(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling FileListsApi.listFileLists"); e.printStackTrace(); } } }
{- "fileLists": [
- {
- "name": "string",
- "description": "string",
- "items": [
- "string"
], - "ID": 0
}
]
}
Create a new file list.
FileListsApi.createFileList([param1, param2, ...])
FileListsApi.create_file_list([param1, param2, ...])
FileListsApi.createFileList([param1, param2, ...])
The settings of the new file list.
successful operation
Not authorized to create file lists.
{- "name": "string",
- "description": "string",
- "items": [
- "string"
]
}
{- "name": "string",
- "description": "string",
- "items": [
- "string"
], - "ID": 0
}
Search for file lists using optional filters.
FileListsApi.searchFileLists([param1, param2, ...])
FileListsApi.search_file_lists([param1, param2, ...])
FileListsApi.searchFileLists([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
Not authorized to view file lists.
{- "maxItems": 0,
- "searchCriteria": [
- {
- "fieldName": "string",
- "booleanTest": true,
- "numericTest": "less-than",
- "numericValue": 0,
- "stringTest": "equal",
- "stringValue": "string",
- "stringWildcards": true,
- "choiceTest": "equal",
- "choiceValue": "string",
- "firstDateValue": 0,
- "firstDateInclusive": true,
- "lastDateValue": 0,
- "lastDateInclusive": true,
- "nullTest": true,
- "versionTest": "less-than",
- "versionValue": "string",
- "idValue": 0,
- "idTest": "less-than"
}
], - "sortByObjectID": true
}
{- "fileLists": [
- {
- "name": "string",
- "description": "string",
- "items": [
- "string"
], - "ID": 0
}
]
}
Describe a file list by ID.
FileListsApi.describeFileList([param1, param2, ...])
FileListsApi.describe_file_list([param1, param2, ...])
FileListsApi.describeFileList([param1, param2, ...])
successful operation
Not authorized to view file lists.
The file list does not exist.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.FileListsApi; import com.trendmicro.deepsecurity.model.FileList; public class DescribeFileListExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values FileListsApi instance = new FileListsApi(); Integer fileListID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours FileList result = instance.describeFileList(fileListID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling FileListsApi.describeFileList"); e.printStackTrace(); } } }
{- "name": "string",
- "description": "string",
- "items": [
- "string"
], - "ID": 0
}
Modify a file list by ID. Any unset elements will be left unchanged.
FileListsApi.modifyFileList([param1, param2, ...])
FileListsApi.modify_file_list([param1, param2, ...])
FileListsApi.modifyFileList([param1, param2, ...])
The settings of the file list to modify.
successful operation
Not authorized to modify file lists or the requested modification is not permitted.
The file list does not exist.
{- "name": "string",
- "description": "string",
- "items": [
- "string"
]
}
{- "name": "string",
- "description": "string",
- "items": [
- "string"
], - "ID": 0
}
Delete a file list by ID.
FileListsApi.deleteFileList([param1, param2, ...])
FileListsApi.delete_file_list([param1, param2, ...])
FileListsApi.deleteFileList([param1, param2, ...])
Request is successful.
Not authorized to delete file lists.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.FileListsApi; public class DeleteFileListExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values FileListsApi instance = new FileListsApi(); Integer fileListID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours instance.deleteFileList(fileListID, apiVersion); } catch (ApiException e) { System.err.println("An exception occurred when calling FileListsApi.deleteFileList"); e.printStackTrace(); } } }