mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Amend examples (#211)
This commit is contained in:
@@ -1,47 +1,58 @@
|
||||
|
||||
{
|
||||
"generate": [{
|
||||
"title": "Generate a unique ID",
|
||||
"run_check": true,
|
||||
"request": {
|
||||
"type": "uuid"
|
||||
},
|
||||
"response": {
|
||||
"type": "uuid",
|
||||
"id": "e9c427d8-cef1-48bd-ab89-59a6df29673b"
|
||||
}
|
||||
"generate": [
|
||||
{
|
||||
"title": "Generate a unique ID",
|
||||
"run_check": true,
|
||||
"request": {
|
||||
"type": "uuid"
|
||||
},
|
||||
"response": {
|
||||
"type": "uuid",
|
||||
"id": "e9c427d8-cef1-48bd-ab89-59a6df29673b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Generate a short ID",
|
||||
"run_check": true,
|
||||
"request": {
|
||||
"type": "shortid"
|
||||
},
|
||||
"response": {
|
||||
"type": "shortid",
|
||||
"id": "Yivg2UeGg"
|
||||
}
|
||||
"title": "Generate a short ID",
|
||||
"run_check": true,
|
||||
"request": {
|
||||
"type": "shortid"
|
||||
},
|
||||
"response": {
|
||||
"type": "shortid",
|
||||
"id": "Yivg2UeGg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Generate a snowflake ID",
|
||||
"run_check": true,
|
||||
"request": {
|
||||
"type": "snowflake"
|
||||
},
|
||||
"response": {
|
||||
"type": "snowflake",
|
||||
"id": "1248956308049350656"
|
||||
}
|
||||
"title": "Generate a snowflake ID",
|
||||
"run_check": true,
|
||||
"request": {
|
||||
"type": "snowflake"
|
||||
},
|
||||
"response": {
|
||||
"type": "snowflake",
|
||||
"id": "1248956308049350656"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Generate a bigflake ID",
|
||||
"run_check": true,
|
||||
"request": {
|
||||
"type": "bigflake"
|
||||
},
|
||||
"response": {
|
||||
"type": "bigflake",
|
||||
"id": "29941839868462377496067580952577"
|
||||
}
|
||||
}]
|
||||
"title": "Generate a bigflake ID",
|
||||
"run_check": true,
|
||||
"request": {
|
||||
"type": "bigflake"
|
||||
},
|
||||
"response": {
|
||||
"type": "bigflake",
|
||||
"id": "29941839868462377496067580952577"
|
||||
}
|
||||
}
|
||||
],
|
||||
"types": [
|
||||
{
|
||||
"title": "List the types of IDs available",
|
||||
"run_check": false,
|
||||
"request": {},
|
||||
"response": {
|
||||
"types": ["uuid", "shortid", "snowflake", "bigflake"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user