Forum Discussion

rivasrd's avatar
rivasrd
Frequent Visitor
1 year ago
Solved

Rest API Get Pipeline Stage Artifacts

Hi. I am having an issue trying to build a "Release" report to show all releases we have done using Power BI Deployment Pipelines. Logic is as Follow:   1 - Get all Pipelines in my tenancy (I am ...
  • rivasrd's avatar
    1 year ago

    I found the issue.

    Rest API for https://api.powerbi.com/v1.0/myorg/pipelines/4654235.../stages/2/artifacts returns a different data structure to the other endpoints...I had a "general" solution that has been using with Datasets, dataflow, pieplines.

  • rivasrd's avatar
    rivasrd
    1 year ago

    Well. now I think the documentation have sample response I should have read better.

    I won´t be able to mantein "general" solution to interact with the REst API, but it´s working ok.

     

    GET https://api.powerbi.com/v1.0/myorg/pipelines/a5ded933-57b7-41f4-b072-ed4c1f9d5824/operations

     

    GET https://api.powerbi.com/v1.0/myorg/pipelines/{pipelineId}/stages/{stageOrder}/artifacts