LetsFlow
Search…
Event trigger
The Node will add an event to the event chain. The event will be signed with the private key of the node.
YAML
JSON
1
"$schema": https://specs.letsflow.io/v0.2.0/action/event/schema.json#
2
actor: issuer
3
body:
4
"$schema": https://specs.letsflow.io/v0.2.0/identity/schema.json#
5
id: !ref actors.license_holder.id
6
signkeys: !ref actors.license_holder.signkeys
7
node: !ref actors.license_holder.node
8
responses:
9
ok:
10
display: never
11
error:
12
display: always
13
title: Failed to add the license holder
Copied!
1
{
2
"$schema": "https://specs.letsflow.io/v0.2.0/action/event/schema.json#",
3
"actor": "issuer",
4
"body": {
5
"$schema": "https://specs.letsflow.io/v0.2.0/identity/schema.json#",
6
"id": {
7
"<ref>": "actors.license_holder.id"
8
},
9
"signkeys": {
10
"<ref>": "actors.license_holder.signkeys"
11
},
12
"node": {
13
"<ref>": "actors.license_holder.node"
14
}
15
},
16
"responses": {
17
"ok": {
18
"display": "never"
19
},
20
"error": {
21
"display": "always",
22
"title": "Failed to add the license holder"
23
}
24
}
25
}
Copied!
Last modified 2yr ago
Copy link