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}'
इसे ब्राउज़र में आज़माएं

मुफ़्त उपकरण आपको कोई कोड लिखे बिना वही परिणाम देता है।

उपकरण खोलें