Jump to content

Recommended Posts

rechigo
Posted

Hello, I am having trouble finding documentation regarding the data sent over webhooks for different events. There is a "view sample payload" under webhook settings, but that only lets you view a sample payload for the test notification.... it does not help find the payload other events would contain. Is this documentation available at this time? 

Posted

Hi, unfortunately we don't have all of this documented. You might just want to setup something to receive it and print back the output, or something along those lines.

If you setup a webhook that goes to serverurl/webhooks/test, then that will receive it and print it to the log.

rechigo
Posted
10 minutes ago, Luke said:

Hi, unfortunately we don't have all of this documented. You might just want to setup something to receive it and print back the output, or something along those lines.

If you setup a webhook that goes to serverurl/webhooks/test, then that will receive it and print it to the log.

Can you tell me quick the event names for media added and removed? I assume they both return an item in the body, would that be under key "Item"?

Posted

ItemAdded, ItemRemoved I believe.

rechigo
Posted (edited)

It is library.deleted and library.new. The item is in the body as Item

 

Now I am running into a problem. The deleted event returns a lot of blank fields. In my case, I need ProviderIds. That object is empty for me.  

Edited by rechigo
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...