Updated postman to latest

This commit is contained in:
🐙PiperYxzzy
2022-05-03 19:10:40 +02:00
parent c190ac9c0d
commit cd89e75403

View File

@@ -6,200 +6,290 @@
}, },
"item": [ "item": [
{ {
"name": "V1 Doot", "name": "Unauthenticated",
"request": { "item": [
"method": "GET", {
"header": [], "name": "V1 Doot",
"url": { "request": {
"raw": "localhost:9091/v1/doot", "method": "GET",
"host": [ "header": [],
"localhost" "url": {
], "raw": "localhost:9091/v1/doot",
"port": "9091", "host": [
"path": [ "localhost"
"v1", ],
"doot" "port": "9091",
] "path": [
} "v1",
}, "doot"
"response": [] ]
},
{
"name": "V1 Secured Doot",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:9091/v1/sec/doot",
"host": [
"localhost"
],
"port": "9091",
"path": [
"v1",
"sec",
"doot"
]
}
},
"response": []
},
{
"name": "V1 Admin Doot",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:9091/v1/adm/doot",
"host": [
"localhost"
],
"port": "9091",
"path": [
"v1",
"adm",
"doot"
]
}
},
"response": []
},
{
"name": "V1 Signup",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"userkey\": \"newser@user.com\",\n \"password\": \"NewPass\"\n}",
"options": {
"raw": {
"language": "json"
} }
} },
"response": []
}, },
"url": { {
"raw": "localhost:9091/v1/signup", "name": "V1 Signup",
"host": [ "request": {
"localhost" "method": "POST",
], "header": [],
"port": "9091", "body": {
"path": [ "mode": "raw",
"v1", "raw": "{\n \"userkey\": \"newser@user.com\",\n \"password\": \"NewPass\"\n}",
"signup" "options": {
] "raw": {
} "language": "json"
}, }
"response": [] }
}, },
{ "url": {
"name": "V1 User Login", "raw": "localhost:9091/v1/signup",
"request": { "host": [
"method": "POST", "localhost"
"header": [], ],
"body": { "port": "9091",
"mode": "raw", "path": [
"raw": "{\n \"userkey\": \"newser@user.com\",\n \"password\": \"ChangedPass\"\n}", "v1",
"options": { "signup"
"raw": { ]
"language": "json"
} }
} },
"response": []
}, },
"url": { {
"raw": "localhost:9091/v1/login", "name": "V1 User Forgot Password",
"host": [ "request": {
"localhost" "method": "POST",
], "header": [],
"port": "9091", "body": {
"path": [ "mode": "raw",
"v1", "raw": "{\n \"userkey\": \"newser@user.com\"\n}",
"login" "options": {
] "raw": {
} "language": "json"
}, }
"response": [] }
}, },
{ "url": {
"name": "V1 User Verify", "raw": "localhost:9091/v1/forgot",
"request": { "host": [
"method": "GET", "localhost"
"header": [], ],
"url": { "port": "9091",
"raw": "localhost:9091/v1/verify?verify=TOKEN", "path": [
"host": [ "v1",
"localhost" "forgot"
], ]
"port": "9091",
"path": [
"v1",
"verify"
],
"query": [
{
"key": "verify",
"value": "TOKEN"
} }
] },
} "response": []
},
"response": []
},
{
"name": "V1 User Forgot Password",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"userkey\": \"newser@user.com\"\n}",
"options": {
"raw": {
"language": "json"
}
}
}, },
"url": { {
"raw": "localhost:9091/v1/forgot", "name": "V1 User Reset Password",
"host": [ "request": {
"localhost" "method": "POST",
], "header": [],
"port": "9091", "body": {
"path": [ "mode": "raw",
"v1", "raw": "{\n \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTE0MjYzMjYsImlhdCI6MTY1MTQyNTQyNiwicm9sZSI6InJlc2V0Iiwic3ViIjoiZDFkNDBkMmUtOTFlYy00ZTBiLWEzY2EtM2U1ZTBkNGU5MTkxIn0.NE_0oV5MGJzuQuad-TUen1c7VCfFW9t6LMJPag8XC38\",\n \"password\": \"ChangedPass\"\n}",
"forgot" "options": {
] "raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:9091/v1/reset",
"host": [
"localhost"
],
"port": "9091",
"path": [
"v1",
"reset"
]
}
},
"response": []
},
{
"name": "V1 User Login",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"userkey\": \"newser@user.com\",\n \"password\": \"ChangedPass\",\n \"twofactorcode\": \"393939\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:9091/v1/login",
"host": [
"localhost"
],
"port": "9091",
"path": [
"v1",
"login"
]
}
},
"response": []
},
{
"name": "V1 User Verify",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:9091/v1/verify?verify=TOKEN",
"host": [
"localhost"
],
"port": "9091",
"path": [
"v1",
"verify"
],
"query": [
{
"key": "verify",
"value": "TOKEN"
}
]
}
},
"response": []
},
{
"name": "V1 Admin Login",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"userkey\": \"admin@admin.invalid\",\n \"password\": \"PASS_WOOOORD\",\n \"twofactorcode\": \"057192\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:9091/v1/admin",
"host": [
"localhost"
],
"port": "9091",
"path": [
"v1",
"admin"
]
}
},
"response": []
},
{
"name": "Fresh Admin",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"userkey\": \"admin@admin.invalid\",\n \"password\": \"q7irwc34h6rv4t34v\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:9091/{UUID}",
"host": [
"localhost"
],
"port": "9091",
"path": [
"{UUID}"
]
}
},
"response": []
} }
}, ]
"response": []
}, },
{ {
"name": "V1 User Reset Password", "name": "/sec (User)",
"request": { "item": [
"method": "POST", {
"header": [], "name": "V1 Secured Doot",
"body": { "request": {
"mode": "raw", "method": "GET",
"raw": "{\n \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NTE0MjYzMjYsImlhdCI6MTY1MTQyNTQyNiwicm9sZSI6InJlc2V0Iiwic3ViIjoiZDFkNDBkMmUtOTFlYy00ZTBiLWEzY2EtM2U1ZTBkNGU5MTkxIn0.NE_0oV5MGJzuQuad-TUen1c7VCfFW9t6LMJPag8XC38\",\n \"password\": \"ChangedPass\"\n}", "header": [],
"options": { "url": {
"raw": { "raw": "localhost:9091/v1/sec/doot",
"language": "json" "host": [
"localhost"
],
"port": "9091",
"path": [
"v1",
"sec",
"doot"
]
} }
} },
"response": []
}, },
"url": { {
"raw": "localhost:9091/v1/reset", "name": "V1 Secured Doot Copy",
"host": [ "request": {
"localhost" "method": "GET",
], "header": [],
"port": "9091", "url": {
"path": [ "raw": "localhost:9091/v1/sec/2fa-doot",
"v1", "host": [
"reset" "localhost"
] ],
"port": "9091",
"path": [
"v1",
"sec",
"2fa-doot"
]
}
},
"response": []
} }
}, ]
"response": [] },
{
"name": "/adm (Admin)",
"item": [
{
"name": "V1 Admin Doot",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:9091/v1/adm/doot",
"host": [
"localhost"
],
"port": "9091",
"path": [
"v1",
"adm",
"doot"
]
}
},
"response": []
}
]
} }
] ]
} }