/
GET /api/system/systemhooks

GET /api/system/systemhooks

As of Versionproduct version 2022 Summer
Request MethodGET
Response FormatJSON
Required Permission

available if listed in authorization.accesses in authentication-prod.yml and the specified access condition is matched.

>> AUTHENTICATION Service
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 HeadersAccept: [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}"
            }
        ]
    }
}

Related content

POST /api/system/apps/{app}/systemhooks
POST /api/system/apps/{app}/systemhooks
More like this
POST /api/system/tenants/{tenant}/apps
POST /api/system/tenants/{tenant}/apps
More like this
GET /kairos-api/api/admin/schema
GET /kairos-api/api/admin/schema
More like this
GET /search/api/search/dsl/check/{action}
GET /search/api/search/dsl/check/{action}
More like this
Retrieval of Content by ID
Retrieval of Content by ID
More like this