prabh1234assla / iiedc

security project for the main gate of nit srinagar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api documentation :

all get requests will be sent by using BEARER TOKEN returned by the POST REQUEST that registers a new user (line 26)

to get full userinfo :

to get full userinfo with full media details :

to get userinfo for particular username or platenumber :

register yourself as a new user :

method : POST

{ "username" : "", "email" : "", "password" : "" }

to post data through api

method : POST

{ "data": { "username": "dummy_person_3", "registration_date": "2021-05-10T23:55:00.000Z", "designation": "student", "blocked_status": false, "access_status": true, "access_from": "2023-01-10T00:30:00.000Z", "access_to": "2023-01-01T00:30:00.000Z", "vehicle_type": "four_wheeler_commercial", "number_plate_code": "jk-90-94990", "createdAt": "2023-05-12T07:06:42.036Z", "updatedAt": "2023-05-12T07:07:16.331Z", "publishedAt": "2023-05-12T07:07:16.327Z", "slug": "dummy_person_3" }, "meta": {} }

About

security project for the main gate of nit srinagar


Languages

Language:JavaScript 100.0%