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}'