SSID icon indicating copy to clipboard operation
SSID copied to clipboard

✨ Coursemology Integration Phase 1 Stage 1

Open huyuxin0429 opened this issue 2 years ago • 1 comments

Cc:

Hi

Pain

Currently we do not have a clear idea of what the API specifications for coursemology looks like. Ensuring that the specification is more concrete will help to clarify functional requirements of the API.

See https://github.com/WING-NUS/SSID/milestone/3 for integration masterplan.

Suggested Solution

Tasks

Ensure the following fields are contained in our API specification:

  • [ ] POST API key to be submitted in header.
  • [ ] POST API body to include field for submissions: zip file that contains all submitted files and template data (structure to be confirmed)
  • [ ] POST API body to include field for references: zip file that contains all past course files.
  • [ ] POST API body to include optional parameters: detection threshold, n-gram size etc
  • [ ] GET API key to be submitted in header.
  • [ ] GET API response body documentation.

Ensure the relevant response documentation are available:

  • [ ] Document POST API responses: Response for Error states (500 Generic Error, 503 Service Unavailable (When SSID is in maintenance mode), etc)
  • [ ] Document GET API responses and body
  • [ ] Common API specification sheet to be created and shared between SSID and Coursemology team. (Google Doc?)

Acceptance Criteria

When all of the above fields are specificed in the API documentation. When all of the above documentation are specified.

More Information

Tentative deadline: 10/09/2023

Screenshots

Thanks!

huyuxin0429 avatar Sep 04 '23 09:09 huyuxin0429

https://docs.google.com/document/d/1sKKVkvnRlR6c-H7kVjWy8nFyYkDae14l05Boli8Pm0Y/edit?usp=sharing

Yellow texts are clarifications or decisions I made on-the-fly.

Feel free to let me know if you have any doubt, addition, edit, comment or feedback.

Since it is publicly available on SSID's Github Issues, the doc is set to Comment only permission, but feel free to request edit access.

sibinhho99 avatar Sep 10 '23 03:09 sibinhho99