Get all takeaway comments
GET/takeaways/:takeawayId/comments
Get a list of all comments for a takeaway. For more information on paramsIO refer to the Get started article, and see the Using paramsIO tutorial for practical use cases.
Request
Path Parameters
Query Parameters
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 423
- 429
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
]
Account Id of the comment author
Date when the comment was created
Date when the comment was modified
Unique Id of the takeaway comment
Account ids mentioned in the comment
Unique Id of the parent comment
Comment status
Possible values: [ACTIVE, ARCHIVED]
Unique Id of the takeaway
Comment text
[
{
"authorId": 0,
"dateCreated": "2024-07-29T15:51:28.071Z",
"dateModified": "2024-07-29T15:51:28.071Z",
"id": 0,
"mentionedAccountIds": [
0
],
"parentId": 0,
"status": "ACTIVE",
"takeawayId": 0,
"text": "string"
}
]
Bad Request
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Unauthorized
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Not Found
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Unprocessable Entity
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Too Many Requests
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}