Skip to Content

Hi All,

I am developer in SAP and am working on XSA advanced features .

This blog will explain how the work space export API, will provide archived work spaces content for the required user and user preferences.

Prerequisite  :-

The exposed API’s functionality should be available in SPS12 manually,SPS02 and SPS03 as part of implementation.So,make sure the webide XSA system will be incorporated with these versions.

 

The Workspace Export API shall be invoked as follows:-

 

1.Obtain either Space Enablement or Certificate Management Admin Tool URL from the backend.

eg:-

On executing the above command, It will return the Certificate Management admin tool url.

Similarly,to get the Space Enablement url execute ” xs app di-space-enablement-ui –urls

 

2. Open any browser and provide the following API URL in the addressbar :-

https://{di-cert-admin URL}/che/workspace/export-all/{userid}

( i.e., https://host:port/che/workspace/export-all/userXXX )

 

3. Now,login as system administrator.

 

4. On clicking of “Log On” button,it downloads a zip file as shown below. The name of the zip               file  with be same as {userid } provided in the base url.

 

 

5.  Open the Zip folder downloaded.you can find the list of projects available inside the zip folder.

 

Thus, all the existing projects inside webide workspace can be imported as “ZIP” file via exposed API calls.

 

Hope this blog will be helpful 🙂

Thank you !!!

 

 

 

 

 

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply