Fix in path arguments order

Was it even tested? That couldn't work.
Put mapping was /*index*/_mapping/*type* and should /*index*/*type*/_mapping