For ONTAP management purposes you use either SSH (secure shell) or ONTAP System Manager (web based). ONTAPI is an XML API, you can use this with automation (like Ansible). Other things that use ONTAPI for example are anitvirus solutions and Active IQ.