Skip to content

API References

Aishwarya Vijay Sinhasane edited this page Feb 6, 2022 · 2 revisions
  • Registration
  • Login
  • Logout
  • Create-session
  • Refresh
  • Validate
  • Audit
  • POST http://localhost:5001/v1/audits
  • RequestBody: { "request": {"hello": "hi" }, "response": {"resp": "wwfwf"}, "user_id": 2, "service_provider_identifier": "wfwfw" }
  • Paginated Audits
  • Weather-Data-Retrival
  • Gateway-Service Signup
  • Gateway-Service Login user
  • 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}