API 개요로 돌아가기

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으로 전송합니다.

NameTypeRequiredDescription
countnumberoptionalHow many UUIDs to generate (1-500). Defaults to 1.
uppercasebooleanoptionalReturn uppercase hex digits. Defaults to false.

응답 본문

성공 시 반환되는 JSON (HTTP 200).

NameTypeRequiredDescription
okbooleanrequiredTrue on success.
countnumberrequiredThe number of UUIDs returned.
uppercasebooleanrequiredWhether the output is uppercased.
uuidsstring[]requiredThe 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}'
브라우저에서 시도

무료 도구는 코드 작성 없이 동일한 결과를 제공합니다.

도구 열기