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
createdAt date-time
Time representation of entity creation
body string
state commentState (string)
Possible values: [public
, hidden
, flagged
, studioApproved
, studioRejected
]
owner address (string)
id commentId (string)
Unique identifier for Comment
submissionId submissionId (string)
Unique identifier for Project
{
"createdAt": "2024-01-01T09:00:00.00Z",
"body": "string",
"state": "public",
"owner": "string",
"id": "cCX5ZZHMk",
"submissionId": "S14dqdbbnC"
}
{
"createdAt": "2021-07-08T20:15:00.000Z",
"ownerId": "5d4f3111-4x21-4e3c-bac3-452164484b9c",
"submissionId": "6c3f1178-3x45-3ec4-bac3-205026484a7e",
"id": "35c4407b-6bca-4178-ac77-6dd7889fv703",
"state": "public",
"body": "This is a comment"
}
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...