Skip to content

Add name of the user who has submitted feedback with comment and rating  #6472

@ranjsa

Description

@ranjsa

Is your feature request related to a problem? Please describe.

Right now we are only getting comment and rating in the feedback submitted by a user , So we cant see who has actually posted the feedback .
WhatsApp Image 2019-09-29 at 8 21 48 AM

Describe the solution you'd like

Add name of the user with rating and comment . in the feedback response .

{
  "meta": {
    "count": 1
  },
  "data": [
    {
      "relationships": {
        "event": {
          "links": {
            "self": "/v1/feedbacks/1/relationships/event",
            "related": "/v1/feedbacks/1/event"
          }
        },
        "user": {
          "links": {
            "self": "/v1/feedbacks/1/relationships/user",
            "related": "/v1/feedbacks/1/user"
          }
        }
      },
      "attributes": {
        "rating": "4",
        "deleted-at": null,
        "comment": "Awesome event"
      },
      "type": "feedback",
      "id": 1,
      "links": {
        "self": "/v1/feedbacks/1"
      }
    }
  ],
  "jsonapi": {
    "version": "1.0"
  },
  "links": {
    "self": "/v1/events/1/feedbacks"
  }
}

Additional context
fossasia/open-event-attendee-android#2366
I am working on it .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions