How to play a job using API and needs to mention which branch that needs to trig

i have to play a button on my pipeline with diffenrt branches. May i know how can i perform that?


As I know (and I may be wrong) you cannot play a specific job via API, but you can play the whole pipeline via Trigger API: Does it help?