DDL
  1. article-field-controller
DDL
  • 文章服务
    • article-field-controller
      • createArticle
        POST
      • updateArticle
        PUT
      • actionArticle
        POST
      • getArticleContent
        GET
      • getUserAction
        GET
      • articleList
        GET
      • getArticleListByUserId
        GET
      • getArticleById
        GET
      • g
        GET
    • article-field-manage-controller
      • getArticleContent
      • articleList
      • getArticleCountByState
      • getArticleById
      • getHistoryVersion
      • recoveryArticle
      • deleteArticle
    • article-comment-controller
      • reply
      • action
      • getChildCommentsById
      • delete
      • getUCommentListById
      • recovery
    • article-group-controller
      • addGroup
      • getFieldListByGroupId
      • getGroupList
      • updateGroup
      • deleteGroup
    • article-tag-controller
      • getTag
      • addTag
      • getArticleFieldListByTagId
      • getTagListByGroupId
      • getTagList
      • updateTag
      • deleteTag
    • test-controller
      • test
      • aBoolean
      • t1
      • t3
      • t5
      • aVoid
  • 信息服务
    • channel-controller
      • list
      • sendMessage
    • user-notify-controller
      • getReplyMe
      • getThumbUpMe
      • getUnreadNotifyCount
      • getCommentInfinityTweet
      • getInfinityThumb
      • getAcceptedAnswer
      • getQaAnswer
      • getQaComment
      • getInvitationAnswer
      • getQaSupport
      • getQaWatch
      • getUserUnreadNotifyNum
    • user-private-message-controller
      • getPrivateMessageList
      • pullHistoryMessage
      • pullMessageByLatestId
      • readMessage
      • sendMessage
    • system-message-controller
      • pullSysMessage
  • 用户服务
    • user-active-controller
      • checkIn
      • getUserHistoryRecords
      • getUserThumbActive
    • user-collection-controller
      • addCollectionToGroup
      • cancelCollection
      • getCollectionToLink
      • getCollectionListByGroupId
      • getCollectionState
    • user-collection-group-controller
      • updateGroup
      • deleteGroup
      • createGroup
      • createDefaultGroup
      • getGroupList
      • getGroupListByUserId
      • getGroupById
    • user-following-controller
      • getUserFollower
      • getUserFollowerByUserId
      • followUser
      • getUserFollowing
      • getUserFollowingByUserId
      • unfollowUser
    • user-info-controller
      • getUserInfo
      • updateUserInfo
      • getUserExp
      • getUserById
    • user-points-controller
      • getPoints
      • getDetails
      • getUserHeatmapData
    • user-tag-controller
      • updateUserTag
      • getUserByTagId
      • getUserByTagIds
      • getUserTagByUserId
    • user-controller
      • modifyEmail
      • ChangePassword
      • getUserSetting
  • 问答服务
    • qa-answer-controller
      • answer
      • acceptedAnswer
      • action
      • getChildAnswerPageById
      • invitationUserAnswerQuestion
      • getInvitationFollowerList
      • getInvitationFollowingList
      • getRecommendedUserByTagIds
      • getUserAnswerPageById
      • getAnswerPageById
      • delete
    • qa-question-group-controller
      • GetGroupList
      • GetFieldListByGroupId
    • qa-question-field-controller
      • createQuestion
      • updateQuestion
      • getUserToQuestionAction
      • GetArticleContent
      • QuestionList
      • GetUserQuestionPageByUserId
      • recommendQuestionList
      • GetQuestionById
      • unWatchQuestion
      • watchQuestion
    • qa-question-field-manage-controller
      • GetQuestionContent
      • QuestionList
      • getQuestionCountByState
      • GetQuestionById
      • getHistoryVersion
      • logicallyRecoveryQuestionById
      • logicallyDeleteQuestionById
    • qa-question-tag-controller
      • getTagListByGroupId
      • GetTagList
      • GetArticleFieldList
  • 数据服务
    • rank-controller
      • test
      • getArticleRankList
      • infinityClubRank
      • infinityTopicRank
      • test2
      • test1
      • getQuestionRankList
    • user-data-controller
      • getUserArticleDataStatistics
  • 搜索服务
    • article-search-controller
      • suggestion
      • tagSuggestion
      • search
    • infinity-search-controller
      • tagSuggestion
    • question-search-controller
      • suggestion
      • tagSuggestion
      • search
    • user-search-controller
      • searchInvitationUser
      • search
  • 圈子服务
    • infinity-club-controller
      • createInfinityClub
      • updateInfinityClub
      • followInfinityTopic
      • unfollowInfinityTopic
      • deleteInfinityClub
    • infinity-controller
      • sendInfinity
      • upTweet
      • getInfinityChildCommentPageList
      • getInfinityPageList
      • getInfinityPageDataByUserId
      • getInfinity
      • updateInfinity
    • infinity-comment-controller
      • replyInfinity
      • getInfinityChildCommentReplyPageList
      • getInfinityChildCommentPageList
    • infinity-topic-controller
      • createInfinityTopic
      • updateInfinityTopic
      • followInfinityTopic
      • TopicController
      • unfollowInfinityTopic
      • deleteInfinityTopic
  • 认证服务
    • 登录
    • 注册
  • 数据模型
    • Schemas
      • UserNotify
      • ArticleComment
      • CreateQuestionRB
      • ArticleDataStatisticsVO
      • HeatmapData
      • ArticleEsDoc
      • Infinity
      • PageData<UserNotify>
      • ArticleCommentActionRB
      • InvitationUserRB
      • ArticleFieldRankVO
      • PageData«UserCollection»
      • ArticleTagEsDoc
      • InfinityClub
      • SendPrivateMessageRB
      • ArticleCommentRB
      • ArticleGroup
      • PageData«UserHistoryActiveVO»
      • ArticleTagSearchDoc
      • InfinityClubRB
      • UnreadNotifyVo
      • ArticleContentRB
      • ArticleTag
      • PageData«UserPoints»
      • InfinityTopicEsDoc
      • InfinityClub_1
      • channelSendMessageRB
      • ArticleField
      • InvitationUserVO
      • PageData«QaAnswer»
      • InfinityClubRankVO
      • PageData«UserThumbActiveVO»
      • InfinityClub_2
      • PageData«QaQuestionField»
      • InfinityTopicRankVO
      • PageData«User»
      • PageData«ArticleEsDoc»
      • InfinityClub_3
      • ArticleGroupRB
      • PageData«InvitationUserVO»
      • PageData«UserAnswerVO»
      • QaGroup
      • InfinityClub_4
      • ArticleRecoveryRB
      • QaAnswer
      • QaTag
      • PageData«QuestionEsDoc»
      • InfinityClub_5
      • QaAnswerRB
      • QuestionFieldRankVO
      • PageData«UserEsDoc»
      • InfinityClub_6
      • ArticleTagRB
      • UserCollection
      • QuestionEsDoc
      • InfinityClub_7
      • PageData«ArticleComment»
      • QaQuestionField
      • UserCollectionGroup
      • QuestionTagEsDoc
      • InfinityRB
      • PageData«fieldVO»
      • UserCollectionGroupRB
      • UserEsDoc
      • InfinityTopic
      • QuestionAnswerOrCommentActionRB
      • UserCollectionRB
      • InfinityTopicRB
      • TagIdsRB
      • UserHistoryActiveVO
      • InfinityTopic_1
      • InfinityTopic_2
      • UserActionVO
      • UserInfoRB
      • InfinityTopic_3
      • fieldVO
      • UserAnswerVO
      • UserInfoVo
      • InfinityTopic_4
      • UserModifyEmailRB
      • InfinityTopic_5
      • VersionData
      • UserPoints
      • InfinityTopic_6
      • UserSettingVO
      • Infinity_1
      • UserTag
      • Infinity_2
      • UserThumbActiveVO
      • Infinity_3
      • Infinity_4
      • Infinity_5
      • Infinity_6
      • PageData«InfinityTopic»
      • PageData«Infinity»
      • PageData«Infinity»_1
      • PageData«Infinity»_2
      • PageData«Infinity»_3
      • ReplyInfinityRB
      • User
      • UserInfo
      • UserInfo_1
      • UserInfo_2
      • UserInfo_3
      • UserInfo_4
      • UserInfo_5
      • UserInfo_6
      • UserInfo_7
      • User_1
      • User_2
      • User_3
      • User_4
      • User_5
      • User_6
      • User_7
    • RequestBodies
      • followUserUsingPOSTFid
  1. article-field-controller

