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

Improve Events API response #1429

Open
horlah opened this issue Mar 8, 2023 · 0 comments
Open

Improve Events API response #1429

horlah opened this issue Mar 8, 2023 · 0 comments

Comments

@horlah
Copy link
Contributor

horlah commented Mar 8, 2023

Basically, we can help users start debugging events from anywhere, including the event trigger response. We can make an API response on triggering an event to source a little prettier with some useful information than what we have right now:

{
    "status": true,
    "message": "Event received",
    "data": 17
}

We should have something like this instead:

{
    "status": "Success",
    "message": "Event received into Convoy, debug event at on your dashboard at: https://dashboard.getconvoy.....",
    "event_id": "dsuiuwew...",
    ...
}

And consider something like this for outgoing events API response also.

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

No branches or pull requests

1 participant