Skip to content
Anuja Ranjan Kumar edited this page Jan 5, 2015 · 13 revisions

A step further to keep your set of APIs clean and separate is to create different projects within the same workspace. You can opt to create different projects when APIs are part of different modules, i.e. related to each other but providing totally different functionalities.

A Project is a top level entity within a workspace where all the request/response are organized.

Create Project

In the left navigation column, click on + symbol against Projects.

Create Project Option

You can see a modal with project name and description fields to create the new project.

Create Project

###Request Tree

The middle column contains all the folders and requests within a project selected from the left navigation. This tree has no limitation on number of child folders/requests. A request or folder can exist as a node at any level down the tree.

Request Tree

Folders are meant to keep your requests in an organized manner. New Folder button above the request tree creates a folder under selected node or at the root. Similarly New Request is meant for creating a request. More about New Request is here.

Project APIs

Getting projects within a workspace

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

Getting project by Id

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

Creating a new project

POST http://localhost:8080/api/workspaces/{workspaceId}/projects

{"name" : "New Project Name"}

Updating an existing project

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

{ “id” : projectId, "name" : “Another Project"}

Deleting an existing project

DELETE  http://localhost:8080/api/workspaces/{workspaceId}/projects/{projectId}

Clone this wiki locally