add documentation #22

Merged
merenber merged 6 commits from docs into v1 2021-10-05 00:07:12 -04:00
2 changed files with 13 additions and 5 deletions
Showing only changes of commit 3af3728cfa - Show all commits

View File

@ -569,6 +569,8 @@ paths:
/db/mysql/{username}:
post:
tags: ['database']
servers:
- url: https://caffeine.csclub.uwaterloo.ca:9987/api
summary: Create a MySQL database
description: Create a MySQL database for the user
parameters:
@ -601,6 +603,8 @@ paths:
/db/mysql/{username}/pwreset:
post:
tags: ['database']
servers:
- url: https://caffeine.csclub.uwaterloo.ca:9987/api
summary: Reset MySQL database password
description: Reset the password for a user's MySQL database
parameters:
@ -631,6 +635,8 @@ paths:
/db/postgresql/{username}:
post:
tags: ['database']
servers:
- url: https://caffeine.csclub.uwaterloo.ca:9987/api
summary: Create a PostgreSQL database
description: Create a PostgreSQL database for the user
parameters:
@ -663,6 +669,8 @@ paths:
/db/postgresql/{username}/pwreset:
post:
tags: ['database']
servers:
- url: https://caffeine.csclub.uwaterloo.ca:9987/api
summary: Reset PostgreSQL database password
description: Reset the password for a user's PostgreSQL database
parameters:

File diff suppressed because one or more lines are too long