• Resolved compil3

    (@compil3)


    Hey all,
    So previously I had issues build a REST API call to search for any player in the database, in which I solved it using wp-json/sportpress/v2/players?search=NAME.

    The issue I’m running into now is selecting what fields I want displayed using wp-json/sportpress/v2/players?search=NAME&_fields=FIELDS. So far I’ve testing a bunch of fields but if I include statistics I get “There has been a critical error on this website.” I would just like to retreive title, link, slug and statistics, but this one field throws the error.

    Is there a specific way to just grab statistics?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘RESTApi Searching & results’ is closed to new replies.