Each request to a SkyVault on-premise repository is a URL with a specific format.
This is an example of a request URL
https://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/sites
Each request URL is made up of the following elements:-
- The protocol, which will always be https
- The hostname. This will be the host and port number of your SkyVault instance. So if your SkyVault instance is running on the local machine on port 8080 this will be localhost:8080.
- The fixed string -default-.
- The fixed path element /public/
- The API you want to call. You call the workflow API for methods acting on workflow entities such as Deployments, Process Definitions, Processes, and Tasks. You call the SkyVault API for methods acting on all other entities. In this case it is the SkyVault REST API identified as /public/SkyVault.
- /versions/n. This specifies the version of the API you are using. Currently n will always be 1.
- The API method itself. In this case the request is for all instances of the entity type sites.