Forum Discussion

chrismena's avatar
chrismena
Contributor
9 years ago

Reconstructing post URLs

I'm looking through the documentation but I can't find a way to retrieve the full url for a post. The responses I have gotten include an href, but it only contains the information necessary to retrieve the post via API. How would I provide a link that can be passed to a user to navigate to the post?

  • chrismena - Use ?restapi.response_style=view and you will get view_href as an additional attribute where you will have the absolute URLs for the posts, users etc.

     

    I hope this helps.

  • chrismena - Use ?restapi.response_style=view and you will get view_href as an additional attribute where you will have the absolute URLs for the posts, users etc.

     

    I hope this helps.