Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 23 additions & 3 deletions content/en-us/reference/engine/classes/HttpService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,32 @@ methods:
summary: |
Generates a UUID/GUID random string, optionally with curly braces.
description: |
This method randomly creates a [universally unique identifier
[UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)
This method generates a **random universally unique identifier
([UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier))**
string. The sixteen octets of a UUID are represented as 32 hexadecimal
(base 16) digits, displayed in 5 groups separated by hyphens in the form
`8-4-4-4-12` for a total of 36 characters, for example
`123e4567-e89b-12d3-a456-426655440000`.
`123e4567-e89b-12d3-a456-426655440000`. The UUID specification used is
Version 4 (Random Data), Variant 1 (DCE 1.1, ISO/IEC 11578:1996).
(See
[UUIDTools](https://www.uuidtools.com/uuid-versions-explained#version-4)
or
[Wikipedia](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_(random))
for more info.)

Version 4 UUIDs are the most commonly used due to their simplicity, as
they are entirely randomly generated.
This version does not have certain features that other UUID
versions have, such as encoded timestamps, MAC addresses, or provide
time-based sorting like [UUIDv7](https://uuid7.com/) or
[ULID](https://github.com/ulid/spec)).

There are over 5.3 x 10<sup>36</sup> unique v4 UUIDs. The
probability to find a duplicate within 103 trillion version-4 UUIDs is one
in a billion. The number of random version-4 UUIDs which need to be
generated in order to have a 50% probability of at least one collision is
2.71 quintillion.
([Source: Wikipedia](https://en.wikipedia.org/wiki/Universally_unique_identifier#Collisions))

The `wrapInCurlyBraces` argument determines whether the returned string is
wrapped in curly braces (`{}`). For instance:
Expand Down
Loading