Skip to content
marktyers edited this page Feb 2, 2014 · 1 revision

Retrieves a list of all available genres

Authentication

None

Resource URL

http://localhost:3000/genre/all

Parameters

None

Example Request

http://localhost:3000/genre/all

Example Response

{
  "status": "success",
  "selfLink": "http://localhost:3000/genre/all",
  "genres": [
    {
      "id": 1,
      "title": "Art Architecture and Photography"
    },
    {
      "id": 2,
      "title": "Biography"
    },
    {
      "id": 3,
      "title": "Books for University"
    }
  ]
}

Clone this wiki locally