Skip to main content

Create a takeaway comment

POST 

/takeaways/:takeawayId/comments

Create a new comment for a takeaway.

Request

Path Parameters

    takeawayId int64required

Body

required

    mentionedAccountIds int64[]

    Account ids mentioned in the comment

    parentId int64

    Unique Id of the parent comment

    text stringrequired

    Comment text

Responses

Created

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...