# Stream File Action This API is available in builds 15089 or later. Endpoint: PUT /v2/servers/{serverName}/vhosts/{vhostName}/streamfiles/{streamfileName}/actions/{action} Version: 2.0.0 Security: basicAuth ## Path parameters: - `serverName` (string, required) Reserved for future use - `action` (string, required) The action which should be performed by the server Enum: "connect", "copy" - `vhostName` (string, required) The name of the current VHost the action will be performed on - `streamfileName` (string, required) The stream file, file name needed for this REST call ## Query parameters: - `connectAppName` (string) The name of the application to connect to - `appInstance` (string) The name of the application instance to connect to - `mediaCasterType` (string, required) The MediaCasterType to use for the connection Enum: "rtp", " rtp-record", "shoutcast", "shoutcast-record", "liverepeater" - `dstEntryName` (string) The destination stream file name when copying ## Response 200 fields ## Response 400 fields ## Response 401 fields ## Response 404 fields ## Response 500 fields