8 Replies Latest reply on Mar 23, 2017 9:55 AM by Hugh Nguyen

    Getting High Resolution Images via REST API V2.4 for views under sites

    Vishal Prajapati

      Hi,

       

        I am trying to generate view only Dashboard via REST API and the Charts are loading in High resolution for Default Project.

         I looked at -> https://community.tableau.com/docs/DOC-8361

         As mentioned in the post : 

      curl 'http://54.203.245.18/views/Regional/Obesity.png' -H 'Cookie: workgroup_session_id=e474bee3d0c653b12cb342d35cab86b9' -H 'Connection: keep-alive' --compressed > Obesity.png

         This URL is calling view under Default Project, not under any site, modifying this URL as follows also doesn't seams to work.

       

      curl 'http://54.203.245.18/api/2.4/sites/<siteId>/views/Regional/Obesity.png' -H 'Cookie: workgroup_session_id=e474bee3d0c653b12cb342d35cab86b9' -H 'Connection: keep-alive' --compressed > Obesity.png

       

       

        But when I am trying to do the same for SITES it is only giving me the Thumbnail Image of 192X192 px.

         I am using following Call for getting Image, and as it is mentioned in the Document it will get the thumbnail image only.

      URI GET /api/api-version/sites/site-id/workbooks/workbook-id/views/view-id/previewImage

       

        Is There any way we can get the High Resolution Images images for charts created under sites also ?