novuhq / api-docs

BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

Some endpoints (/events/trigger) returns different structure. #21

Open kymppi opened 1 year ago

kymppi commented 1 year ago

The api docs says that /events/trigger should return

{
    acknowledged: true,
    status: "status",
    transactionId: "transactionId"
}

but it actually returns

{
  data: {
    acknowledged: true,
    status: "processed",
    transactionId: "3e47b1eb-cd62-4e06-bdc4-2e86f04b94ce"
  }
}

I haven't tested the other routes yet, but they might also do the same.