Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. Describe how you intend to develop the API module and provide the ability to run it in Web service mode (Zifan Wei )

...

2. Discuss your current thinking about how parameters can be passed to your module and how results are collected. Show an example of a possible interaction. (e.g.- sample HTTP calls with URL and parameters) (Tingzhuang Zhou )

...

Return all matching

Code Block
GET/report/:country/:city/?{param}

...

Get all user saved report

Code Block
languagejs
GET/report/:userId/

Delete report by userId and report id

Code Block
languagejs
DELETE/api/report/:userId/

Sample disease report

Code Block
languagejs
report = {
  id: 'sample_id',
  url: 'http://outbreaks.globalincidentmap.com/xxx',
  date_of_publication: "2022-02-23 16:07:00",
  country: "United Kingdom",
  city: "London",
  eventType: "Salmonella Outbreak (Suspected or Confirmed)",
  location: {
    latitude: 51.507,
    longitude: -0.128
  }
}
  • database design

  • possible interactions other than get request

...

3. Present and justify implementation language, development and deployment environment (e.g. Linux, Windows) and specific libraries that you plan to use. (Mashira Farid ) (Lin Thit Myat Hsu Library)

...

Implementation Languages:

...