/
index.html
26 lines (26 loc) · 943 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>ZSSN API</title>
</head>
<body>
<header>
<nav style="margin: 1em">
<h2>ZSSN API Documentation</h2>
</nav>
</header>
<main>
<section>
<ul>
<li style="margin: 1em"><strong>GET /api/survivors</strong> - Fetch all survivors</li>
<li style="margin: 1em"><strong>GET /api/survivors/:id</strong> - Fetch a survivor</li>
<li style="margin: 1em"><strong>POST /api/survivors</strong> - Create a survivor</li>
<li style="margin: 1em"><strong>PUT /api/survivors/:id</strong> - Update a survivor (You cannot update the inventory)</li>
<li style="margin: 1em"><strong>POST /api/survivors/report_infection</strong> - Report a survior suspected by infection</li>
</ul>
</section>
</main>
</body>
</html>