Admin

Sửa tin tức

put/admin/news/{postId}

Request

Path parameters

postIdinteger required

Id tin tức

Request body

userNamestring

Response

Thành công

postIDinteger
userNamestring
titlestring
descriptionstring
summarystring
hasSummaryboolean
typeinteger
newsTypeinteger
videoUrlstring
videoThumbnailUrlstring
videoWidthinteger
videoHeightinteger
languagestring
isSourceContentFullboolean
postSourceUrlstring
contentstring
originalContentstring
contentURLstring
isAIGeneratedboolean
datestring date-time
priorityinteger
hasImageboolean
hasFileboolean
linkstring
linkImagestring
linkTitlestring
linkDescriptionstring
sentimentinteger
approvedboolean
isTopboolean
isExpertIdeaboolean
likedboolean
totalLikesinteger
totalRepliesinteger
totalSharesinteger
replyToPostIDinteger
referToPostIDinteger
roomIDinteger
roomNamestring
isRoomStickyboolean
videoTypeinteger
isVideoboolean
isEmagazineboolean
isInfographicboolean
lastRepliedDatestring date-time
isLivestreamboolean
livestreamStartedboolean
livestreamEndedboolean
streamingUrlstring
streamingKeystring
youtubeStreamingUrlstring
youtubeStreamingKeystring
facebookStreamingUrlstring
facebookStreamingKeystring
livestreamActionboolean
livestreamActionTitlestring
livestreamActionUrlstring
livestreamActionRoutestring
repliesDisabledboolean
repliesModerationRequiredboolean
pendingApprovalboolean
feedReasonstring

Lý do bài xuất hiện trong bảng tin cá nhân hoá, ví dụ "Về HPG trong danh mục theo dõi". Chỉ có ở feed/for-you; các API khác không trả trường này.

feedReasonCodestring

Mã lý do: follow, affinity, watchlist, alert, recent, interest, room, trending, expert, disclosure, explore, own

Changes

No recorded changes to this operation across all 5 revisions of this API.