Rest: Added missing parameters to indices.upgrade