Update api.json

Now it's valid JSON ;-)