get (query) {
    return new Promise((resolve, reject) => {
      const options = {
        url: 'api/histories',
        method: 'GET',
        params: query
      };

      Vue.axios(options)
        .then((response) => {
          resolve(response);
        }, (error) => {
          reject(error);
        });
    });
  }
Gets a list of histories
@param {Object} query Parameters to query the server for specific histories
@returns {Promise} Promise A promise object that signals the completion
                           or rejection of the request.