Back

[SOLVED] Get document from function triggered by event

  • 0
  • Functions
  • Realtime
polbuhanky
5 Nov, 2023, 11:20

How can I get a document from function that triggered by event databases..collections..documents.*.create?

TL;DR
The user wants to know how to get a document from a function triggered by an event. The solution is to use `context.req.body`.
Meldiron
5 Nov, 2023, 11:54

Hey there 👋 It should be available as context.req.body

polbuhanky
5 Nov, 2023, 21:43

Hello, thank you

Drake
5 Nov, 2023, 22:32

[SOLVED] Get document from function triggered by event

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more