About this endpoint
What it does
Generates a UUID and returns it as a JSON object with the generated uuid string and its version integer. Use the version query parameter to choose UUID v1 or v4; if omitted, the default is v4.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| version | Integer | Allowed values: 1, 4.Default: 4. |
Response
Returns a JSON object with a uuid string field and a version integer field.
| Parameter | Type | Description |
|---|---|---|
| uuid | String | The generated UUID string. |
| version | Integer | The UUID version used to generate uuid. |



