rest: verify that archives values are > 0

Change-Id: I57fad94f3e5e595bc501ce3e02dbd4f2f075a543