[This is preliminary documentation and is subject to change.]
The LolCatsController type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | GetAllLolCats |
This method is run when the server is queried with the following string:
/api/lolCats/
|
![]() | GetlolCatById |
Searches the database for a lolCat of the given Id (fileName).
|
![]() | GetlolCatByRandom |
This API obtains a lolCat at random from the database. Note that it does NOT fetch the entire DB and
then select from that collection- RavenDB performs the randomization for us.
|
![]() | GetlolCatsByCuteness |
Allow our users to search by Cuteness threshold.
|
![]() | GetlolCatsByRating |
Allow our users to search by rating threshold.
|