mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
📚🚧
This commit is contained in:
parent
347c9490fd
commit
cc9196dce5
1 changed files with 13 additions and 3 deletions
|
|
@ -40,7 +40,7 @@
|
|||
| SendFunds | :heavy_check_mark: |
|
||||
| VerifyPassword | :heavy_check_mark: |
|
||||
|
||||
### Meta endpoints
|
||||
### Meta Usage endpoints
|
||||
| name | purpose | json input | path | HTTP Method | correct status | return type | return value | Jresp | Jreq | A | U |
|
||||
| :------------------ | -------------------------------------------------------------------------------------------------- | ------------------------------- | --------------------------------- | :---------: | :------------: | :---------: | :----------------------------: | :----------------: | :----------------: | :----------------------: | :----------------------: |
|
||||
| ChangePassword | changes the password of of Authenticated user | {"pass":string} | api/v1/user/change_password | `PATCH` | 204 | `N/A` | `N/A` | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: |
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
| SetBal | sets the balance of a give users `{name}` | {"name":string,"amount":uint32} | api/v1/admin/set_balance | `PATCH` | 204 | `N/A` | `N/A` | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: |
|
||||
| ImpactBal | modifies the user `{name}`'s balance by `{amount}` if positive itll add, if negative itll subtract | {"name":string,"amount":uint32} | api/v1/admin/impact_balance | `POST` | 200 | uint32_t | new balance after modification | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: |
|
||||
|
||||
### Meta endpoint errors
|
||||
### Meta Usage endpoint errors
|
||||
| name | 400 | 401 | 404 | 406 |
|
||||
| :------------------ | :----------------: | :----------------: | :----------------------: | :----------------: |
|
||||
| ChangePassword | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: |
|
||||
|
|
@ -56,10 +56,20 @@
|
|||
| SetBal | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|
||||
| ImpactBal | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|
||||
|
||||
### Meta endpoint support
|
||||
### Meta Usage endpoint support
|
||||
| name | v1 |
|
||||
| :------------------ | :----------------: |
|
||||
| ChangePassword | :heavy_check_mark: |
|
||||
| AdminChangePassword | :heavy_check_mark: |
|
||||
| SetBal | :heavy_check_mark: |
|
||||
| ImpactBal | :heavy_check_mark: |
|
||||
|
||||
### Sytem Usage endpoints
|
||||
| name | purpose | json input | path | HTTP Method | correct status | return type | return value | Jresp | Jreq | A | U |
|
||||
| :--- | -------------------------- | ---------- | ----------- | :---------: | :------------: | :---------: | :----------: | :---: | :---: | :----------------------: | :----------------------: |
|
||||
| Help | help with usage of the API | `N/A` | api/v1/help | `GET` | 301 | `N/A` | `N/A` | `N/A` | `N/A` | :heavy_multiplication_x: | :heavy_multiplication_x: |
|
||||
|
||||
### System Usage endpoint support
|
||||
| name | v1 |
|
||||
| :--- | :----------------: |
|
||||
| Help | :heavy_check_mark: |
|
||||
Loading…
Reference in a new issue