Apologizes on terminology mistakes. I’m an ios dev working with Strapi devs so I can only explain in general terms that I researched or know of from ios and JS thus far
I am building a mobile app that GETS a JSON request from the auto generated Strapi endpoint say “/events”
Its returning all fields and anything has-many of collections associated with it. Example, events array has-many venues
[
{
"id": 76,
"title": "Neat picnics",
"urlExternal": "...",
"guestLimit": null,
"published_at": "2022-06-13T19:54:09.408Z",
"created_at": "2022-06-13T19:54:06.234Z",
"updated_at": "2022-06-30T00:00:01.744Z",
"subtitle": null,
"guid": "c436e93b-699f-496c-a70f-782250faaeba",
"venues": [{
"id": 49,
"name": "name",
"published_at": "2021-09-17T17:20:57.876Z",
"created_at": "2021-09-17T17:20:55.793Z",
"updated_at": "2022-01-24T13:12:59.527Z",
"facebookUrl": null,
"instagramUrl": null,
}],
...
]
What i would like is one or two options
One:
Have Strapi send a vary paired down results say removing facebookUrl, instagramUrl, etc, i removed a lot for this example
Two:
Have Strapi not send the has-many “venues” data in full and instead just send the “name” and the GUID or id so I can do a lookup at some other point.
Either some pointers for custom GET request or some config the Strapi team im working with could look over and implement some how would help a ton.
I will happily revise the question if necessary. Thank you