Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Swagger URL for PBI Report Server

I am trying to generate a client in C# from the Swagger resful API on Power BI Report Server. In Visual Studio 2017 there is a feature where you can generate a client proxy from the Solution explorer...
  • mgmeyer's avatar
    mgmeyer
    8 years ago

    If you just want the JSON file you can get it from SwaggerHub here:

     

    https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0

     

    In the top right you'll see an arrow pointing down, click that and you should see and option to download the JSON. I just noticed that there were some codegen customisations that we missed for PBIRS but added for SSRS which may be why your getting compilation errors, I just added them in I'll try it on my end to make sure it works. However if you still want to try the editor let me know if you see any issues.

     

    Matt M.