Skip to content

Commit 96fad1e

Browse files
committed
docs: 유저 데이터 조회 API를 정의한다
1 parent 1866055 commit 96fad1e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/api/render/get_user_info.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## Get render user info
2+
3+
렌더 유저 정보를 조회합니다.
4+
5+
## Request
6+
### HTTP METHOD : `GET`
7+
### url : `https://render.gitanimals.org/users`
8+
9+
### RequestHeader
10+
- Authorization: `{token}`
11+
12+
## Response
13+
14+
200 OK
15+
16+
```json
17+
{
18+
"id": "1",
19+
"username": "devxb", // 사용자 이름
20+
"contribution": 12345,
21+
"personaCount": 12345,
22+
"visitor": 30, // 방문자 수
23+
"contributionsForNextPersona": { // 다음펫을 얻기위한 contributions양
24+
"current": 15, // 현재 값
25+
"max": 30 // 최댓 값
26+
}
27+
}
28+
```

0 commit comments

Comments
 (0)