added first rest query
added first rest query