Skip to main content

Update a takeaway comment

PUT 

/takeaways/:takeawayId/comments/:commentId

Update a takeaway comment with the given id.

Request

Path Parameters

    takeawayId int64required
    commentId int64required

Body

required

    mentionedAccountIds int64[]

    Account ids mentioned in the comment

    status string

    Comment status

    Possible values: [ACTIVE, ARCHIVED]

    text stringrequired

    Comment text

Responses

OK

Schema

    authorId int64

    Account Id of the comment author

    dateCreated date-time

    Date when the comment was created

    dateModified date-time

    Date when the comment was modified

    id int64

    Unique Id of the takeaway comment

    mentionedAccountIds int64[]

    Account ids mentioned in the comment

    parentId int64

    Unique Id of the parent comment

    status string

    Comment status

    Possible values: [ACTIVE, ARCHIVED]

    takeawayId int64

    Unique Id of the takeaway

    text string

    Comment text

Loading...