1. Alfresco Content Services 5.2 Documentation, "Root objects": This official documentation page lists the root objects available to web scripts. It explicitly defines url.templateArgs as "An associative array of arguments extracted from the URI path." and args as "An associative array of all query parameter values from the URI."
Reference: Alfresco Content Services 5.2 Documentation > Developing > APIs > Web Scripts > Web script reference > Root objects.
2. Alfresco Content Services 5.2 Documentation, "url": This section details the properties of the url root object.
Reference: Alfresco Content Services 5.2 Documentation > Developing > APIs > Web Scripts > Web script reference > Root objects > url. It states:
templateArgs: "An associative array of arguments from the URI path."
args: "An associative array of arguments from the URI query string."