cgwire / zou

Zou is the Kitsu API. It allows you to store and manage your production data
https://zou.cg-wire.com
GNU Affero General Public License v3.0
166 stars 103 forks source link

The "Load Comment" endpoint is limited #809

Open NicoPennec opened 3 months ago

NicoPennec commented 3 months ago

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.