Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Create API endpoint to receive events #38

Open
VictorPeralta opened this issue Dec 10, 2021 · 0 comments
Open

Create API endpoint to receive events #38

VictorPeralta opened this issue Dec 10, 2021 · 0 comments
Assignees

Comments

@VictorPeralta
Copy link
Collaborator

Clients will create new events by POSTing to the /events endpoint with event data and API_KEY

The steps the backend takes in this endpoint are:

  1. Validate request
  2. Get project associated to provided API key
  3. Check if a event group with the event's stack trace and title exists. If it does not, create event group.
  4. Insert event into DB, with a reference to the event group.

Sequence Diagram
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant