2025-04-13 08:28:48 +00:00
|
|
|
# https://marketplace.visualstudio.com/items?itemName=humao.rest-client
|
|
|
|
|
|
|
|
POST http://127.0.0.1:8000/signup
|
|
|
|
Content-Type: application/json
|
|
|
|
|
2025-06-01 14:01:42 +00:00
|
|
|
{ "username": "09140086509", "password": "12345678",
|
|
|
|
"email": "adam2@mail.com" , "mobile_number":"09140086509",
|
|
|
|
"first_name":"mahdi" , "last_name":"arabi" , "semat":"مدیر"
|
|
|
|
}
|
2025-04-13 08:28:48 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
POST http://127.0.0.1:8000/login
|
|
|
|
Content-Type: application/json
|
|
|
|
|
2025-06-01 14:01:42 +00:00
|
|
|
{ "mobile_number":"09140086509", "password": "12345678" }
|
2025-05-20 07:22:03 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
POST http://127.0.0.1:8000/login
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{ "password": "12345678" }
|
2025-04-13 08:28:48 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
GET http://127.0.0.1:8000/sendSmsVerification
|
|
|
|
Content-Type: application/json
|
2025-04-27 14:14:37 +00:00
|
|
|
Authorization: token 224648840820ad0948ddee5b00d53ae67c040c49
|
2025-04-13 08:28:48 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
POST http://127.0.0.1:8000/submitSmsVerification
|
|
|
|
Content-Type: application/json
|
2025-04-13 12:22:32 +00:00
|
|
|
Authorization: token d3f1b03996140c8f7561d67221953ff704b482cb
|
2025-04-13 08:28:48 +00:00
|
|
|
|
|
|
|
{ "verification_sms_code": "807806" }
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
GET http://127.0.0.1:8000/test_token
|
|
|
|
Content-Type: application/json
|
2025-05-24 13:29:34 +00:00
|
|
|
Authorization: token 8dcae0063521ca707a9d0ab6ce3d4794a90064ca
|
2025-04-13 08:28:48 +00:00
|
|
|
# Authorization: token 53e2b003a92e22aca85c95088a438ece8d9a5dfb
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
GET http://127.0.0.1:8000/getInfo
|
|
|
|
Content-Type: application/json
|
2025-05-24 13:29:34 +00:00
|
|
|
Authorization: token 8dcae0063521ca707a9d0ab6ce3d4794a90064ca
|
2025-04-13 08:28:48 +00:00
|
|
|
# Authorization: token 53e2b003a92e22aca85c95088a438ece8d9a5dfb
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
GET http://127.0.0.1:8000/templatequestions
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token c362581117e209735d412226e54596867e370892
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
GET http://127.0.0.1:8000/templatequestionscgm
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token c362581117e209735d412226e54596867e370892
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
GET http://127.0.0.1:8000/templatepages
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token c362581117e209735d412226e54596867e370892
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
POST http://127.0.0.1:8000/savetemplateform
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token c362581117e209735d412226e54596867e370892
|
|
|
|
|
|
|
|
{ "question_id": "1", "answer_text": "answer1" }
|
|
|
|
|
2025-04-27 14:14:37 +00:00
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
POST http://127.0.0.1:8000/editProfile
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token d3f1b03996140c8f7561d67221953ff704b482cb
|
|
|
|
|
|
|
|
{ "verification_sms_code": "807806" }
|
2025-05-21 13:23:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
POST http://127.0.0.1:8000/add_teamMember
|
|
|
|
Content-Type: application/json
|
2025-06-01 14:01:42 +00:00
|
|
|
Authorization: token e2792ac06153e10f00949a1924483a07629cc753
|
|
|
|
|
|
|
|
{
|
|
|
|
"mobile_number": "09140086605",
|
|
|
|
"first_name": "mahdi",
|
|
|
|
"last_name": "arabi",
|
|
|
|
"semat": "modir",
|
|
|
|
"password": "12345678",
|
|
|
|
"isAdmin": true,
|
|
|
|
"teamId": "1"
|
|
|
|
}
|
2025-05-25 13:08:21 +00:00
|
|
|
|
|
|
|
|
2025-05-24 13:29:34 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
2025-05-25 13:08:21 +00:00
|
|
|
POST http://127.0.0.1:8000/add_space
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token 8dcae0063521ca707a9d0ab6ce3d4794a90064ca
|
|
|
|
|
|
|
|
{ "assetBundleRoomId": "1", "name":"ROOM1", "description":"TEST DES", "capacity": "12" }
|
|
|
|
|
2025-05-24 13:29:34 +00:00
|
|
|
|
|
|
|
|
2025-05-25 13:08:21 +00:00
|
|
|
###
|
|
|
|
GET http://127.0.0.1:8000/get_space
|
2025-05-24 13:29:34 +00:00
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token 8dcae0063521ca707a9d0ab6ce3d4794a90064ca
|
2025-05-25 13:08:21 +00:00
|
|
|
|
2025-05-24 13:29:34 +00:00
|
|
|
|
2025-05-25 13:08:21 +00:00
|
|
|
###
|
|
|
|
GET http://127.0.0.1:8000/get_assigned_assetbundle_rooms
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token 8dcae0063521ca707a9d0ab6ce3d4794a90064ca
|
2025-06-01 14:01:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
POST http://127.0.0.1:8000/add_team
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token e2792ac06153e10f00949a1924483a07629cc753
|
|
|
|
|
|
|
|
{ "name":"team1", "description":"TEST DES", "max_persons":"9" , "capacity": "12" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
GET http://127.0.0.1:8000/get_team
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: token e2792ac06153e10f00949a1924483a07629cc753
|
|
|
|
|