-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66ae4c7
commit 28e4484
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
navtitle: uuid | ||
--- | ||
|
||
# Metadata "uuid" | ||
|
||
The `uuid` metadata identifies the global Nikita session. It is shared between all the child actions and contains the UUID value in the [RFC4122](https://www.ietf.org/rfc/rfc4122.txt) format. | ||
|
||
* Type: `string` | ||
* Read-only | ||
|
||
## Usage | ||
|
||
The metadata can be accessed from the inside of the [action handler](/current/action/handler). | ||
|
||
```js | ||
nikita | ||
.call(({metadata: {uuid}}) => { | ||
// Print the value | ||
console.info(uuid) // 419196e4-48af-4eb6-9dba-4e05653f8007 | ||
}) | ||
``` |