-
Notifications
You must be signed in to change notification settings - Fork 150
Workspace
AnujaK edited this page Jan 3, 2015
·
9 revisions
RESTFiddle aims to avoid cluttering of different APIs. It is recommended to work in different workspaces for unrelated APIs.
A workspace is a collection of projects. Users can have private or shared workspaces.
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.

Selecting Switch Workspace option from top menu button lets us work in another workspace.

A list of workspaces appear on modal. Choose the one you want to work in.

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}