Skip to main content

Events (Google)

Fetch Event

This API endpoint is triggered by the extension interface to display any corresponding event associated with an extension using an event_id.

Endpoint

GET /google/events HTTP/1.1
Host: api.atomcal.com/api/v2
Content-Type: application/x-www-form-urlencoded
Triggered by: Extension interface
Authentication: security.verifyAuthToken
Query: req.query.scrims_event_id

This end point also returns the calendar this event is associated with.

Example Responses

200 (successful operation)

res.status(200).send({ event, calendar });

400 (bad response)

Boom.badRequest(errorMessage)

Implementation details

N/A

Edge cases

N/A