Projects

Project api reference

Create project

POST https://localhost:44362/projects/

This endpoint allows you to create project.

Headers

Name
Type
Description

Content-Type

string

The Content-Type entity header is used to indicate the media type. Use application/json

Request Body

Name
Type
Description

id

string

Unique identifier project

name

string

Name of project

description

string

Description of project

{
    "id": "bc6c5436-ffff-439e-ae27-9b3b967daa11",
    "name": "Sample Project",
    "description": "Sample project to demonstrate cosmos toggles"
}

Get projects

GET https://localhost:44362/projects/

Get all projects

Headers

Name
Type
Description

Content-Type

string

The Content-Type entity header is used to indicate the media type. Use application/json

[
    {
        "id": "bc6c5436-ffff-439e-ae27-9b3b967daa11",
        "name": "Sample Project",
        "description": "Sample project to demonstrate cosmos toggles"
    }
]

Get project

GET https://localhost:44362/projects/:projectId

Get project by identifier

Query Parameters

Name
Type
Description

projectId

string

Project identifier

Headers

Name
Type
Description

Content-Type

string

The Content-Type entity header is used to indicate the media tye. User application/json

{
	  "id": "bc6c5436-ffff-439e-ae27-9b3b967daa11",
    "name": "Sample Project",
    "description": "Sample project to demonstrate cosmos toggles"
}

Last updated