Skip to content

Commit 15cf47d

Browse files
authored
release: 1.7.3 (#188)
2 parents fbc74df + 2b3a5fe commit 15cf47d

File tree

5 files changed

+96
-24
lines changed

5 files changed

+96
-24
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Check Persona Evolutionable
2+
3+
펫이 진화가능한지 확인합니다.
4+
5+
## Request
6+
### HTTP METHOD : `GET`
7+
8+
### url : `https://render.gitanimals.org/personas/{personaId}/evolution`
9+
### RequestHeader
10+
- Authorization: `{token}`
11+
12+
## Response
13+
14+
```json
15+
{
16+
"evolutionAble": true
17+
}
18+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Evolution Persona
2+
3+
펫을 진화시킵니다.
4+
100 레벨 이상의 펫을 선택해서 진화시킬 수 있습니다.
5+
단, 진화가능한 펫의 타입이 존재하지 않는 펫의 경우 진화시킬 수 없습니다.
6+
7+
## Request
8+
### HTTP METHOD : `POST`
9+
10+
### url : `https://render.gitanimals.org/personas/{personaId}/evolution`
11+
### RequestHeader
12+
- Authorization: `{token}`
13+
14+
## Response
15+
16+
```json
17+
{
18+
"id": "1",
19+
"type": "LITTLE_CHICK_SUNGLASSES",
20+
"grade": "EVOLUTION" // DEFAULT, EVOLUTION
21+
}
22+
```

docs/api/render/get_all_pets.md

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,56 +8,72 @@
88

99
## Response
1010

11+
- grade >>
12+
- DEFAULT: 기본 (뽑기 혹은 커밋으로 획득 가능)
13+
- EVOLUTION: 진화 (진화로만 획득가능)
14+
1115
```json
1216
{
1317
"personas": [
1418
{
1519
"type": "LITTLE_CHICK_SUNGLASSES",
16-
"dropRate": "10%"
20+
"dropRate": "10%",
21+
"grade": "DEFAULT" // DEFAULT, EVOLUTION, MANAGER
1722
},
1823
{
1924
"type": "LITTLE_CHICK_SUNGLASSES",
20-
"dropRate": "0.7%"
25+
"dropRate": "0.7%",
26+
"grade": "DEFAULT"
2127
},
2228
{
2329
"type": "LITTLE_CHICK_SUNGLASSES",
24-
"dropRate": "33%"
30+
"dropRate": "33%",
31+
"grade": "DEFAULT"
2532
},
2633
{
2734
"type": "LITTLE_CHICK",
28-
"dropRate": "24%"
35+
"dropRate": "24%",
36+
"grade": "DEFAULT"
2937
},
3038
{
3139
"type": "GOBLIN_BAG",
32-
"dropRate": "10%"
40+
"dropRate": "10%",
41+
"grade": "DEFAULT"
3342
},
3443
{
3544
"type": "LITTLE_CHICK_SUNGLASSES",
36-
"dropRate": "10%"
45+
"dropRate": "10%",
46+
"grade": "DEFAULT"
3747
},
3848
{
3949
"type": "GOOSE",
40-
"dropRate": "10%"
50+
"dropRate": "10%",
51+
"grade": "DEFAULT"
4152
},
4253
{
4354
"type": "FISH_MAN",
44-
"dropRate": "10%"
55+
"dropRate": "10%",
56+
"grade": "DEFAULT"
4557
},
4658
{
4759
"type": "GOBLIN",
48-
"dropRate": "10%"
60+
"dropRate": "10%",
61+
"grade": "DEFAULT"
4962
},
5063
{
5164
"type": "LITTLE_CHICK_SUNGLASSES",
52-
"dropRate": "10%"
65+
"dropRate": "10%",
66+
"grade": "DEFAULT"
5367
},
5468
{
5569
"type": "LITTLE_CHICK",
56-
"dropRate": "10%"
70+
"dropRate": "10%",
71+
"grade": "DEFAULT"
5772
},
5873
{
5974
"type": "LITTLE_CHICK",
60-
"dropRate": "10%"
75+
"dropRate": "10%",
76+
"grade": "DEFAULT"
6177
}
6278
]
6379
}

docs/api/render/get_my_pets.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,95 +21,107 @@
2121
"level": "8",
2222
"visible": true,
2323
"appVisible": false,
24-
"dropRate": "10%"
24+
"dropRate": "10%",
25+
"grade": "DEFAULT"
2526
},
2627
{
2728
"id": "2",
2829
"type": "LITTLE_CHICK_SUNGLASSES",
2930
"level": "7",
3031
"visible": true,
3132
"appVisible": false,
32-
"dropRate": "0.7%"
33+
"dropRate": "0.7%",
34+
"grade": "DEFAULT"
3335
},
3436
{
3537
"id": "3",
3638
"type": "LITTLE_CHICK_SUNGLASSES",
3739
"level": "11",
3840
"visible": true,
3941
"appVisible": false,
40-
"dropRate": "33%"
42+
"dropRate": "33%",
43+
"grade": "DEFAULT"
4144
},
4245
{
4346
"id": "4",
4447
"type": "LITTLE_CHICK",
4548
"level": "11",
4649
"visible": true,
4750
"appVisible": false,
48-
"dropRate": "24%"
51+
"dropRate": "24%",
52+
"grade": "DEFAULT"
4953
},
5054
{
5155
"id": "5",
5256
"type": "GOBLIN_BAG",
5357
"level": "15",
5458
"visible": true,
5559
"appVisible": false,
56-
"dropRate": "10%"
60+
"dropRate": "10%",
61+
"grade": "DEFAULT"
5762
},
5863
{
5964
"id": "6",
6065
"type": "LITTLE_CHICK_SUNGLASSES",
6166
"level": "14",
6267
"visible": true,
6368
"appVisible": false,
64-
"dropRate": "10%"
69+
"dropRate": "10%",
70+
"grade": "DEFAULT"
6571
},
6672
{
6773
"id": "7",
6874
"type": "GOOSE",
6975
"level": "11",
7076
"visible": true,
7177
"appVisible": false,
72-
"dropRate": "10%"
78+
"dropRate": "10%",
79+
"grade": "DEFAULT"
7380
},
7481
{
7582
"id": "8",
7683
"type": "FISH_MAN",
7784
"level": "14",
7885
"visible": true,
7986
"appVisible": false,
80-
"dropRate": "10%"
87+
"dropRate": "10%",
88+
"grade": "DEFAULT"
8189
},
8290
{
8391
"id": "9",
8492
"type": "GOBLIN",
8593
"level": "16",
8694
"visible": true,
8795
"appVisible": false,
88-
"dropRate": "10%"
96+
"dropRate": "10%",
97+
"grade": "DEFAULT"
8998
},
9099
{
91100
"id": "10",
92101
"type": "LITTLE_CHICK_SUNGLASSES",
93102
"level": "20",
94103
"visible": true,
95104
"appVisible": false,
96-
"dropRate": "10%"
105+
"dropRate": "10%",
106+
"grade": "DEFAULT"
97107
},
98108
{
99109
"id": "11",
100110
"type": "LITTLE_CHICK",
101111
"level": "13",
102112
"visible": true,
103113
"appVisible": false,
104-
"dropRate": "10%"
114+
"dropRate": "10%",
115+
"grade": "DEFAULT"
105116
},
106117
{
107118
"id": "12",
108119
"type": "LITTLE_CHICK",
109120
"level": "12",
110121
"visible": true,
111122
"appVisible": false,
112-
"dropRate": "10%"
123+
"dropRate": "10%",
124+
"grade": "DEFAULT"
113125
}
114126
]
115127
}

src/main/kotlin/org/gitanimals/identity/controller/request/RedirectWhenSuccess.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ enum class RedirectWhenSuccess(
2424
"https://api.gitanimals.org/logins/oauth/github/tokens/APP",
2525
"gitanimals://auth?jwt={jwt}"
2626
),
27+
WEB_VIEW(
28+
"https://api.gitanimals.org/logins/oauth/github/tokens/WEB_VIEW",
29+
"https://git-animal-client-webview.vercel.app/auth?jwt={jwt}"
30+
)
2731
;
2832

2933
fun successUriWithToken(jwt: String): String = successUri.replace("{jwt}", jwt)

0 commit comments

Comments
 (0)