Include member attribution in GET /ghost/api/admin/members/

The single-member READ endpoint of the Admin API includes member attribution data (= info about the member’s signup source).

It would be great to have it in the BROWSE endpoint, too, to easily fetch it for all members.

Here’s the relevant section of the code.

API endpoints:

  • READ: GET /ghost/api/admin/members/{id}/
  • Browse: GET /ghost/api/admin/members/

Just for context, here is what the data looks like:

"attribution": {
  "id": null,
  "type": null,
  "url": null,
  "title": null,
  "referrer_source": "Created manually",
  "referrer_medium": "Ghost Admin",
  "referrer_url": null
}