Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST /reaction returns EnrichedReactionAPIResponse #482

Open
MartinCupela opened this issue Nov 22, 2021 · 0 comments
Open

POST /reaction returns EnrichedReactionAPIResponse #482

MartinCupela opened this issue Nov 22, 2021 · 0 comments
Assignees

Comments

@MartinCupela
Copy link
Collaborator

Endpoint POST /reaction returns EnrichedReactionAPIResponse instead of ReactionAPIResponse:

image

The returned response body:

{
  "created_at": "2021-11-19T12:34:25.385922Z",
  "updated_at": "2021-11-19T12:34:25.385922Z",
  "id": "f7547cac-491c-11ec-87dd-a4bb6d26ac2f",
  "user_id": "MustermannMax",
  "user": {
    "created_at": "2021-10-07T11:17:54.858890Z",
    "updated_at": "2021-10-07T11:17:54.858890Z",
    "id": "MustermannMax",
    "data": {
      "about": null,
      "banner_url": null,
      "email": "[email protected]",
      "feedGroup": "timeline",
      "first_name": "Max",
      "handle": "MustermannMax",
      "id": "9beb4f6e-2139-4ccd-9401-4886bccd8e77",
      "joined": "2021-10-06T22:00:00.000Z",
      "last_name": "Mustermann",
      "name": "Max Mustermann",
      "profileImage": null,
      "website": null
    }
  },
  "kind": "comment",
  "activity_id": "64325227-489c-11ec-8823-0ac74274a1c1",
  "data": {
    "attachments": {
      "files": [],
      "images": []
    },
    "text": "Lorem ipsum"
  },
  "target_feeds": [
    "user:DoeJoe",
    "user:DoeJane"
  ],
  "target_feeds_extra_data": {
    "origin": "timeline:SmithAnne"
  },
  "parent": "",
  "latest_children": {},
  "children_counts": {},
  "duration": "19.00ms"
}
@MartinCupela MartinCupela self-assigned this Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant