SA REST API : System Architect REST API : Return workspaces for the given encyclopedia
  
Return workspaces for the given encyclopedia
Syntax
http://<Machine Name|IP>:<Port>/SARest/SQL/<Server Name>/<Encyclopedia Name>
Example
http://localhost:8889/SARest/SQL/MySQLServer/Samples
Results
<Encyclopedia Name="Samples">
<Workspace_List>
<Workspace Name="Root" ID="1" Baseline="1" Description="Default workspace created by System Architect" Path="\\Root" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/1"/>
<Workspace Name="Project1" ID="2" Baseline="1" Description="" Path="\\Root\Project1" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/2"/>
<Workspace Name="Project2" ID="13" Baseline="0" Description="Created during workspace merge process." Path="\\Root\Project2" href="http://localhost:8889/SARest/SQL/MySQLServer/Samples/13"/>
</Workspace_List>
</Encyclopedia>
Comments
Every encyclopedia, including those where workspaces is disabled, has a Root workspace with a workspace ID of 1.
Parent topic
System Architect REST API