UUID を取得する API

UUID を返す API を公開しました。

1件取得

https://s.apiless.com/uuid
$ curl -s "https://s.apiless.com/uuid" | jq
{
  "uuids": [
    "ece8cd48-1aa0-484c-97f5-b570bd88a0f8"
  ]
}

複数件取得(1000件まで)

https://s.apiless.com/uuid?count=10
$ curl -s "https://s.apiless.com/uuid?count=10" | jq
{
  "uuids": [
    "11937de3-2e68-4d10-a892-3e3e4d10e565",
    "1c684eb6-9e87-4ddc-972a-cd71c95f8642",
    "56cb7409-205f-403f-953f-bb8667e15d17",
    "f0b389a7-694b-4c13-a4b4-ded719b841bd",
    "6354d6bf-7679-43a1-9490-8dec02c3f24d",
    "61f37a84-c06d-4540-bb31-f1682dfa7e03",
    "10c0b90c-b342-401b-af9f-3339f3316c80",
    "a01792cf-f1a5-4131-b6da-2ceda119b2ba",
    "f64a31bd-4df7-4b2a-891b-04dc1bd25366",
    "c25621d5-8ea7-471a-9b5d-7af3a4ac3f5b"
  ]
}
 ~/wk/jsUuid

APIAPI

Posted by kidatti