gitspaces

Create gitspace config

Changed on
post/accounts/{accountIdentifier}/orgs/{orgIdentifier}/projects/{projectIdentifier}/gitspaces

Request

  • Base URL: gateway/cde/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: gateway/cde/api/v1/accounts/{accountIdentifier}/orgs/{orgIdentifier}/projects/{projectIdentifier}/gitspaces
  • Auth: HTTP bearer and API key in header x-api-key

Path parameters

accountIdentifierstring required

account identifier.

orgIdentifierstring required

org identifier.

projectIdentifierstring required

project identifier.

Request body

ai_agentsEnumAIAgent[] nullable
branchstring
code_repo_refstring nullable
code_repo_type'github' | 'gitlab' | 'harness_code' | 'bitbucket' | 'unknown' | 'gitness' | 'gitlab_on_prem' | 'bitbucket_server' | 'github_enterprise'
code_repo_urlstring
devcontainer_pathstring nullable
ide'vs_code' | 'vs_code_web' | 'cursor' | 'windsurf' | 'intellij' | 'pycharm' | 'goland' | 'webstorm' | 'clion' | 'phpstorm' | 'rubymine' | 'rider'
identifierstring
infra_provider_config_identifierstring
metadataobject nullable
namestring
resource_identifierstring
resource_space_refstring
space_refstring
ssh_token_identifierstring

Response

Created

ai_agentsEnumAIAgent[]
branchstring
branch_urlstring
code_repo_is_privateboolean
code_repo_refstring nullable
code_repo_type'github' | 'gitlab' | 'harness_code' | 'bitbucket' | 'unknown' | 'gitness' | 'gitlab_on_prem' | 'bitbucket_server' | 'github_enterprise'
code_repo_urlstring
createdinteger
devcontainer_pathstring nullable
ide'vs_code' | 'vs_code_web' | 'cursor' | 'windsurf' | 'intellij' | 'pycharm' | 'goland' | 'webstorm' | 'clion' | 'phpstorm' | 'rubymine' | 'rider'
identifierstring
initialize_log_keystring
is_marked_for_infra_resetboolean
is_marked_for_resetboolean
log_keystring
namestring
space_pathstring
ssh_token_identifierstring
state'running' | 'stopped' | 'error' | 'uninitialized' | 'starting' | 'stopping' | 'cleaning'
updatedinteger
user_display_namestring
user_emailstring
user_idstring

Changes

    • warning

      added the new cleaning enum value to the response property for the response status

    • warning

      added the new cursor enum value to the response property for the response status

    • warning

      added the new hybrid_vm_aws enum value to the / response property for the response status

    • warning

      added the new pending_cleanup enum value to the / response property for the response status

    • warning

      added the new resetting enum value to the / response property for the response status

    • warning

      added the new windsurf enum value to the response property for the response status

    • info

      added the new optional request property

    • info

      added the new cursor enum value to the request property

    • info

      added the new windsurf enum value to the request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new bitbucket_server enum value to the response property for the response status

    • warning

      added the new github_enterprise enum value to the response property for the response status

    • warning

      added the new gitlab_on_prem enum value to the response property for the response status

    • info

      added the new bitbucket_server enum value to the request property

    • info

      added the new github_enterprise enum value to the request property

    • info

      added the new gitlab_on_prem enum value to the request property

    • info

      added the optional property to the response with the status