-
Notifications
You must be signed in to change notification settings - Fork 0
/
requirements.txt
72 lines (58 loc) · 1.86 KB
/
requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"AccountNumberPrefix": "042", // Used to generate system account for every user. This signifies the first 3 digits of 10
"Art": {
"MinimumAmount": 540, // Minimum amount (sats) that can be pegged as art value
"MaximumAmount": 100000 // Maximum amount (sats) that can be pegged as art value
},
"ConnectionStrings": {
"DefaultConnection": "server=(localdb)\\MSSQLLocalDB; database=apesatsdb; trusted_connection=true"
},
"cloudinary": {
"cloudname": "",
"key": "",
"secret": ""
},
"Lightning": {
"URL": "", // LND URL
"UserMacaroonPath": "", // Macaroon file location
"UserSslCertPath": "", // SSL cert file location
"UserRpcHost": "", // GRPC host url
},
"TokenConstants": {
"ExpiryInMinutes": 1440, // Token expiration
"key": "" // Token key
}
}
// Endpoints
/// Account
- /api/Account/topupaccount {POST}
- /api/Account/withdrawsatoshis {POST}
- /api/Account/getallaccounts/{skip}/{take}/{userid} {GET}
- /api/Account/getbyuserid/{userid} {GET}
/// Art
- /api/Art/uploadart {POST}
- /api/Art/updateart {POST}
- /api/Art/publishart {POST}
- /api/Art/bidforart {POST}
- /api/Art/generateinvoiceforart {POST}
- /api/Art/getallarts/{skip}/{take}/{userid} {GET}
- /api/Art/getdrapfsarts/{skip}/{take}/{userid} {GET}
- /api/Art/getartsbyuser/{userid} {GET}
- /api/Art/getpublishedarts/{skip}/{take}/{userid} {GET}
- /api/Art/getbyid/{id}/{userid} {GET}
/// Transaction
- /api/Transaction/getalldebit/{skip}/{take}/{userid} {GET}
- /api/Transaction/getallcredit/{skip}/{take}/{userid} {GET}
- /api/Transaction/getbyid/{id}/{userid} {GET}
/// User
- /api/User/create {POST}
- /api/User/login {POST}
- /api/User/getall/{skip}/{take}/{userid} {GET}
- /api/User/getusersbyid/{userid} {GET}