Prompt Answer Comments

Retrieves a paginated list of comments for the specified prompt answer.

get

Retrieves a paginated list of comments for the specified prompt answer, optionally filtered and sorted.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
promptAnswerObjectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

projectIdentifierstringRequired
Query parameters
pageNumberinteger · int32Optional

The page number to retrieve.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to prompt comments.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
chevron-right
200

OK

get
/projects/{projectIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments

Creates a new comment for the specified prompt answer.

post

Creates a new comment for the specified prompt answer.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
promptAnswerObjectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

projectIdentifierstringRequired
Body
commentstring · nullableRequired
Responses
chevron-right
200

OK

post
/projects/{projectIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments

Retrieves a comment by its object identifier.

get

Retrieves a comment by its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The unique identifier of the comment.

projectIdentifierstringRequired
promptAnswerObjectIdentifierstringRequired
Responses
chevron-right
200

OK

get
/projects/{projectIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments/{objectIdentifier}

Updates a comment by its object identifier.

put

Updates a comment by its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The unique identifier of the comment to update.

projectIdentifierstringRequired
promptAnswerObjectIdentifierstringRequired
Body
commentstring · nullableRequired
Responses
chevron-right
200

OK

put
/projects/{projectIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments/{objectIdentifier}

Deletes a comment by its object identifier.

delete

Deletes a comment by its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The unique identifier of the comment to delete.

projectIdentifierstringRequired
promptAnswerObjectIdentifierstringRequired
Responses
delete
/projects/{projectIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/comments/{objectIdentifier}

No content

Last updated