diff --git a/config/alfresco/templates/webscripts/org/alfresco/indexall.get.mediawiki.ftl b/config/alfresco/templates/webscripts/org/alfresco/indexall.get.mediawiki.ftl index b8e42bc492..585709d8c7 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/indexall.get.mediawiki.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/indexall.get.mediawiki.ftl @@ -8,15 +8,30 @@ Back to [[HTTP API]]. = Introduction = -This page provides reference documentation for the Alfresco [[HTTP API]]. +Welcome to the reference documentation for the Alfresco [[HTTP API]]. -Generated on ${date?datetime} from +This document was generated from the URL - GET http://:/alfresco/service/indexall.mediawiki + GET http://:${url.service} -= API Reference = +on ${date?datetime} using Alfresco v${server.version}. + + += Web Script Reference = + +This section provides technical information for all ${webscripts?size} [[Web Scripts]], organised by Web Script Package. + +Documentation for each Web Script includes: + +* Short Name +* Description +* Available URL templates +* Default [[Web Scripts Framework#HTTP Response Formats|response format]] +* How to specify an alternative response +* Authentication requirements +* Transaction requirements +* Location of Web Script description document -The following reference provides a list of all available Web Scripts organised by Web Script package. <#macro recursepackage package> <#if package.scripts?size > 0> == Package: ${package.path} == @@ -25,17 +40,17 @@ The following reference provides a list of all available Web Scripts organised b === ${desc.shortName} === -<#if desc.description??><#if desc.description?ends_with(".")>${desc.description}<#else>${desc.description}.<#else> +<#if desc.description??><#if desc.description?ends_with(".")>${desc.description}<#else>${desc.description}.<#else>[No description supplied] <#list desc.URIs as uri> [http://localhost:8080/${url.serviceContext}${uri} ${desc.method} ${url.serviceContext}${uri}] Requirements: +* Default Format: ${desc.defaultFormat!"Determined at run-time"} * Authentication: ${desc.requiredAuthentication} * Transaction: ${desc.requiredTransaction} * Format Style: ${desc.formatStyle} -* Default Format: ${desc.defaultFormat!"Determined at run-time"} Definition: * Id: ${desc.id} @@ -43,6 +58,7 @@ Definition: <#list package.children as childpath> + <@recursepackage package=childpath/> diff --git a/source/java/org/alfresco/web/scripts/DeclarativeWebScriptRegistry.java b/source/java/org/alfresco/web/scripts/DeclarativeWebScriptRegistry.java index f2c52b42bd..ccdfc590db 100644 --- a/source/java/org/alfresco/web/scripts/DeclarativeWebScriptRegistry.java +++ b/source/java/org/alfresco/web/scripts/DeclarativeWebScriptRegistry.java @@ -335,8 +335,6 @@ public class DeclarativeWebScriptRegistry extends AbstractLifecycleBean { subpath = path.createChildPath(part); packageByPath.put(subpath.getPath(), subpath); - if (logger.isDebugEnabled()) - logger.debug("Registered Web Script package " + subpath.getPath()); } path = subpath; } @@ -366,8 +364,6 @@ public class DeclarativeWebScriptRegistry extends AbstractLifecycleBean { subpath = path.createChildPath(part); uriByPath.put(subpath.getPath(), subpath); - if (logger.isDebugEnabled()) - logger.debug("Registered Web Script URI Path " + subpath.getPath()); } path = subpath; }