CallbackVersion. See the Callback Implementation Guide for further information..
'-00000-00000-00000-00000-00000-00000' to indicate that the callback should be registered in a global context. See "Additional Notes" subsection for details on which roles may supply this parameter.Responses are single-member objects which have a property name based on the type of result.
The Success result will look like:
{ 'Success' : string}
Where the string is the system assigned unique identifier for the newly registered callback.
The Error result will be a flat array of objects, which have keys for the message name and explanatory text.
{
'Error' : [
{ 'Name' : string, 'Message' : string },
{ 'Name' : string, 'Message' : string },
...
]
}
"Super Administrator" role may specify a callback either at the global scale or for any network."Super Delegate" role may specify a callback for any assigned network."Network Administrator" role may specify a callback for his or her own network.Command Line Example
curl -v --insecure \ -H 'Accept: application/vnd.compendium.blog;version=2,application/json' \ --user 'username:NxxJSBXNSS3QiaBvQgOFIfG9itGJrr2cENL7xJsq' \ -d 'EventName=Posts.Approve.Success.Ping' \ -d 'CallbackVersion=1' -d 'CallbackDescriptor=%7B%22CallbackUrl%22+%3A+%22https%3A%2F%2Fcallback.example.com%2Fmessage%2Fping%22%7D' \ -d 'NetworkId=42ad5e24-f73c-4a99-9193-87dbac096822' \ https://api.test.compendiumblog.com/app/callback