adding spectra rest endpoints