Rest extensions

Because of getAll() I thought getOne() might fit better. But will change it to get().