integrated responder framework
This commit is contained in:
51
templates/home/index.html
Normal file
51
templates/home/index.html
Normal file
@ -0,0 +1,51 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user