shifts api working