Project

General

Profile

Actions

Bug #3923

closed

organzation relations not documented through apipie

Added by Thomas McKay over 10 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Where are the relations documented if not here? I cannot find the apipie docs to match the hammer organization add_ and remove_ subcommands.

$ bundle exec hammer -v organization --help
Usage:
hammer organization [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments

Subcommands:
list List all organizations
info Show an organization
create Create an organization
update Update an organization
delete Delete an organization
add_configtemplate Associate a resource
remove_configtemplate Disassociate a resource
add_user Associate a resource
remove_user Disassociate a resource
add_smartproxy Associate a resource
remove_smartproxy Disassociate a resource
add_computeresource Associate a resource
remove_computeresource Disassociate a resource
add_subnet Associate a resource
remove_subnet Disassociate a resource
add_medium Associate a resource
remove_medium Disassociate a resource
add_domain Associate a resource
remove_domain Disassociate a resource
add_environment Associate a resource
remove_environment Disassociate a resource
add_hostgroup Associate a resource
remove_hostgroup Disassociate a resource

Options:
-h, --help print help

Actions #1

Updated by Leos Stejskal about 3 years ago

  • Status changed from New to Closed

Documentation for the add|remove commands is available in help, like this:

hammer organization  add-hostgroup -h
Usage:
    hammer organization add-hostgroup [OPTIONS]

Options:
 --hostgroup[-id|-title]           Set the current hostgroup context for the request. Name/Title/Id can be used
 --id ID                            
 --name NAME                       Set the current organization context for the request
 --title TITLE                     Set the current organization context for the request
 -h, --help                        Print help

Closing the issue

Actions

Also available in: Atom PDF