Add rest api annotaiton of required/ignore and initial documents