Skip to content
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.

Create Workspace

Click on the button in the header section, a list of menus appears below it. Select New Workspace.

New Workspace Option

A modal panel with name and description field appears on the screen. Enter the fields and save changes to create a new workspace.

New Workspace

Switch Workspace

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

Switch Workspace Option

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

Switch Workspace Option

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}