Saltar navegación

[Resuelto] Fields not showing in REST API

This support ticket is created 4 years, 7 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Zona horaria del colaborador: Africa/Casablanca (GMT+01:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Jamal 4 years, 7 months ago.

Asistido por: Jamal.

Autor
Mensajes
#2197427

Hi,

Repeater and related post fields are not showing in REST API. Please check screenshots for more clarification
enlace oculto
enlace oculto

#2198317

Hello and thank you for contacting Toolset support.

Well, I went through our documentation. And all the available REST integration is only for custom fields. Check this article https://toolset.com/documentation/programmer-reference/toolset-integration-with-the-rest-api/

Repeatable field groups are actually a hidden custom post type, with a hidden one-to-many relationship to the parent post type. And Toolset does not offer a built-in way to publish relationships through REST API. You will need to extend the WordPress API and query the data using the relationship API.
- https://developer.wordpress.org/rest-api/
- https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/

I hope this helps. Let me know if you have any questions.