URL parameter concatenation
The URL for starting a new workspace supports concatenation of multiple optional URL parameters by using &
with the following URL syntax:
https://<che_fqdn>#<git_repository_url>?<url_parameter_1>&<url_parameter_2>&<url_parameter_3>
Example 1. A URL for starting a new workspace with the URL of a Git repository and optional URL parameters
The complete URL for the browser:
https://<che_fqdn>#https://github.com/che-samples/cpp-hello-world?new&che-editor=che-incubator/intellij-community/latest&devfilePath=tests/testdevfile.yaml
Explanation of the parts of the URL:
https://<che_fqdn> (1)
#https://github.com/che-samples/cpp-hello-world (2)
?new&che-editor=che-incubator/intellij-community/latest&devfilePath=tests/testdevfile.yaml (3)
1 | Che URL. |
2 | The URL of the Git repository to be cloned into the new workspace. |
3 | The concatenated optional URL parameters. |