Get list of cards
Description:
Returns the list of admin dashboard cards filtered by the specified card types.Precondition:
The user must be an administrator.Response:
Returns the list of cards matching the specified types.Comma-separated list of card types to retrieve.content_encryption – Content encryption card.email_json_migration – Email JSON migration card.system_security_scanning – System security scanning card.events_table_monitor – Events table monitor card.appadmin_db – Application admin database card.sysadmin_db – System admin database card.sysadmin_hosts – System admin hosts card.epg_warnings – EPG warnings card.safe_edit_server_health – Safe edit server health card.
The list of cards has been successfully returned.
Main message text of the card.
Descriptive text providing additional detail for the card.
Severity level of the card.
Type of card action.
URL the card action links to.
Type of the card.
Unique identifier of the card host.
Display name of the card host.
Additional structured data associated with the card.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INVALID_PARAMETER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/admin/cards?type:in=VALUE" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/admin/cards"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
params = {
"type:in": "VALUE",
}
response = requests.get(url, params=params, headers=headers)
print(response.json())Get card details
Description:
Returns the detailed information for a specific admin dashboard card.Precondition:
The user must be an administrator with System or Application role.Response:
Returns the details of the specified card.The type of card to retrieve details for.content_encryption – Content encryption card.email_json_migration – Email JSON migration card.system_security_scanning – System security scanning card.events_table_monitor – Events table monitor card.appadmin_db – Application admin database card.sysadmin_db – System admin database card.sysadmin_hosts – System admin hosts card.epg_warnings – EPG warnings card.safe_edit_server_health – Safe edit server health card.
The unique identifier of the host to filter card data by.
Filter results to a specific storage volume.
Filter results by storage type.user_files – User file storage.replication_files – Replication file storage.
Maximum number of error detail records to return. Error details are not returned if not set or set to 0.
Number of error detail records to skip before returning results, for pagination.
The card details have been successfully returned.
Main message text of the card.
Descriptive text providing additional detail for the card.
Severity level of the card.
Type of card action.
URL the card action links to.
Type of the card.
Unique identifier of the card host.
Display name of the card host.
Additional structured data associated with the card.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INVALID_PARAMETER
Error code
Error message
Request blocked by WAF
curl -X GET \
"https://{instance}.kiteworks.com/rest/admin/cards/details?type=VALUE" \
-H "Authorization: Bearer YOUR_TOKEN"import requests
url = "https://{instance}.kiteworks.com/rest/admin/cards/details"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
}
params = {
"type": "VALUE",
}
response = requests.get(url, params=params, headers=headers)
print(response.json())Perform an action on a card
Description:
Submits an action to perform on a specific admin dashboard card.Precondition:
The user must be an administrator with System or Application role.Response:
The action has been accepted and will be processed.The action to perform on the card.retry – Retry the failed operation.delete – Delete the card or related records.
The type of card to perform the action on.content_encryption – Content encryption card.email_json_migration – Email JSON migration card.system_security_scanning – System security scanning card.events_table_monitor – Events table monitor card.appadmin_db – Application admin database card.sysadmin_db – System admin database card.sysadmin_hosts – System admin hosts card.epg_warnings – EPG warnings card.safe_edit_server_health – Safe edit server health card.
The unique identifier of the host associated with the card.
The storage type for the files to process.user_files – User file storage.replication_files – Replication file storage.
The storage volume containing the files to process.
List of file IDs to retry content encryption for.
List of email IDs to retry migrating to JSON format.
The action has been accepted and is being processed.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_USER
Error code
Error message
Not Found
Possible error codes: ERR_ENTITY_NOT_FOUND
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INVALID_PARAMETER
Error code
Error message
Request blocked by WAF
curl -X POST \
"https://{instance}.kiteworks.com/rest/admin/cards/actions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"action": "retry",
"type": "content_encryption",
"hostId": "string",
"storageType": "string",
"volume": "string",
"fileId": [
1
]
}'import requests
url = "https://{instance}.kiteworks.com/rest/admin/cards/actions"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"action": "retry",
"type": "content_encryption",
"hostId": "string",
"storageType": "string",
"volume": "string",
"fileId": [
1
]
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())