Game Start
POST https://{game_host_ext_ssrm}/v1.0/ssrm/game/start
Headers
Name
Type
Description
Context-Type*
string
application/json
Authorization
string
Login A.T
Request Body
Name
Type
Description
scissors_count
int64
가위개수
rock_count
int64
바위개수
paper_count
int64
보개수
bet_hand
int64
배팅 한 손
1: 바위
2: 보
3: 가위
{
"return": 0,
"message": "success",
"value": {
"log_id": 66,
"log_index": "c531ceadb55ec0825bceed87c2f15287b60d90237a994a9f00514bbc7f0d0d99",
"chip_quantity": 0
}
}{
"log_id": 66,
"scissors_count": 10,
"rock_count": 5,
"paper_count": 8,
"bet_hand": 1
}curl --location 'https://dev.lumiwavelab.com:51152/v1.0/ssrm/game/start' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"log_id": 66,
"scissors_count": 10,
"rock_count": 5,
"paper_count": 8,
"bet_hand": 1
}'key
data type
desc.
log_id
int
게임 룸 ID
log_index
string
AES info
chip_quantity
int
배팅 후 남은 잔여 포인트 수량
return
message
desc.
0
success
성공
500
Internal server error
70000
DB Error
내부 DB 에러
70001
Cache Error
캐싱 실패
71100
Invalid jwt token
잘못된 토큰
72500
Invalid Continue count
유효하지 않은 연속 진행
72505
Invalid bet chip quantity
유효하지 않은 배팅 수량
72512
Not enough chip quantity
칩 보유량 부족
72517
Block User!
차단 유져
72518
Please register the innoid first
innoid를 먼저 등록해주세요
72519
Invalid hand count
유효하지 않은 손 개수
Last updated