I uploaded jpeg image for an account. The jpeg image file id is 069i0000001dkl8 and it can't access via, https://c.na15.content.force.com/servlet/servlet.FileDownload?file=069i0000001dkl8
But it can acces via, https://c.na15.content.force.com/sfc/servlet.shepherd/version/download/068i0000001hwPn?asPdf=false&operationContext=CHATTER
Is there a way that I can get downloadable URL for attachment in salesforce (using api calls)? Or Is there a way that I can build downloadable URL by processing some fields in API object (SObject)?
Thanks.