Game End
POST https://{game_host_ext_ssrm}/v1.0/ssrm/game/end
Headers
Name
Type
Description
Context-Type*
string
application/json
Authorization
string
Login A.T
Request Body
Name
Type
Description
log_id
int64
게임 룸 ID
win_hand
int64
승리 손
1: 가위
2: 바위
3: 보
win_hand_str
string
win_hand를 문자열로 변환 후 encrypt 한 정보
game_result
int64
게임 결과
1: 승리
2: 패배
is_continuous
bool
true : GO fale : STOP
{
"return": 0,
"message": "success"
}
{
"log_id": 31,
"win_hand": 1,
"win_hand_str" :"iBNHL88tZjQWSqj/Ja/2qQ==",
"game_result": 1,
"is_continuous" : true
}curl --location 'https://localhost:51152/v1.0/ssrm/game/end' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"log_id": 31,
"win_hand": 1,
"win_hand_str" :"iBNHL88tZjQWSqj/Ja/2qQ==",
"game_result": 1,
"is_continuous" : true
}'return
message
desc.
0
success
성공
500
internal server error
70000
DB Error
내부 DB 에
72505
Invalid bet point quantity
배팅 수량 오류
72513
Not exist game
존재하지 않은 게임
72514
Invalid params
잘못된 게임 정보
Last updated