---
# System prepended metadata

title: API JSON 調整
tags: [work]

---

# API JSON 調整



| API | Resquest調整 | Response調整 |
| -------- | -------- | -------- |
| POST /api/v1/auth | user_code -> bar </br> device_type -> dtp </br> device_name -> dn   | user_id -> ui </br> type -> utp </br> name -> un </br> birthday -> bd </br> slogan -> sl   |
| POST /api/v1/auth/join | user_code -> bar </br> name -> un </br> user_type -> utp   | user_id -> ui     |
| GET /api/v1/ | none | user_id -> ui </br> type -> utp </br> name -> un </br> birthday -> bd </br> slogan -> sl |
| PUT /api/v1/user/avatar/commit |none | aou -> ou </br>   |
| POST /api/v1/chats/{ci}/messages | none | sno -> sn |
| GET /api/v1/chats/{ci}/messages{?ct,d} | none | meta -> md |
| GET /api/v1/chats/{ci}/messages/top | none | meta -> md |
| GET /api/v1/stickers/{si} | none | sid -> si |



###### tags: `work`