Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.

Subscribe to an audit event

Avatar

Level 2

I created a curl command as shown below which will let me subscribe to library updated event and send response to a url. Executed this command in online curl editor which sent 201 response but I don't see any success response in the url when library is updated.


curl https://reactor.adobe.io/properties/PRe88025c3c4de4dba84ebece68fc48ebf/callbacks \
-H "Accept: application/vnd.api+json;revision=1" \
-H "Content-Type: application/vnd.api+json" \
-H "Authorization: Bearer [token]" \
-H "X-Api-Key: [key]" \
-H "X-Gw-Ims-Org-Id: [org id]" \
-X POST \
-d \
'
{
"data": {
"attributes": {
"url": "[url]",
"subscriptions": [
"library.updated"
]
}
}
}'

0 Replies