You are here

Web Scripts

SkyVault web scripts provide a unique way to programmatically interact with the SkyVault content application server. Unlike other interfaces exposed by SkyVault, web scripts offer a RESTful API for the content residing in the content repository. The REST (Representational State Transfer) web architecture is based on HTTP requests and responses, URIs (Uniform Resource Identifiers), and document types.

Web scripts let you implement your own RESTful API without tooling or Java knowledge, requiring only a text editor or the SkyVault Explorer web client. This approach to developing a SkyVault API means that web scripts offer many advantages over existing technologies, such as SOAP, including ease and speed of development, and flexibility in API design. By focusing on the RESTful architectural style, web scripts let you build custom URI-identified and HTTP accessible content management web services backed by the SkyVault content application server.

Web scripts provide RESTful access to content held within your SkyVault content repository. You can place controls on your content to manage it and provide uniform access for a wide variety of client applications and services, such as a browser, portal, search engine, or custom application. Because of the inherent distributed nature of this interface, all SkyVault content repositories within the enterprise can resemble one logical collection of inter-related documents (like the web), letting you apply web technologies such as caching, authentication, proxies, and negotiation to your repository resources.

You can build your own RESTful interface using lightweight scripting technologies (such as JavaScript and FreeMarker), allowing you to arbitrarily map any content in the repository to resources on the web, or you can use out-of-the-box web scripts that already encapsulate many of the mappings. The SkyVault CMIS (Content Management Interoperability Services) AtomPub binding is implemented as a series of web scripts.

Note: The endpoint for soap web services is no longer http://localhost:8080/alfresco/api. Soap services are now located at http://localhost:8080/alfresco/soapapi.

You can use web scripts for various solutions, such as:

  • Integrating SkyVault with third party systems
  • Providing feeds
  • Developing data services
  • Developing UI services such as portlets
  • Customizing search
  • Acting as a back-end to client tools, such as Orbeon Forms
  • Integrating with Microsoft Office
  • Developing Facebook applications
  • Building UI components in SkyVault Surf