uuid
POST1 क्रेडिटReturns a batch of cryptographically random UUIDs. The same input always produces the same count, but the values themselves are unique per call.
एंडपॉइंट
POST https://x114.org/api/v1/uuidअनुरोध बॉडी
POST बॉडी में JSON के रूप में भेजें।
| Name | Type | Required | Description |
|---|---|---|---|
| count | number | optional | How many UUIDs to generate (1-500). Defaults to 1. |
| uppercase | boolean | optional | Return uppercase hex digits. Defaults to false. |
प्रतिक्रिया बॉडी
सफलता पर JSON लौटाया (HTTP 200)।
| Name | Type | Required | Description |
|---|---|---|---|
| ok | boolean | required | True on success. |
| count | number | required | The number of UUIDs returned. |
| uppercase | boolean | required | Whether the output is uppercased. |
| uuids | string[] | required | The generated UUIDs in canonical 8-4-4-4-12 form. |
उदाहरण
curl -X POST https://x114.org/api/v1/uuid \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{"count":3,"uppercase":false}'