http://iitbhuapp.tk/checkreg
{"email":"asdjabda@akf.com"}
-
Response if anything goes wrong
{"status": 0}
-
Response if registered
{"status": 1, "name":"testname" , "roll":12313123, "phone": "1232423535", "department":"Mining", "year":"2019" }
-
Response if new reg
{"status": 2}
http://iitbhuapp.tk/login
{"email":"asdjabda@akf.com", "name":"testname" , "roll":12313123, "phone": "1232423535", "department":"Mining", "year":"2019", "fcmtoken":"2131232dasasdasdasdwasd" }
-
Response if anything goes wrong
{"status": 0}
-
Response if registered
{"status": 2}
-
Response if new reg
{"status": 1}
http://iitbhuapp.tk/feedandclubs
{"roll":15075002}
- Response if anything goes wrong
{
"status": 0,
"councils": [
{
"name": "Cultural Council",
"image": "/media/abc.jpeg",
"clubs": [
{
"name": "Indian Music Club",
"image": "/media/download.png"
},
{
"name": "Western Music Club"
},
{
"name": "Dance Club"
}
]
},
{
"name": "Games and Sports Council",
"image": "/media/3.jpeg",
"clubs": [
{
"name": "Cricket Club",
"image": "/media/posters.jpg"
}
]
}
]
}
- Response if everything is fine
{
"status": 1,
"councils": [
{
"name": "Cultural Council",
"image": "/media/abc.jpeg",
"clubs": [
{
"name": "Indian Music Club",
"image": "/media/download.png"
},
{
"name": "Western Music Club"
},
{
"name": "Dance Club"
}
]
},
{
"name": "Games and Sports Council",
"image": "/media/3.jpeg",
"clubs": [
{
"name": "Cricket Club",
"image": "/media/posters.jpg"
}
]
}
],
"notif": [
{
"club": "Indian Music Club",
"clubimage": "/media/download.png",
"council": "Cultural Council",
"councilimage": "/media/abc.jpeg",
"title": "asd",
"description": "ad",
"datetime": "2019-05-31T10:53:10Z",
"location": "ds",
"viewedcount": 1,
"interestedcount": 1,
"interested": 1,
"notifid": 1
},
{
"club": "Western Music Club",
"council": "Cultural Council",
"councilimage": "/media/abc.jpeg",
"title": "test1",
"description": "test",
"image": "/media/back.jpg",
"datetime": "2019-05-31T17:55:29Z",
"location": "testloc",
"viewedcount": 1,
"interestedcount": 0,
"interested": 0,
"notifid": 2
}
]
}
http://iitbhuapp.tk/interested
{
"roll":213,
"notifid":1
}
-
Response if anything goes wrong
{"status": 0}
-
Response if everything is fine
{"status": 1}
-
Response if already intersted
{"status": 2}
http://iitbhuapp.tk/postcomplain
{
"roll":213,
"complain":"test complain",
"anonymous":1 #0 if you dont want to be anonymous,
"header":"complain header",
"type":"hostel complain",
"hostel":"sc dey"#optional field
}
-
Response if anything goes wrong
{"status": 0}
-
Response if everything is fine
{"status": 1}