gitpod.v1.ProjectService

CreateProject

Creates a new project with specified configuration.

Use this method to:

  • Set up development projects
  • Configure project environments
  • Define project settings
  • Initialize project content

Examples

  • Create basic project:

    Creates a project with minimal configuration.

    name: "Web Application"
    environmentClass:
      environmentClassId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
    initializer:
      specs:
        - git:
            remoteUri: "https://github.com/org/repo"
    
  • Create project with devcontainer:

    Creates a project with custom development container.

    name: "Backend Service"
    environmentClass:
      environmentClassId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
    initializer:
      specs:
        - git:
            remoteUri: "https://github.com/org/backend"
    devcontainerFilePath: ".devcontainer/devcontainer.json"
    automationsFilePath: ".gitpod/automations.yaml"
    
post/gitpod.v1.ProjectService/CreateProject

Request body

GitpodV1CreateProjectRequest required— unresolved $ref

Response

Success

projectGitpodV1Project — unresolved $ref

Changes