Skip to main content

Create a new project

POST http://localhost:8080/consumer/api/v1/api/v1/projects

Creates a new project from the given project body

Request Body required

Project body

  • hosting_platform string required
  • org_id string
  • project_name string required
  • region string required
Responses

Success" {"ok":1,"data":{"projectId":[]}}

Schema

    Request

    Base URL
    http://localhost:8080/consumer/api/v1
    Body required
    {
    "hosting_platform": "string",
    "org_id": "string",
    "project_name": "string",
    "region": "string"
    }
    curl / cURL
    curl -L -X POST 'http://localhost:8080/consumer/api/v1/api/v1/projects' \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    --data-raw '{
    "hosting_platform": "string",
    "org_id": "string",
    "project_name": "string",
    "region": "string"
    }'