Logo
Waktaverse Games Docs
통계 API

통계 입력

사용자의 대상 통계 값을 증가 혹은 감소합니다.

PUT
/api/game-link/stat-add

Authorization

AuthorizationRequiredBearer <token>

In: header

Request Body

application/jsonRequired
statsRequiredarray<object>

입력할 통계들

curl -X PUT "https://example.com/api/game-link/stat-add" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "stats": [
      {
        "id": "minsu_clear",
        "val": 7
      }
    ]
  }'

입력 결과.

{
  "stats": [
    {
      "id": "minsu_clear",
      "val": 7
    }
  ]
}