Skip Navigation

[Resolved] Get Related post from rest api

This support ticket is created 4 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by wilfredC 4 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1551397

Based on this topic https://toolset.com/forums/topic/how-to-show-post-relationships-in-wordpress-rest-api/

I try to use the toolset-rest plugin created by Adriano, and I manage to get the view data, but it cannot get the related post data.

#1552019

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Here is the official Toolset REST API integration Doc:
=> https://toolset.com/documentation/programmer-reference/toolset-integration-with-the-rest-api/

As the Christian suggester the workaround, there could be only that possible workaround to get the related post information - where you should create a filter by your post-relationship and display the related post information.
=> https://toolset.com/forums/topic/how-to-show-post-relationships-in-wordpress-rest-api/#post-1105621

There is no way to expose the related post information with REST API. However - I would recommend you to file a new feature request using the following link that will allow you to raise your voice in front of our product manager:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1553557

My issue is resolved now. Thank you!