Skip to content
ranjan-rk edited this page Dec 31, 2014 · 9 revisions

Workspace

RESTFiddle aims to avoid cluttering of different APIs. It is recommended to work on different workspaces for unrelated APIs.

A workspace is a collection of projects. Users can have private or shared workspaces.

Create Workspace

Click on the button in the header section, a list of menus appears below it. Select New Workspace. A modal panel with name and description field appears on the screen. Enter the fields and save changes to create a new workspace.

Switch Workspace

Selecting Switch Workspace option from top menu button lets to work on another workspace. A list of workspace appears on modal. Choose the one you want to work with.

Workspace APIs

Getting available workspaces

GET http://localhost:8080/api/workspaces

Getting workspace by Id

GET http://localhost:8080/api/workspaces/{workspaceId}

Creating a new workspace

POST http://localhost:8080/api/workspaces

{"name" : "New Workspace Name"}

Updating an existing workspace

PUT http://localhost:8080/api/workspaces/{workspaceId}

{ “id” : workspaceId, "name" : “Another Workspace"}

Deleting an existing worksapce

DELETE  http://localhost:8080/api/workspaces/{workspaceId}
Clone this wiki locally