Skip to content
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

Fixes #38114 - Document path-id param for environment create #11268

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/controllers/katello/api/v2/environments_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ def show
ID of an environment that is prior to the new environment in the chain. It has to be
either the ID of Library or the ID of an environment at the end of a chain.
DESC
param :path_id, Integer, :desc => <<-DESC
If you are adding an environment to an existing path after Library, pass the ID of the environment that is the current successor of Library in the path.
It has to be the id of the old environment following library in this path.
DESC
def create
create_params = environment_params
create_params[:label] = labelize_params(create_params)
Expand Down
Loading