Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.07 KB

api.rest

File metadata and controls

43 lines (30 loc) · 1.07 KB

:local = http://localhost:3335 :staging = http://fifa-elo-staging.herokuapp.com :prod = http://fifa-elo.herokuapp.com :league_id = 781c6c09-6dd8-4bf3-8647-225f1f542967

# check if the resources work GET :local/css/screen.css

# check if the resources work GET :local/js/compiled/app.js

# fetch players GET :local/api/players?league_id=:league_id

# fetch all the leagues GET :local/api/leagues

# fetch the league id page GET :local/league/:league_id

# Fetch the css GET :local/js/compiled/app.js?git_sha=1fda0a61-e581-407c-9f2e-9e51b7ce6491

# check why leagues list not coming up GET :staging

# Check prod now GET :prod

# Check that the github authentation works GET :local/oauth2/github

# test the oauth2 callback to see what happens GET :local/api/oauth2/github/callback?code=xxx&state=xxx

# check if a user is authenticated already GET :local/authenticated

# big one GET https://fifa-elo-staging.herokuapp.com/api/games?league_id=dd55291f-c7bd-4bfd-98f5-8bce23a5628d

# different one GET https://fifa-elo-staging.herokuapp.com/api/games?league_id=32c3f6d2-59b8-4912-8987-3013b383b2a3