This resource allows user to control recording and replay.
Detailed behavior of each command is described below.
GET§
-
/commands/replay§
Return a list of all replay files in the current project.
- Parameters
- Return code
- 200 OK
- 200 OK
-
/commands/replay-detail§
Return detailed information of the current running replay file. (e.g. frame count)
- Parameters
- Return code
- 200 OK
- 400 BAD REQ
POST§
-
/commands/replay/start§
Start replaying.
- Parameters
- name : Replay file name.
- Return code
- 200 OK
- 400 BAD REQ
- 500 INTERNAL SERVER ERR
- Parameters
-
/commands/replay/stop§
Stop replaying.
- Parameters
- Return code
- 200 OK
- 400 BAD REQ
-
/commands/replay/pause§
Pause replaying.
- Parameters
- Return code
- 200 OK
- 400 BAD REQ
-
/commands/replay/resume§
Resume replaying.
- Parameters
- Return code
- 200 OK
- 400 BAD REQ
-
/commands/replay/frame§
Jump to a specific frame in the replay.
- Parameters
- frame : Frame index to move
- Return code
- 200 OK
- 400 BAD REQ
- Parameters
-
/commands/record/start§
Start recording.
- Parameters
- name : Recording file name.
- Return code
- 200 OK
- 400 BAD REQ
- 500 INTERNAL SERVER ERR
- Parameters
-
/commands/record/stop§
Stop recording.
- Parameters
- Return code
- 200 OK
- 400 BAD REQ
-
/commands/record/cancel§
Cancel saving replay files.
- Parameters
- Return code
- 200 OK
- 400 BAD REQ
DELETE§
-
/commands/replay§
Delete a replay file.
- Parameters
- name : Replay file name.
- Return code
- 200 OK
- 400 BAD REQ
- Parameters