doc api; add multi attachments when creation