createArticle

POST
/article/article

请求参数

Body 参数application/json

示例
{
    "allowComment": true,
    "articleGroupId": 0,
    "articleId": 0,
    "articleSource": "original",
    "articleSourceUrl": "string",
    "articleState": "draft",
    "articleTagIds": [
        0
    ],
    "banner": "string",
    "codeHighlightStyle": "a11yDark",
    "codeHighlightStyleDark": "a11yDark",
    "content": "string",
    "markDownTheme": "smartblue",
    "markDownThemeDark": "geekBlackDark",
    "sendInfinity": true,
    "summary": "string",
    "title": "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/article/article' \
--header 'Content-Type: application/json' \
--data-raw '{
    "allowComment": true,
    "articleGroupId": 0,
    "articleId": 0,
    "articleSource": "original",
    "articleSourceUrl": "string",
    "articleState": "draft",
    "articleTagIds": [
        0
    ],
    "banner": "string",
    "codeHighlightStyle": "a11yDark",
    "codeHighlightStyleDark": "a11yDark",
    "content": "string",
    "markDownTheme": "smartblue",
    "markDownThemeDark": "geekBlackDark",
    "sendInfinity": true,
    "summary": "string",
    "title": "string"
}'

返回响应

🟢200OK
application/json
Body

示例
"string"
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2022-12-19 15:14:18
下一页
updateArticle
Built with