[This is preliminary documentation and is subject to change.]

The LolCatsController type exposes the following members.

Constructors

  NameDescription
Public methodLolCatsController
Constructor - creates a new RavenDB instance, and connects to the server.

Methods

  NameDescription
Public methodGetAllLolCats
This method is run when the server is queried with the following string: /api/lolCats/
Public methodGetlolCatById
Searches the database for a lolCat of the given Id (fileName).
Public methodGetlolCatByRandom
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.
Public methodGetlolCatsByCuteness
Allow our users to search by Cuteness threshold.
Public methodGetlolCatsByRating
Allow our users to search by rating threshold.

See Also