Major update of 'documents' api parameters