-
Notifications
You must be signed in to change notification settings - Fork 5
API_Statement
Yancy edited this page Dec 20, 2020
·
2 revisions
| Name | HTTP METHOD | URL | Description |
|---|---|---|---|
| getUserInfo | GET | /user/info | ν΄λΉ μ μ μ 보 μ‘°ν |
| getUsersByAccountBook | GET | /user/accountBook | ν΄λΉ κ°κ³λΆμ μμλ μ μ λͺ©λ‘ μ‘°ν |
| getInviteUsers | GET | /user/inviteUser | ν΄λΉ κ°κ³λΆμ μ μ μΆκ° |
| updateMembers | POST | /user/members | κ°κ³λΆμ μ΄λν λ©€λ², λ΄λ³΄λΌ λ©€λ² λ¦¬μ€νΈλ₯Ό λ°μ μλ‘μ΄ κ°κ³λΆ λ©€λ² λ¦¬μ€νΈλ‘ μμ |
| updateUserInfo | POST | /user | μ μ μ 보 μμ |
| postLoginGithub | POST | /user/githublogin | κΉνλΈ OAuth λ‘κ·ΈμΈ |
| postLoginNaver | POST | /user/naverlogin | λ€μ΄λ² OAuth λ‘κ·ΈμΈ |
| postLoginKakao | POST | /user/kakaologin | μΉ΄μΉ΄μ€ OAuth λ‘κ·ΈμΈ |
| Name | HTTP METHOD | URL | Description |
|---|---|---|---|
| getPayments | GET | /payment | μ νν κ°κ³λΆμ λͺ¨λ κ²°μ μλ¨ μ‘°ν |
| getTransactions | GET | /payment/:cardName/:type/:year/:month | μ νν μΉ΄λμ [:year], [:month]μ κ²°μ λ΄μ μμΈ μ‘°ν - typeμ all(μμ +μ§μΆ), μμ , μ§μΆ |
| addPayment | POST | /payment | κ²°μ μλ¨ μΆκ° |
| updatePayment | PATCH | /payment | κ²°μ μλ¨ μ 보 μμ |
| deletePayment | DELETE | /payment | κ²°μ μλ¨ μμ |
| Name | HTTP METHOD | URL | Description |
|---|---|---|---|
| getTransactions | GET | /transaction | ν΄λΉ κ°κ³λΆμ κ±°λ λ΄μ μ‘°ν |
| getCalendarTransactions | GET | /transaction/:year/:month | μ νν [:year], [:month]μ λ§λ κ±°λλ΄μ μ‘°ν |
| addTransaction | POST | /transaction | κ±°λ λ΄μ μΆκ° |
| updateTransaction | PATCH | /transaction | κ±°λ λ΄μ μμ |
| deleteTransaction | DELETE | /transaction | κ±°λ λ΄μ μμ |
| Name | HTTP METHOD | URL | Description |
|---|---|---|---|
| getAllAccountBooks | GET | /accountBook | λ‘κ·ΈμΈν μ¬μ©μμ κΆνμ΄ μλ λͺ¨λ κ°κ³λΆ λͺ©λ‘ μ‘°ν |
| getAccountBook | GET | /accountBook/:accountBookId | νΉμ κ°κ³λΆ μ‘°ν |
| createAccountBook | POST | /accountBook | κ°κ³λΆ μμ± |
| addAccountBookUsers | POST | /accountBook/users | κ°κ³λΆμ μ μ μΆκ° |
| addAccountBookTag | POST | /accountBook/tag | κ°κ³λΆμ tag μΆκ° |
| updateAccountBook | PATCH | /accountBook | κ°κ³λΆ μ΄λ¦ μμ |
| updateAccountBookTag | PATCH | /accountBook/tag | κ°κ³λΆ tag μ΄λ¦ μμ |
| deleteAccountBook | DELETE | /accountBook/:accountBookId | κ°κ³λΆ μμ |
| deleteAccountBookTag | DELETE | /accountBook/:accountBookId/tag/:tagName | κ°κ³λΆ tag μμ |