NSX-T Data Center REST API
Associated URIs:
| API Description | API Path | 
|---|---|
Create an new packet capture sessionCreate an new packet capture session on given node with specified options  | 
                      
                        POST /api/v1/pktcap/session
                         | 
                    
Get the status of packet capture sessionGet the packet capture status information by session id.  | 
                      
                        GET /api/v1/pktcap/session/{session-id}
                         | 
                    
Restart the packet capture sessionRestart the packet capture session  | 
                      
                        POST /api/v1/pktcap/session/{session-id}?action=restart
                         | 
                    
Delete the packet capture session by session id.Before calling this method, terminate any running capture session.  | 
                      
                        POST /api/v1/pktcap/session/{session-id}?action=delete
                         | 
                    
Terminate the packet capture session by session idTerminate the packet capture session by session id.  | 
                      
                        POST /api/v1/pktcap/session/{session-id}?action=terminate
                         | 
                    
Get packet capture fileYou must provide the request header "Accept:application/octet-stream" when calling this API. The capture file can only be found in MP which receives the capture request.  | 
                      
                        GET /api/v1/pktcap/session/{session-id}/capturefile
                         | 
                    
Get the information of all packet capture sessionsGet the information of all packet capture sessions.  | 
                      
                        GET /api/v1/pktcap/sessions
                         | 
                    
Delete all the packet capture sessionsDelete all the packet capture sessions.  | 
                      
                        POST /api/v1/pktcap/sessions?action=delete
                         |