GET /api/system/systemhooks
As of Version | product version 2022 Summer |
---|---|
Request Method | GET |
Response Format | JSON |
Required Permission | available if listed in |
Description | Retrieves the global system hook configuration. The content of the global systemHookConfiguration.json configuration file is returned. The configured system hooks are available in all tenants. |
Request Headers | Accept: [application/json] |
Request Example | /api/system/systemhooks |
Response Example | { "systemhooks": { "amqp": [ { "bulkSize": 10, "enable": true, "password": "secret", "predicate": "spel:(contentStreams != null && contentStreams.size() > 0 && contentStreams[0]['range'] != null && contentStreams[0]['range'].length() > 0) ? true : false", "queue": "lc.textextraction", "type": "object.insert.document", "url": "10.10.6.243:5674", "user": "clouduser" } ], "webhooks": [ { "enable": true, "predicate": "spel:true", "type": "user.info", "url": "http://organization/api/userinfo/${tenant}/${userId}" } ] } } |