Skip to main content

Play Or Stop Music On Robot

POST 

/api/v1/music/play

Starts or stops playback of the given music file on the robot via ROS service call, independent of any configured rules. play: true starts playback, play: false stops it.

Request​

Body

    file_id stringrequired

    Possible values: non-empty

    GridFS ObjectId of the file to play on the robot

    play booleanrequired

    true to start playback, false to stop it

Responses​

Music playback started or stopped on robot

Schema
    success booleanrequired
    message stringrequired
    status numberrequired
    data objectrequired
    success booleanrequired
    message stringrequired
Loading...