- Account
- Category
- Father
- /account/{accountId}/categoryPOST
- /account/{accountId}/category/mapping/treeGET
- /account/{accountId}/category/treeGET
- /account/{accountId}/category/{id}PUT
- /account/{accountId}/category/{id}DELETE
- /account/{accountId}/category/{id}/mappingPOST
- /account/{accountId}/category/{id}/mappingDELETE
- /account/{accountId}/category/{id}/movePUT
- Product
- Transaction
- Timing
- /account/{accountId}/transaction/amount/rankGET
- /account/{accountId}/transaction/category/amount/rankGET
- /account/{accountId}/transactionPOST
- /account/{accountId}/transaction/day/statisticGET
- /account/{accountId}/transaction/listGET
- /account/{accountId}/transaction/{id}POST
- /account/{accountId}/transaction/month/statisticGET
- /account/{accountId}/transaction/totalGET
- /account/{accountId}/transaction/{id}GET
- /account/{accountId}/transaction/{id}PUT
- /account/{accountId}/transaction/{id}DELETE
- Common
- User
- 未命名接口GET
/account
云端 Mock
云端 Mock
POST
/account
Account
请求参数
Path 参数
id
integer
必需
Header 参数
User-Agent
string
必需
默认值:
android
Authorization
string
可选
默认值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzZXJ2ZXIiLCJzdWIiOiJ1c2VyIiwiZXhwIjoxNzM3ODYwNjU4LCJqdGkiOiI3In0.WX93iCJi26EskXhVZ-uc4LXVtRIyeV110mi9_COARzU
Body 参数application/json
Icon
string
必需
Location
string
必需
Name
string
必需
Type
enum<string>
必需
枚举值:
independentshare
示例
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://m1.apifoxmock.com/m1/2374708-0-default/account' \
--header 'User-Agent;' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzZXJ2ZXIiLCJzdWIiOiJ1c2VyIiwiZXhwIjoxNzM3ODYwNjU4LCJqdGkiOiI3In0.WX93iCJi26EskXhVZ-uc4LXVtRIyeV110mi9_COARzU' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
Data
object
response.AccountDetail
CreateTime
string
可选
CreatorId
integer
可选
CreatorName
string
可选
Icon
string
可选
Id
integer
可选
JoinTime
string
可选
Location
string
可选
Name
string
可选
Role
enum<string>
accountModel.UserRole
枚举值:
readerownEditoradministratorcreator
Type
enum<string>
accountModel.Type
枚举值:
independentshare
UpdateTime
string
可选
Msg
string
可选
示例值:
success
示例
{
"Data": {
"CreateTime": "string",
"CreatorId": 0,
"CreatorName": "string",
"Icon": "string",
"Id": 0,
"JoinTime": "string",
"Location": "string",
"Name": "string",
"Role": "reader",
"Type": "independent",
"UpdateTime": "string"
},
"Msg": "success"
}
修改于 2024-10-29 18:12:28