- 文章服务
- article-field-controller
- article-field-manage-controller
- article-comment-controller
- article-group-controller
- article-tag-controller
- test-controller
- 信息服务
- channel-controller
- user-notify-controller
- user-private-message-controller
- system-message-controller
- 用户服务
- user-active-controller
- user-collection-controller
- user-collection-group-controller
- user-following-controller
- user-info-controller
- user-points-controller
- user-tag-controller
- user-controller
- 问答服务
- 数据服务
- 搜索服务
- 圈子服务
- infinity-club-controller
- infinity-controller
- infinity-comment-controller
- infinity-topic-controller
- 认证服务
createInfinityTopic
POST
/infinity/topic
infinity-topic-controller
请求参数
Body 参数application/json
cover
string
可选
description
string
可选
id
integer <int64>
可选
name
string
可选
notice
string
可选
示例
{
"cover": "string",
"description": "string",
"id": 0,
"name": "string",
"notice": "string"
}
示例代码
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/2103283-0-default/infinity/topic' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200OK
application/json
Body
cover
string
可选
createTime
string <date-time>
可选
createUser
object (User_7)
可选
createTime
string <date-time>
可选
deleted
boolean
可选
experience
integer <int32>
可选
following
boolean
可选
id
string
可选
lastModifiedTime
string <date-time>
可选
level
integer <int32>
可选
mutually
boolean
可选
nickname
string
可选
userInfo
object (UserInfo_7)
可选
username
string
可选
deleted
boolean
可选
description
string
可选
followerNum
integer <int64>
可选
id
string
可选
infinityNum
integer <int64>
可选
lastModifiedTime
string <date-time>
可选
name
string
可选
notice
string
可选
viewNum
integer <int64>
可选
示例
{
"cover": "string",
"createTime": "2019-08-24T14:15:22Z",
"createUser": {
"createTime": "2019-08-24T14:15:22Z",
"deleted": true,
"experience": 0,
"following": true,
"id": "string",
"lastModifiedTime": "2019-08-24T14:15:22Z",
"level": 0,
"mutually": true,
"nickname": "string",
"userInfo": {
"avatar": "string",
"birth": "2019-08-24T14:15:22Z",
"createTime": "2019-08-24T14:15:22Z",
"deleted": true,
"gender": "MALE",
"id": "string",
"lastModifiedTime": "2019-08-24T14:15:22Z",
"sign": "string",
"user": {}
},
"username": "string"
},
"deleted": true,
"description": "string",
"followerNum": 0,
"id": "string",
"infinityNum": 0,
"lastModifiedTime": "2019-08-24T14:15:22Z",
"name": "string",
"notice": "string",
"viewNum": 0
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2022-12-19 15:53:14