app:transcode:session:show
Show one transcode session: its owner, job, video, state, priority, audio profile and progress. The command shows what GET /api/transcode/sessions/{publicId} returns, which the admin Transcode page calls for a session's details.
Quick start
make exec cmd="php bin/console app:transcode:session:show aB3dE5fG7hJ9kL1mN3pQr"
Arguments
| Argument | Required | Description |
|---|---|---|
publicId |
Yes | Public ID of the session, as app:transcode:session:list prints it |
Options
| Option | Description |
|---|---|
--json |
Print the session as the API returns it, as a JSON object on stdout |
Details
The API shows a session only to its owner and to administrators. The shell has full authority and shows any session, finished ones included.
The command identifies the session, user, job and video by their public IDs. It also prints the state, priority, audio profile name, current segment and wall-clock offset, and the creation and update times in ISO 8601 format. With --json it prints every field of the API response, including the full audio profile and the session metrics.
The command is read-only.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Session shown |
| 1 | No session has this public ID |
| 2 | The argument is not a public ID |