Returning only a few fields of a thing via an API call

Im getting this json result when getting the api:

"categories": [
    "id": "1, 2, 3",
    "name": “Example 1, Example 2, Example 3”,
    "slug": “ex-1, ex-2, ex”-3
  ]

with this text formatted here:

1 Like


1 Like

Got it thanks!

1 Like

You’re welcome!