GET reference table on custom endpoint "/user/{user_id}/[CUSTOM]"

Options

I created another endpoint "/user/{user_id}/groups" and here i want to collect all the group data for the relevant user.. Im not quite sure how to accomplish this though..

Can anyone in the community help out with this?

Best Answer

Answers

  • SimonKefas
    Options

    I want the data to be responded as a list with all the parameters inside the groups table

  • Louis Machado - CSA
    Louis Machado - CSA Administrator

    ADMIN

    edited November 2023
    Options

    Hi Simon,

    It's not crystal clear to me what you're trying to achieve, but if you want to pull data from a table using the relationship with the user table, you will want to use addons.

    https://docs.xano.com/working-with-data/addons

    Let me know if that points you in the right direction