create document for rest API