1 Reply Latest reply on May 31, 2016 5:17 AM by o.wagner

    REST: How to get scaled images?

    o.wagner

      Hi all,

       

      I want to access an image (which is a uploaded file). That works great via the /api/core/v3/contents/{contentID} endpoint. But this endpoint gives me the original image. What if I want to receive only a smaller image (e.g., regarding performance)? I have tried it via the images endpoint but had no access. In the stream of our community I see that something similar is done with the following call: /servlet/JiveServlet?bodyImage=true&contentType=image&maxHeight=70&maxWidth=500&binaryBodyID=1963 . Is there any possibility to get the binaryBodyID? When I look into the rest response of /contents/{contentID} for this picture, I don't see any key that has the value 1963. Ryan Rutan

       

      Thanks
      Onke