• It’s me again ??

    I’ve posted this another thread for a while but I guess it’s better to make a separate thread.

    Is it intended that the “events” scheme in wp-json/sportspress/v2/teams/teamid contains all events of a league and not only the events of the specific team?

    Maybe an example for better understanding:

    I have four teams

    a) Test1 with the ID 1111
    b) Test2 with the ID 1112
    c) Test3 with the ID 1113
    d) Test4 with the ID 1114

    and two events

    1) Test1 vs Test2 ID: 2221
    2) Test3 vs Test4 ID: 2222

    When I call wp-json/sportspress/v2/teams/1111 (which should give me the data of Test1) the “events” scheme contains the events 2221 (correctly) AND 2222 which seems to be not correct, because Test1 is not part of event 2222. Could it be a bug or do I have an error in reasoning?

  • The topic ‘API Team Events’ is closed to new replies.