Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoerlitz authored Apr 25, 2023
1 parent 5b9affc commit 61f84fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ determine a member's progress within a specific course.

## API Interface

| Method | Path | Parameters | Response | Description |
|:------:|:-------------------:|:---------------------------------------|:-------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------|
| `GET` | `/course_completed` | `{course_id: number, user_id: number}` | `{course_name: string, completed: bool, completed_at: Date}` | Returns the provided response for the provided parameters. Returns a `400` HTTP Error in the event of missing parameters. |
| `GET` | `/quiz_completed` | `{module_id: number, user_id: number}` | Result of the `SELECT` statement | Returns the result of the `SELECT` statement for the provided parameters. Returns a `400` HTTP Error in the event of missing parameters. |
| Method | Path | Parameters | Response |
|:------:|:-------------------:|:---------------------------------------|:-------------------------------------------------------------|
| `GET` | `/course_completed` | `{course_id: number, user_id: number}` | `{course_name: string, completed: bool, completed_at: Date}` |
| `GET` | `/quiz_completed` | `{module_id: number, user_id: number}` | Result of the `SELECT` statement |

0 comments on commit 61f84fb

Please sign in to comment.