Skip to content

isuruperera/ValianzScoreBoardBackEnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValianzScoreBoardBackEnd

API

Request Data

Endpoint

http://host:8080/api/requestData

  • Request: {"requestType":[int],"teamID":[int]}
  • Method:POST
  • requestType:1 = Get All Game Data
  • requestType:2 = Get All game data for a single team
  • requestType:3 = Get all data about games

Should send basic auth information in the header. * default user: user * defalt password:password

Update Data

Endpoint

http://host:8080/api/updateData

  • Request: {"requestType":[int],"teamID":[int],"gameID":[int],"score":[float]}
  • Method:POST
  • requestType:1 = Insert new game score
  • requestType:2 = Update game score

Should send auth information in the header. *Roles Allowed: ROLE_ADMIN

Auth

Endpoint

http://host:8080/api/auth/user

  • default user: user
  • defalt password:password

http://host:9393/api/auth/user

  • default user: valianz
  • defalt password:******* *Roles Allowed: ROLE_ADMIN,ROLE_USER

About

Valianz ScoreBoard BackEnd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages