Clanbite clanbite/v1

GET /wp-json/clanbite/v1/matches

GET

List matches with optional filters and pagination.

Access is checked by read_permission().

ArgumentTypeDefaultDescription
teaminteger0Filter matches involving this team (post ID).
statusstring''Filter by match status slug.
per_pageinteger10
Minimum 1 ยท Maximum 100
pageinteger1
Minimum 1
orderstringascSort scheduled time ascending or descending.
One of asc, desc

Handled by get_matches()

Example

curl -X GET 'https://example.com/wp-json/clanbite/v1/matches'

Defined in inc/extensions/matches/class-matches-rest.php