Update api.php

Linkshell parse fix