Skip to content

The "Load Comment" endpoint is limited #809

@NicoPennec

Description

@NicoPennec

Context
Zou version: 0.19.31

Describe the bug
The endpoint to load all comments returns a list of comments with a list of "preview" objects in the previews property.

GET /data/tasks/{taskId}/comments

However, the endpoint to load one comment returns a comment with only a list of preview IDs in the previews property.

GET /data/comments/{commentId}?relations=true

Expected behavior
Have complete preview objects in the previews property for the "load comment" endpoint.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions