Get comment for commentId
GET/comment/:commentId
Get comment for commentId
Request
Path Parameters
commentId stringrequired
Responses
- 200
- 404
- default
Comment retrieved
- application/json
- Schema
- Example (from schema)
- Example
Schema
body string
owner address (string)
createdAt date-time
Time representation of entity creation
id commentId (string)
Unique identifier for Comment
state commentState (string)
Possible values: [public
, hidden
, flagged
, studioApproved
, studioRejected
]
submissionId submissionId (string)
Unique identifier for Project
{
"body": "string",
"owner": "string",
"createdAt": "2024-01-01T09:00:00.00Z",
"id": "cCX5ZZHMk",
"state": "public",
"submissionId": "S14dqdbbnC"
}
{
"state": "public",
"submissionId": "6c3f1178-3x45-3ec4-bac3-205026484a7e",
"id": "35c4407b-6bca-4178-ac77-6dd7889fv703",
"createdAt": "2021-07-08T20:15:00.000Z",
"body": "This is a comment",
"ownerId": "5d4f3111-4x21-4e3c-bac3-452164484b9c"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...