Inactive User
5 years agoWhere is the actual URL in a V1 response?
I get returned the href for another API call .... I'm looking for a url I can use to link. What I get in all areas of the message object are values like:
- href: "/threads/id/9168"
- Canonical url is null
In V2 I can get the actual URL. How to do that in V1? I need to use V1 because I'm calling the API from outside Freemarker.
You need to add ?restapi.response_style=view parameter, and then you will get a view_href property returned for the thread.
- Inactive User5 years ago
MattV Which parameter? I already have a ?restapi.response_format=json parameter. Thanks.
Any idea where the documentation for this is?
Add
restapi.response_style=view
To your parameters
Documentation is here: https://developer.khoros.com/khoroscommunitydevdocs/docs/get-a-resource-url