Name of the API should be a valid identifier.
In order to simplify query template execution an own endpoint has been added Closes #5353