Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Latest commit

 

History

History
69 lines (40 loc) · 933 Bytes

APIdesign.md

File metadata and controls

69 lines (40 loc) · 933 Bytes

API Endpoints for PASP

/:

  • Method: Get

  • Description: to know server status

/login:

  • Method: Get

  • Description: to login into PASP

/signup:

  • Method: Get

  • Description: to signup into PASP

/delete:

  • Method: Delete

  • Description: to delete a user from PASP

/forgot:

  • Method: Get

  • Description: to provide forgot password function to user

/details:

  • Method: Get

  • Description: to get details of the user

/input:

  • Method: Get

  • Description: Get all inputs made by user

  • Method: Post

  • Description:
    To push a new dosage input from user

/gstats/numberof/

  • Method: Get

  • Description: to get count of a factor where factor can be antibiotics/pathogens/problems/syndromes

/gstats/numberof/

  • Method: Get

  • Description: to get count of a factor where factor can be antibiotics pathogens/ problems/ syndromes