AnsweredAssumed Answered

'Master' Webscript

Question asked by alfrescot3ster on Jun 1, 2015
Latest reply on Jun 1, 2015 by alfrescot3ster
Hello!

I have a question related to webscripts of the Alfresco backend repository.

Does it make sense to make just 1 webscript like:

<webscript>
    <shortname>Base Webscript</shortname>
    <description>Base Webscript</description>
    <url>/base/{method}</url>
  <authentication>user</authentication>
</webscript>


In this webscript, I will 'route' to the methods, which are gonna to be used.
So I have just 1 interface and prepare all things (parameters, error handling, etc.) in just 1 place.

Is this a good or bad idea?

Outcomes