Skip to content

Commit

Permalink
Include host in authenticated API responses for events (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
lavaturtle authored Sep 10, 2024
1 parent 646a404 commit 37b4104
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions source/includes/authenticated_api/_events.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ The authenticated REST API endpoints for events only deal with events created in
"host_address": null,
"max_attendees_count": null,
"external_id": "control-shift-deliver-the-petition-to-the-wizard",
"host": {
"member_id": 123,
"full_name": "Dorothy of Kansas",
"email": "[email protected]",
"phone_number": "555-555-5555",
"postcode": "66012"
},
"location": {
"query": "wizard room",
"latitude": "42.3376368",
Expand Down Expand Up @@ -103,6 +110,13 @@ The response includes all the same data as the single-event endpoint for each ev
"host_address": null,
"max_attendees_count": null,
"external_id": "control-shift-deliver-the-petition-to-the-wizard",
"host": {
"member_id": 123,
"full_name": "Dorothy of Kansas",
"email": "[email protected]",
"phone_number": "555-555-5555",
"postcode": "66012"
},
"location": {
"query": "wizard room",
"latitude": "42.3376368",
Expand Down Expand Up @@ -203,6 +217,13 @@ the event `slug` is `chapter-meeting-1`.
"locale": "en-US",
"host_address": null,
"max_attendees_count": null,
"host": {
"member_id": 234,
"full_name": "Gabrielle Giffords",
"email": "[email protected]",
"phone_number": null,
"postcode": null
},
"location": {
"latitude": 39.168100,
"longitude": -94.776063,
Expand Down

0 comments on commit 37b4104

Please sign in to comment.