Skip to content

Retrieves a specific comment by its ID.

GET
/api/v1/Comments/{commentId}

Authorizations

Parameters

Path Parameters

commentId
required
string format: uuid

The ID of the comment to retrieve.

Responses

200

Returns the requested comment.

object
id
string format: uuid
taskId
string format: uuid
userId
string format: uuid
content
required
string
nullable
createdDate
string format: date-time
user
object
id
string format: uuid
username
string
nullable
name
string
nullable
email
string
nullable
createdDate
string format: date-time
accessLevel
integer format: int32

400

If the user ID is missing from the claims.

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

403

If the user doesn’t have access to view the comment.

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

404

If the comment with the specified ID was not found.

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties