Skip to content

Commit 3ea89a1

Browse files
committed
onCustomNodeEvent edits
1 parent 48b8f36 commit 3ea89a1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/creating-manifest/events.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,13 +2043,13 @@ This event is executed when the **environment > Node > SendEvent** API method is
20432043
- `${event.params.}`:
20442044
- `NODE_NAME` - target container name
20452045
- `NODE_GROUP` - unique identifier of the target node group (layer), e.g. "cp" for the default application server layer
2046-
- `ENV_INFO` - environment iformation
2046+
- `ENV_INFO` - environment information
20472047
- `name` - name of the event (for filtering)
20482048
- `ENV_NAME` - target environment name
2049-
- `NODE_ID` - unique identifier if the target node
2049+
- `NODE_ID` - unique identifier of the target node
20502050
- `USER_NAME` - target user name (email)
20512051
- `envName` - target environment name
2052-
- `nodeId` - unique identifier if the target node
2052+
- `nodeId` - unique identifier of the target node
20532053
- `${event.response.}`:
20542054
- `result` - result code. The successful action result is '0'
20552055

@@ -2085,7 +2085,13 @@ onCustomNodeEvent [${targetNodes.nodeGroup}]:
20852085
Triggering:
20862086

20872087
```
2088-
jem api apicall [PLATFORM_DOMAIN]/1.0/environment/node/rest/sendevent --data-urlencode params={"name":"test1"}
2088+
curl --location --request POST ‘https://{platformDomain}/1.0/environment/node/rest/sendevent’ --data-urlencode ‘params=\{“name”: “test”}’
2089+
```
2090+
2091+
or
2092+
2093+
```
2094+
jem api apicall [API_DOMAIN]/1.0/environment/node/rest/sendevent --data-urlencode params={"name":"test"}
20892095
```
20902096
20912097
<br>

0 commit comments

Comments
 (0)