restmetadata check