convoy
convoy copied to clipboard
Improve Events API response
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.