how to get the code-server URL when a WorkSpace is created by API or CLI ?

Hi ! Here a new user to Coder. Justr trying this product for a big development. I am wondering about how to get the code-server URL when a WorkSpace is created by API or CLI ?
Solution:
If the name of code-server coder_app is code-server you should be able to access it in the form of https://<CODER_URL>/@<USERNAME>/<WORKSPACE_NAME>.<AGENT_NAME>/apps/code-server...
Jump to solution
5 Replies
Solution
Atif
Atif8mo ago
If the name of code-server coder_app is code-server you should be able to access it in the form of https://<CODER_URL>/@<USERNAME>/<WORKSPACE_NAME>.<AGENT_NAME>/apps/code-server
Jesús Lucas
Jesús LucasOP8mo ago
Thanks , it is any way to enter https://<CODER_URL>/@<USERNAME>/<WORKSPACE_NAME>.<AGENT_NAME>/apps/code-server bypassing Coder panel and login ? maybe SSO or Token ?
Atif
Atif8mo ago
You should be able to using the token.
Jesús Lucas
Jesús LucasOP8mo ago
can't find in the docs @Atif
Atif
Atif7mo ago
This is not explicitly in the docs but thats how coder_app URLs are formed.
Want results from more Discord servers?
Add your server