윌스너 채팅참여 - Willson-2019/Willson-Server GitHub Wiki

URL

[PATCH] ~/api/v1/willsoner/chat/join/:match_idx

REQUEST PARAMETER NAME DESCRIPTION
header x-token 엑세스 토큰 access token

응답예시

성공

{
    "code": "success",
    "message": "success",
    "data": {
        "created_at": 1603217012000,
        "updated_at": 1603217012000,
        "idx": 15145,
        "status": "chat",
        "roomkey": "YvWRmAakkcTqvUw3iTqlYdbOV0A3_CirtNcCVUedTFnoydz2N9W7X0fg1_1603217353252",
        "admin_selected": 0,
        "score": 56,
        "is_extended": 0,
        "asker_join": 1,
        "willsoner_join": 1,
        "concern_idx": 1374,
        "date_idx": null,
        "willsoner_idx": 193
    }
}

access token이 만료된 경우

{
    "code": "access_token_expired",
    "message": "Access token expired"
}

결과를 찾지 못한 경우

{
    "code": "not_found",
    "message": "Result not found"
}