Expand my Community achievements bar.

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