Reactions API Preview now includes user information

To avoid making extra API calls, we've updated the Reactions API preview to include additional user information when listing Reactions.

This is a breaking change for Reaction payloads. If you're trying out this new API during its preview period, you'll need to update your code to continue working with it.

JSON Payload Changes

We're replacing the user_id attribute with user and changing the schema type from a number to a JSON object.

Example Reaction JSON

    "id": 1,
    "user": {
      "login": "octocat",
      "id": 1,
      "avatar_url": "",
      "gravatar_id": "",
      "url": "",
      "html_url": "",
      "followers_url": "",
      "following_url": "{/other_user}",
      "gists_url": "{/gist_id}",
      "starred_url": "{/owner}{/repo}",
      "subscriptions_url": "",
      "organizations_url": "",
      "repos_url": "",
      "events_url": "{/privacy}",
      "received_events_url": "",
      "type": "User",
      "site_admin": false
    "content": "heart"

As always, if you have any questions or feedback, please get in touch.