Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: improve guides for workspace build transitions #10910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stirby opened this issue Nov 27, 2023 · 2 comments
Open

docs: improve guides for workspace build transitions #10910

stirby opened this issue Nov 27, 2023 · 2 comments
Labels
docs Area: coder.com/docs docs-ready Ready to be worked on for docs, details are clear

Comments

@stirby
Copy link
Collaborator

stirby commented Nov 27, 2023

Overview

Currently, simple workspace operations are convoluted and difficult to understand in our API. In similar products, operations like create, delete, stop, and start have dedicated endpoints to simplify extension of the platform.

Due to the nature of Terraform, these operations have to be executed as workspace build transitions. Our API reflects these by asking users to pass a CreateWorkspaceBuildRequest the /builds endpoint, but it's usage is awkward and difficult to find.

Since this is such a commonly requested use case and challenge for our community and customers, we will manually add the steps to produce this behavior in the admin use cases page.

However, this is not the intuitive first place to look when users want to create a workspace through the API. A potentially more permanent solution would be adding a "frequent use cases" page to our API docs?

@cdr-bot cdr-bot bot added the docs Area: coder.com/docs label Nov 27, 2023
@stirby stirby self-assigned this Nov 27, 2023
@stirby stirby assigned stirby and unassigned stirby Dec 7, 2023
@matifali matifali added this to the Docs Improvement milestone Dec 20, 2023
@stirby stirby removed this from the Docs Improvement milestone Jun 17, 2024
@EdwardAngert EdwardAngert reopened this Sep 27, 2024
@bpmct bpmct added the docs-ready Ready to be worked on for docs, details are clear label Nov 25, 2024
@stirby stirby removed their assignment Jan 2, 2025
@stirby
Copy link
Collaborator Author

stirby commented May 8, 2025

@coder

Copy link

github-actions bot commented May 8, 2025

✅ Coder workspace started! You can view the action logs here.

Workspace is available at: https://dev.coder.com/kirby/issue-10910

stirby added a commit that referenced this issue May 8, 2025
Add documentation explaining how to use the CreateWorkspaceBuildRequest API for
common operations like starting, stopping, and deleting workspaces.

Fixes #10910

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Area: coder.com/docs docs-ready Ready to be worked on for docs, details are clear
Projects
None yet
Development

No branches or pull requests

4 participants