-
Notifications
You must be signed in to change notification settings - Fork 3
API References
Aishwarya Vijay Sinhasane edited this page Feb 6, 2022
·
2 revisions
- Registration
- POST http://localhost:5005/v1/user/signup
- RequestBody: {"email":"[email protected]","password":"bob@5678"}
- Login
- GET http://localhost:5005/v1/user/login
- RequestBody: {"email":"[email protected]","password":"bob@5678"}
- Logout
- POST http://localhost:5004/v1/session-service/logout
- RequestBody: { "email":"[email protected]" }
- Create-session
- POST http://localhost:5004/v1/session-service/create-session
- RequestBody: { "email":"[email protected]" }
- Refresh
- POST http://localhost:5004/v1/session-service/refresh
- RequestBody: { "email":"[email protected]" }
- Validate
- POST http://localhost:5004/v1/session-service/validate
- RequestBody: {"Access_token" : "eyJzdHJhdGVneSI6InZhbHVlIiwiY3JlYXRlZF9hdCI6IjIwMjItMDItMDJUMjM6MDc6NDBaIiwiaWQiOjJ9&limit"}
- Audit
- POST http://localhost:5001/v1/audits
- RequestBody: { "request": {"hello": "hi" }, "response": {"resp": "wwfwf"}, "user_id": 2, "service_provider_identifier": "wfwfw" }
- Paginated Audits
- GET http://localhost:5001/v1/audits
- RequestBody: { "cursor": "", "limit": 2 }
- Weather-Data-Retrival
- GET http://127.0.0.1:8000/retrive-data/
- RequestBody: { "user_id": "rushi", "date": "2018-04-28", "time": "12:45", "station": "KTLX" }
- Gateway-Service Signup
- POST-http://127.0.0.1:5006/v1/user/signup
- RequestBody: { "email": "[email protected]", "password": "Madhura3" }
- Gateway-Service Login user
- POST http://127.0.0.1:5006/v1/user/login
- RequestBody: { "email": "[email protected]", "password":"Madhura2" }
- Gateway-Service Logout
- POST http://127.0.0.1:5006/v1/user/logout
- RequestBody: Access-Token-eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDM5MjQzOTIsImV4cCI6MTY0MzkyNjE5MiwidXNlcklkIjoiZDJjYTFiMGUtZjc0ZS00MDdlLTk1YWMtNTNiYWQ0ZGUzOTkxIn0.gX_Ru6FWxTIWAzJHJr448J4oobDDlIduuqjbqc0671I Content-Type application/json
- Gateway-Service credit audits
- POST http://localhost:5006/v1/audits
- RequestBody: { "request": { "hello": "hi" }, "response": { "resp": "wwfwf" }, "service_provider_identifier": "wfwfw" }
- Gateway-Service fetch audits
- GET http://localhost:5006/v1/audits
- RequestBody:{ "Access_token" : eyJzdHJhdGVneSI6InZhbHVlIiwiY3JlYXRlZF9hdCI6IjIwMjItMDItMDJUMjM6MDc6NDBaIiwiaWQiOjJ9&limit}
- Architecture
- Workflows & Use Case Diagram
- API Reference
- API Reference for Merra Data
- Microservices
- Local Installation
- Scalability