How to run robots in queue in uiPath using RestApi

Hi All,

Suppose I have 2 robots and 3 jobs, my first job should run on 1st robot 2nd on second robot and 3rd should wait for the robots to finish first one and get assigned to the robot which finishes first.

Thanks
Prashant