add request signatures and GET/POST requests

This commit is contained in:
sam 2024-01-17 15:51:16 +01:00
parent 0e71e9dc5f
commit 7a694623e5
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
24 changed files with 690 additions and 30 deletions

View file

@ -0,0 +1,62 @@
{
"db_name": "PostgreSQL",
"query": "select\n id, username, email, password, role as \"role: Role\", avatar\n from accounts where username = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "username",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "email",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "password",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "role: Role",
"type_info": {
"Custom": {
"name": "account_role",
"kind": {
"Enum": [
"user",
"admin"
]
}
}
}
},
{
"ordinal": 5,
"name": "avatar",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false,
false,
false,
false,
false,
true
]
},
"hash": "acb98db00095d510a139a8a4fd61edcd04e1570c96869993b6b20d16ad71da3c"
}