Skip to content
AnujaK edited this page Jan 3, 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

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