Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74270

As a consumer developer I can retrieve a list of comments and individual comments with links to related resources

    Details

      Description

      API Capabilities
      The consumer of this API will be able to:

      • Retrieve a list of all the comments in a blog posting
      • Retrieve all the information of a given comment: the final goal is to be able to render a comment with the result of the API call
        • The following information will be provided as a link or as an embedded resource: author (Person), replies (comment).

      Security requirements

      The list of comments should only include comments if the current user has permissions to view the whole list, otherwise the list returned will be empty. If a comment is requested and the current user doesn't have permission to view it, a 404 error should be returned.

      General requirements
      The API should support at least Plain JSON, JSON-LD and HAL as output formats.

      The consumer developer should be able to control which linked resources are embedded so that they can be retrieved along with a comment in a single request.

      The consumer developer can specify which fields are desired, to reduce the data transfer when the API is used from a consumer sensitive to it.

        Attachments

          Activity

            People

            Assignee:
            pablo.agulla Pablo Agulla
            Reporter:
            alejandro.hernandez Alejandro Hernandez (Inactive)
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.1.X
                Master