Ad Hoc Commands REST Endpoints

Ad Hoc Commands

REST API endpoints for Ad Hoc Commands

Create an Ad Hoc Command
Method: post
Path: /api/v2/ad_hoc_commands/
Delete an Ad Hoc Command
Method: delete
Path: /api/v2/ad_hoc_commands/{id}/
List Activity Streams for an Ad Hoc Command
Method: get
Path: /api/v2/ad_hoc_commands/{id}/activity_stream/
List Ad Hoc Command Events for an Ad Hoc Command
Method: get
Path: /api/v2/ad_hoc_commands/{id}/events/
List Ad Hoc Commands
Method: get
Path: /api/v2/ad_hoc_commands/
List Notifications for an Ad Hoc Command
Method: get
Path: /api/v2/ad_hoc_commands/{id}/notifications/
Retrieve Ad Hoc Command Stdout
Method: get
Path: /api/v2/ad_hoc_commands/{id}/stdout/
Retrieve an Ad Hoc Command
Method: get
Path: /api/v2/ad_hoc_commands/{id}/
Retrieve an Ad Hoc Command
Method: get
Path: /api/v2/ad_hoc_commands/{id}/cancel/
Retrieve an Ad Hoc Command
Method: post
Path: /api/v2/ad_hoc_commands/{id}/cancel/
Relaunch an Ad Hoc Command
Method: get
Path: /api/v2/ad_hoc_commands/{id}/relaunch/
Relaunch an Ad Hoc Command
Method: post
Path: /api/v2/ad_hoc_commands/{id}/relaunch/