Skip to content

Commit 483e70b

Browse files
committed
docs: 펫 다중 선택 API 문서를 제공한다
1 parent 8d66c84 commit 483e70b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Merge persona level v2
2+
3+
펫의 레벨을 합칩니다.
4+
재물이 된 펫은 영구적으로 삭제되며 (복구 불가능)
5+
재물 펫이 갖고있는 레벨만큼 합성된 펫의 레벨이 증가합니다.
6+
ex. A펫, B펫이 있고, B펫이 재물일때, B펫의 레벨만큼 A펫 레벨이 증가함.
7+
8+
## Request
9+
### HTTP METHOD : `PUT`
10+
### url : `https://render.gitanimals.org/personas/merges`
11+
### RequestHeader
12+
- Authorization: `{token}`
13+
- Api-Version: 2
14+
### RequestBody
15+
``` json
16+
{
17+
"increasePersonaId": "1",
18+
"deletePersonaId": ["2", "3", "4", "5", "6", "7"] // 합성에 사용될 펫의 Id
19+
}
20+
```
21+
22+
## Response
23+
24+
200 OK
25+
26+
```json
27+
{
28+
"id": "12345", // increase된 pet의 id
29+
"type": "GOOSE", // persona의 type
30+
"level": "12345", // 상승된 펫의 id
31+
"visible": true, // farms에서 보이는여부
32+
"dropRate": "드롭될 확률"
33+
}
34+
```

0 commit comments

Comments
 (0)