I have a parent pipeline which publish pipeline artifacts.
And the child pipeline which has a parent pipeline added as a resource pipeline and consumes the parent's artifacts.
I would like to programatically (by REST API) create a run of multistage child pipeline and provide the parent pipeline resource.
How to craft a request body for pipelines' run endpoint? According to ms docs PipelineResourceParameters contains only version? Are there any examples how to use it? Is it a resource name and buildnumber?
Where can I find any examples of requests bodies?