Authentication is required.


GET /api/v2/alerts
List logged-in account's search history

Examples

GET /api/v2/search-histories
200
{
  "data": [
    {
      "id": "1",
      "type": "search-histories",
      "links": {
        "self": "http://test.host/api/v2/search-histories/1"
      },
      "attributes": {
        "query": "query text"
      },
      "relationships": {
        "searchable": {
          "links": {
            "self": "http://test.host/api/v2/search-histories/1/relationships/searchable",
            "related": "http://test.host/api/v2/search-histories/1/searchable"
          }
        }
      }
    }
  ],
  "meta": {
    "total-pages": 1,
    "record-count": 1
  },
  "links": {
    "first": "http://test.host/api/v2/search-histories?page%5Bnumber%5D=1&page%5Bsize%5D=10",
    "last": "http://test.host/api/v2/search-histories?page%5Bnumber%5D=1&page%5Bsize%5D=10"
  }
}