mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 12:27:48 +00:00
23 KiB
23 KiB
PostRepliesResponseBody
Example Usage
import { PostRepliesResponseBody } from "@lukehagar/discoursejs/sdk/models/operations";
let value: PostRepliesResponseBody = {
actionsSummary: [
{
canAct: false,
id: 517137,
},
],
admin: false,
avatarTemplate: "<value>",
bookmarked: false,
canDelete: false,
canEdit: false,
canRecover: false,
canSeeHiddenPost: false,
canViewEditHistory: false,
canWiki: false,
cooked: "<value>",
createdAt: "<value>",
deletedAt: "<value>",
displayUsername: "<value>",
editReason: "<value>",
flairBgColor: "<value>",
flairColor: "<value>",
flairName: "<value>",
flairUrl: "<value>",
hidden: false,
id: 292888,
incomingLinkCount: 755106,
moderator: false,
name: "<value>",
postNumber: 715053,
postType: 32273,
primaryGroupName: "<value>",
quoteCount: 418109,
readersCount: 456688,
reads: 172951,
replyCount: 824798,
replyToPostNumber: 107210,
replyToUser: {
avatarTemplate: "<value>",
username: "Marcella.Schumm",
},
reviewableId: "<value>",
reviewableScoreCount: 588812,
reviewableScorePendingCount: 882284,
score: 896480,
staff: false,
topicId: 733289,
topicSlug: "<value>",
trustLevel: 575078,
updatedAt: "<value>",
userDeleted: false,
userId: 409726,
userTitle: "<value>",
username: "Hellen_Hintz35",
version: 889060,
wiki: false,
yours: false,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
actionsSummary |
operations.PostRepliesActionsSummary[] | ✔️ | N/A |
admin |
boolean | ✔️ | N/A |
avatarTemplate |
string | ✔️ | N/A |
bookmarked |
boolean | ✔️ | N/A |
canDelete |
boolean | ✔️ | N/A |
canEdit |
boolean | ✔️ | N/A |
canRecover |
boolean | ✔️ | N/A |
canSeeHiddenPost |
boolean | ✔️ | N/A |
canViewEditHistory |
boolean | ✔️ | N/A |
canWiki |
boolean | ✔️ | N/A |
cooked |
string | ✔️ | N/A |
createdAt |
string | ✔️ | N/A |
deletedAt |
string | ✔️ | N/A |
displayUsername |
string | ✔️ | N/A |
editReason |
string | ✔️ | N/A |
flairBgColor |
string | ✔️ | N/A |
flairColor |
string | ✔️ | N/A |
flairGroupId |
string | ➖ | N/A |
flairName |
string | ✔️ | N/A |
flairUrl |
string | ✔️ | N/A |
hidden |
boolean | ✔️ | N/A |
id |
number | ✔️ | N/A |
incomingLinkCount |
number | ✔️ | N/A |
moderator |
boolean | ✔️ | N/A |
name |
string | ✔️ | N/A |
postNumber |
number | ✔️ | N/A |
postType |
number | ✔️ | N/A |
primaryGroupName |
string | ✔️ | N/A |
quoteCount |
number | ✔️ | N/A |
readersCount |
number | ✔️ | N/A |
reads |
number | ✔️ | N/A |
replyCount |
number | ✔️ | N/A |
replyToPostNumber |
number | ✔️ | N/A |
replyToUser |
operations.ReplyToUser | ✔️ | N/A |
reviewableId |
string | ✔️ | N/A |
reviewableScoreCount |
number | ✔️ | N/A |
reviewableScorePendingCount |
number | ✔️ | N/A |
score |
number | ✔️ | N/A |
staff |
boolean | ✔️ | N/A |
topicId |
number | ✔️ | N/A |
topicSlug |
string | ✔️ | N/A |
trustLevel |
number | ✔️ | N/A |
updatedAt |
string | ✔️ | N/A |
userDeleted |
boolean | ✔️ | N/A |
userId |
number | ✔️ | N/A |
userTitle |
string | ✔️ | N/A |
username |
string | ✔️ | N/A |
version |
number | ✔️ | N/A |
wiki |
boolean | ✔️ | N/A |
yours |
boolean | ✔️ | N/A |