Post Support Bundle Collection
Start a support-bundle collection operation for the chosen services.
Could be one of "collect" or "delete_async_response"
JSON object containing parameters for the support bundle collection.
{
"remote_file_server": {
"directory_path": "/home/support_bundles",
"port": 22,
"protocol": {
"name": "SCP",
"ssh_fingerprint": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
"authentication_scheme": {
"username": "admin",
"password": "somePassword123",
"scheme_name": "PASSWORD"
}
},
"server": "ftp.vmware.com"
},
"dynamic_content_filters": [
"NAPP:SERVICE:MESSAGING"
],
"content_filters": [
"DEFAULT"
],
"log_age_limit": 0
}
The file server the support bundle should be exported to.
A subset of the array returned in http://{api_host}/napp/api/v1/platform/support-bundle/dynamic-content-filters API.
Bundle should include content of specified type. Could be one of ALL or DEFAULT
Include log files with modified times not past the age limit in days
OK
{
"failed_nodes": [
{
"node_display_name": "string",
"node_id": "string",
"error_message": "string",
"error_code": "string"
}
],
"success_nodes": [
{
"node_display_name": "string",
"node_id": "string",
"sha256_thumbprint": "string",
"bundle_name": "string",
"bundle_size": 0
}
],
"remaining_nodes": [
{
"node_display_name": "string",
"node_id": "string",
"status": "string"
}
],
"request_properties": {
"remote_file_server": {
"directory_path": "/home/support_bundles",
"port": 22,
"protocol": {
"name": "SCP",
"ssh_fingerprint": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
"authentication_scheme": {
"username": "admin",
"password": "somePassword123",
"scheme_name": "PASSWORD"
}
},
"server": "ftp.vmware.com"
},
"dynamic_content_filters": [
"NAPP:SERVICE:MESSAGING"
],
"content_filters": [
"DEFAULT"
],
"log_age_limit": 0
},
"status": "string",
"remoteTaskID": "string"
}
Nodes where bundles were not generated or not copied to remote server
Nodes whose bundles were successfully copied to remote file server
Nodes whose bundle generation is in progress
Object representing support bundle collection request.
Node will start with running
remoteTaskID by which manager node will check on support bundle collection status
Response Headers
string representing the task id
Conflict - collection in progress