Api  >  Grouped Suggestive Search


Grouped Suggestive Search

Service URL /v1/libraries/{libraryId}/suggestive/keyword

Service Endpoints


Suggestive Book Search: Grouped

Endpoint URL /v1/libraries/{libraryId}/suggestive/keyword?q={input}
Description
Keyword search, grouped by facets
Http Messages
HTTP GET Request
Fiddler Request
GET /v1/libraries/{libraryId}/suggestive/keyword/ebook?q=brown HTTP/1.1
User-Agent: fiddler
Host: api.rbdigitalstage.com
Authorization: basic {basicToken}
Content-Type: application/json

HTTP GET Response
Response
{
  "searchScope": "Owned",
  "tenantId": 1062,
  "gatewayLibraryId": 0,
  "limit": 5,
  "mediaType": "eBook",
  "keyword": "brown",
  "acceptMedia": "basic",
  "groups": {
    "0": {
      "name": "Title",
      "items": [
        {
          "display": "Brown: The Last Discovery Of America",
          "queryString": "/ebook?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=brown",
          "totalCount": 8
        },
        {
          "display": "Brown Everywhere",
          "queryString": "/ebook?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=brown+everywhere",
          "totalCount": 1
        },
        {
          "display": "Brown Sugar: A Collection Of Erotic Black Fiction",
          "queryString": "/ebook?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=brown+sugar",
          "totalCount": 5
        },
        {
          "display": "Brown Dwarf",
          "queryString": "/ebook?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=brown+dwarf",
          "totalCount": 1
        },
        {
          "display": "Brown Dog: Novellas",
          "queryString": "/ebook?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=brown+dog",
          "totalCount": 1
        }
      ]
    },
    "1": {
      "name": "Author",
      "items": [
        {
          "display": "Charles Sophy, Brown Kogen",
          "queryString": "/ebook?search-source=quick-author&page-size=60&sort-by=author&sort-order=asc&author=charles+sophy%2c+brown+kogen",
          "totalCount": 1
        },
        {
          "display": "Simon Brown, Dragana Brown",
          "queryString": "/ebook?search-source=quick-author&page-size=60&sort-by=author&sort-order=asc&author=simon+brown%2c+dragana+brown",
          "totalCount": 3
        },
        {
          "display": "Wendy Brown, Eric Brown",
          "queryString": "/ebook?search-source=quick-author&page-size=60&sort-by=author&sort-order=asc&author=wendy+brown%2c+eric+brown",
          "totalCount": 4
        },
        {
          "display": "Josie Brown, Martin Brown",
          "queryString": "/ebook?search-source=quick-author&page-size=60&sort-by=author&sort-order=asc&author=josie+brown%2c+martin+brown",
          "totalCount": 2
        },
        {
          "display": "Kody Brown, Meri Brown, Janelle Brown, Christine Brown, Robyn Brown",
          "queryString": "/ebook?search-source=quick-author&page-size=60&sort-by=author&sort-order=asc&author=kody+brown%2c+meri+brown%2c+janelle+brown%2c+christine+brown%2c+robyn+brown",
          "totalCount": 1
        }
      ]
    },
    "2": {
      "name": "Series",
      "items": [
        {
          "display": "Brown and De Luca",
          "queryString": "/ebook?search-source=quick-series&page-size=60&sort-by=series&sort-order=asc&series=brown-and-de-luca",
          "totalCount": 4
        },
        {
          "display": "Brown Family",
          "queryString": "/ebook?search-source=quick-series&page-size=60&sort-by=series&sort-order=asc&series=brown-family",
          "totalCount": 6
        },
        {
          "display": "Elodie Browne Mysteries",
          "queryString": "/ebook?search-source=quick-series&page-size=60&sort-by=series&sort-order=asc&series=elodie-browne-mysteries",
          "totalCount": 4
        },
        {
          "display": "Encyclopedia Brown",
          "queryString": "/ebook?search-source=quick-series&page-size=60&sort-by=series&sort-order=asc&series=encyclopedia-brown",
          "totalCount": 31
        },
        {
          "display": "Amber Brown",
          "queryString": "/ebook?search-source=quick-series&page-size=60&sort-by=series&sort-order=asc&series=amber-brown",
          "totalCount": 16
        }
      ]
    }
  }
}


Suggestive Magazine Search: Grouped

Endpoint URL /v1/libraries/{libraryId}/suggestive/keyword/magazine?q={input}
Description
Keyword search, grouped by title, genre
Http Messages
HTTP GET Request
Fiddler Request
GET /v1/libraries/{libraryId}/suggestive/keyword/magazine?q=sport HTTP/1.1
User-Agent: fiddler
Host: api.rbdigitalstage.com
Authorization: basic {basicToken}
Content-Type: application/json

HTTP GET Response
Response
{
  "searchScope": "Owned",
  "tenantId": 1062,
  "gatewayLibraryId": 0,
  "limit": 5,
  "mediaType": "Magazine",
  "keyword": "sport",
  "acceptMedia": "basic",
  "groups": {
    "0": {
      "name": "Title",
      "items": [
        {
          "display": "Motorcycle Sport & Leisure",
          "queryString": "/emagazine?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=motorcycle+sport+%26+leisure",
          "totalCount": 57
        },
        {
          "display": "Sport Fishing",
          "queryString": "/emagazine?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=sport+fishing",
          "totalCount": 175
        },
        {
          "display": "Autosport",
          "queryString": "/emagazine?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=autosport",
          "totalCount": 30
        },
        {
          "display": "Classic & Sports Car",
          "queryString": "/emagazine?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=classic+%26+sports+car",
          "totalCount": 46
        },
        {
          "display": "Cycle Sport",
          "queryString": "/emagazine?search-source=quick-title&page-size=60&sort-by=title&sort-order=asc&title=cycle+sport",
          "totalCount": 40
        }
      ]
    }
  }
}