Calendar Match
new_match
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
new_match
parameters*
JSON
check method parameters
new_match Method Parameters
calendarId
string
Calendar Id the match should be included in.
startTimeInMillis
number
The expected match start time in milliseconds.
name
string
The match short name.
description
string
Match description.
image
string
An image base64 encoded string to announce the match.
new_match API Call Example
new_match Call Response
When the API call is successfully executed, it returns thematchId
for the newly created match.
list_matches
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
list_matches
parameters
JSON
check method parameters
list_matches Method Parameters (optional)
calendar_id
string
The Calendar Id the match is linked to.
matchId
string
(optional) The Match Id we want to list.
list_matches API Call Example
list_matches Call Response
When the API call is successfully executed, it returns the matches for the provided calendar. If we give a Match Id, it will just return the match we want to list.
update_match-cube-price
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
update-match-cube-price
parameters*
JSON
check method parameters
update_match-cube-price Method Parameters
matchId
string
The Match Id of the match you want to change the cube default price.
calendarId
string
The Calendar Id the match is linked to.
priceInCents
number
The price in USD cents (e.g. 1000 for 10 USD)
update_match-cube-price API Call Example
update_match-cube-price Call Response
When the API call is executed without errors, it returns a successful status code.
update_match-status
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
update-match-cube-price
parameters*
JSON
check method parameters
update_match-status Method Parameters
matchId
string
The Match Id of the match you want to change the cube default price.
calendarId
string
The Calendar Id the match is linked to.
status
string
The match status. Use one of the following values: "scheduled", "playing", "finished", "canceled"
update_match-status API Call Example
update_match-status Call Response
When the API call is executed without errors, it returns a successful status code.
delete_match
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
delete_calendar
parameters*
JSON
check method parameters
delete_match Method Parameters
matchId
string
The Match Id of the match we want to delete.
calendarId
string
The Calendar Id the match is linked to.
delete_match API Call Example
delete_match Call Response
When the API call is executed without errors, it returns a successful status code.
Last updated