I'm confused, cryptodan. With the file editor you click on the edit button and edit it the way you want. What are you writing about that would be easier with an API?
Not many people know how to format the robots.txt or the .htaccess files. So an API with common options like block google and add the directories and stuff like that.
Well, It would be a first then. I am unaware of others being able to do this. If I knew more about programming I would make a plugin, but I know jack crap about it.