-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.http
148 lines (96 loc) · 3.21 KB
/
test.http
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
### GET ALL Users
GET http://[::1]:5000/getAllUserDetails HTTP/1.1
### GET SINGLE User
GET http://[::1]:5000/getUserDetails?user_wallet=0x66c7be7e5889dc9c6295dfa5ec5c97b36ce9eeef HTTP/1.1
### GET User By User Name
GET http://[::1]:5000/getUserByUsername?username=Ajay HTTP/1.1
### GET User Name exists or not
GET http://[::1]:5000/userName?username=selvan HTTP/1.1
### GET LeaderBoard
GET http://[::1]:5000/leaderBoard HTTP/1.1
### GET steam connect
GET http://[::1]:5000/steam/connect?user_wallet=0x40c7be7e5889dc9c6295dfa5ec5c97b36ce9eeef&mission_id=m_fol_ds_092023 HTTP/1.1
### Post twitter Auth Link
POST http://[::1]:5000/twitter/authlink HTTP/1.1
### Post twitter Connect
POST http://[::1]:5000/twitter/connect HTTP/1.1
Content-Type: application/json
{
"oauth_token":"K91djwAAAAABpu-YAAABiyNFAy4",
"oauth_verifier":"8739830",
}
### Post twitter Follow
POST http://[::1]:5000/twitter/follow HTTP/1.1
Content-Type: application/json
{
"user_wallet":"0x5E616deADe06C07B2A61E4fEcEec7394Ff362BbD",
}
### GET Referral records
GET http://[::1]:5000/getReferralRecords?referrer_wallet=0x5E616deADe06C07B2A61E4fEcEec7394Ff362BbD HTTP/1.1
### GET Completed Missions
GET http://[::1]:5000/getCompletedMissions?user_wallet=1234567890 HTTP/1.1
### GET Not Completed Missions
GET http://[::1]:5000/getNotCompletedMissions?user_wallet=0x40c7be7e5889dc9c6295dfa5ec5c97b36ce9eeef HTTP/1.1
### Post ADD user
POST http://[::1]:5000/addUserDetails HTTP/1.1
Content-Type: application/json
{
"user_wallet":"0x66c7be7e5889dc9c6295dfa5ec5c97b36ce9eeef",
"username":"guna",
"discord":"ajselvan"
}
### Post Referral Records
POST http://[::1]:5000/referralRecords HTTP/1.1
Content-Type: application/json
{
"referrer_wallet":"0x5E616deADe06C07B2A61E4fEcEec7394Ff362BbD",
"referred_wallet":"0xaF69A75A911085C06A4a375509a495c2A8fAD8F1"
}
### Post ADD Missions
POST http://[::1]:5000/mission HTTP/1.1
Content-Type: application/json
{
"mission_id":"m_fol_ds_092023",
"mission_title":"follow kanalabs gaming on discord",
"platform":"discord"
}
### Post ADD Missions Activity
POST http://[::1]:5000/missionActivity HTTP/1.1
Content-Type: application/json
{
"mission_id":"m_fol_tw_092023",
"user_wallet":"1234567890"
}
### Post ADD Levels
POST http://[::1]:5000/levelRecords HTTP/1.1
Content-Type: application/json
{
"level_id":"7",
"level_name":"level 5",
"badge_id":"5",
"badge_name":"Hello",
"badge_description":"hiiii",
"required_points":"1000"
}
### Post ADD Levels
POST http://[::1]:5000/referralRecords HTTP/1.1
Content-Type: application/json
{
"referrer_wallet":"0x40c7be7e5889dc9c6295dfa5ec5c97b36ce9eeef",
"referred_wallet":"0xFf00000000500190102000110000000000008453"
}
### Post ADD Referral links
POST http://[::1]:5000/addReferralLinks HTTP/1.1
Content-Type: application/json
{
"user_wallet":"0x40c7be7e5889dc9c6295dfa5ec5c97b36ce9eeef",
"referral_link":"This is my gaming referral link"
}
### Delete ITEM
DELETE http://[::1]:5000/deletUser?user_wallet=0x40c7be7e5889dc9c6295dfa5ec5c97b36ce9eeef HTTP/1.1
### Update ADD ITEM
PUT http://[::1]:5000/updateUser?user_wallet=0x66c7be7e5889dc9c6295dfa5ec5c97b36ce9eeef HTTP/1.1
Content-Type: application/json
{
"username": "kkkkk"
}