Skip to content

ECA Endpoint response

Available since: 1.1.0

Provided tokens

Token Description
[event] The event.
[event:path_arguments] The arguments of the request path.
[event:request] The request.
[event:request:method] The request method, e.g. "GET" or "POST".
[event:request:path] The requested path.
[event:request:query] The query arguments of the request.
[event:request:headers] The request headers.
[event:request:content_type] The content type of the request.
[event:request:content] The content of the POST request.
[event:request:ip] The client IP.
[event:uid] The ID of the user account of the request.
[event] The event.
[event:machine_name] The machine name of the ECA event.
[session_user] The user account that dispatched the event, regardless if ECA is processing models under a different account.

Attention

Don't forget to also add an ECA Endpoint access to your model, so that you can allow this endpoint to be requested, unless you determine that by some other means.

It's likely that you will need the Set access result for this, which is available from the ECA Access sub-module, that needs to be enabled separately.

Fields

First path argument

The first path argument to match up. This argument will be resolved from the URL path /eca/{first}/{second}.

Second path argument

Optionally specify a second path argument to match up. This argument will be resolved from the URL path /eca/{first}/{second}.