-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: FC - Ecosystem - API Framework
-
Severity 3 - Minor
Issue Summary
The v2 REST APIs can be used to create and retrieve comments against attachments. For example:
GET /wiki/api/v2/attachments/{id}/footer-comments
will return comments for the given attachment. However, when that attachment is updated (ex: a user uploads a newer version of the attachmenton the UI), the same GET call returns an empty results array.
The v2 APIs should provide a way to retrieve the comments on the original attachment. For example, the v1 API provides a version param to specify the version of the attachment to retrieve comments for. Or the same call should retrieve the same comments made on the original attachment.