Convention or configuration for web front ends?

There is no standard API currently. See this thread: Question on API implementation