rest: validate archive policies definitions

Change-Id: Ifc47499ea610c89c901fbfbf96cc512376321cf1
Merge "rest: validate archive policies definitions"