Web script functionality at a high level

After understanding the overall scenario that we want to achieve, let's understand how this web script will work at a high level:

  • A parameter nodeid needs to be passed as a request argument to the web script.
  • The web script will be accessed by authenticated users only.
  • If a user has at the minimum read access to a given node, then only the physical location of the filesystem and content size will be provided for the node.
  • A response will be provided in JSON as well as XML format. The format can be specified at the time of invoking the web script.

Get Learning Alfresco Web Scripts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.