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

Include host in authenticated API responses for events #157

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading