cowiz20/templates/home/index.html

51 lines
1.7 KiB
HTML

{% extends "/shared/_layout.html" %}
{% block content %}
<div class="content">
<h1><span class="font-semi-bold">Gambling Foo</span> <span class="smaller">A RESTful gaming service</span></h1>
<p class="lead">
Play a nice game of cards?<br>
<br>
<strong>Endpoints</strong>
<ul>
<li>
<strong>Shuffle Card Deck</strong><br>
<a href="/api/shuffle">GET /api/shuffle</a>
</li>
<li>
<strong>Movies by director</strong><br>
<a href="/api/director/cameron">GET /api/director/{director_name}</a>
</li>
<!--
<li>
<strong>Movie by IMDB code</strong><br>
<a href="/api/movie/tt0096754">GET /api/movie/{imdb_number}</a>
</li>
<li>
<strong>Top 10 Movies (by IMDB score)</strong><br>
<a href="/api/movie/top">GET /api/movie/top</a>
</li>
<li>
<strong>All genres</strong><br>
<a href="/api/movie/genre/all">GET /api/movie/genre/all</a>
</li>
<li>
<strong>Top movies for a given genres</strong><br>
<a href="/api/movie/genre/sci-fi">GET /api/movie/genre/{genre}</a>
</li>
-->
</ul>
</p>
<p class="disclaimer">
Spam Bacon Sausage + Spam
Spam Spam Spam Spam Spam
Spam Baked Beans Spam
Spam Spam + Spam
</p>
</div>
{% endblock %}