Convert a Recording to MP4

Prev Next
Post
/recorded-sessions/{id}/convert

Requests an on-demand transcode of a recording's raw .guac stream to MP4 on the owning Gateway. Returns immediately with the export status; poll the list API's exportStatus field until it reaches "complete", then download the MP4.

Security
HTTP
Type bearer
Path parameters
id
stringRequired

The recording session id (Gateway session token).

Example779a7685902e18ddc87e36b7101654de
Body parameters
object
gatewayId
string (uuid) Required

The ID of the Gateway that owns the recording. Returned by the list API.

Example7f1a3c22-d9b4-41f0-b17c-9a8e2f5d6c11
Responses
200

Conversion accepted.

object
exportStatus
string

The MP4 export lifecycle state after the request.

Valid values[ "converting", "complete" ]
Exampleconverting
401

Token error. Login again.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

403

Insufficient permissions to access this resource.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

404

The requested resource can not be found.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.