-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] Create resources for football: format
, state
and event
#27
Comments
event.schema.ts
|
match-format.schema.ts
|
states.schema.ts
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/football
GET /:matchId/state
: To fetch the latest match stateGET /:matchId/event?id=previousEventId
: To fetch the most recent event next to the passed event (get most recent if nothing is passed)GET /:matchId/event-series?id=previousEventId
: To fetch all the events for the match sorted in descending order of time after the event with idpreviousEventId
. (get all if nothing is passed)POST /:matchId/event
: To post a new event.PATCH /event/:eventId
: To patch a created eventDELETE /event/:eventId
: To delete a created eventNOTE: Comment the schema for the three entities in the same thread.
The text was updated successfully, but these errors were encountered: