What are the foreman_api endpoints to add a domain to an org and find out which orgs a domain exists in? I see the hammer commands for resources are organization add_domain, but what hammer command displays this relationship?
···
--
@thomasmckay
–
“The leader must aim high, see big, judge widely, thus setting himself apart form the ordinary people who debate in narrow confines.” ~ Charles De Gaulle
“Leadership is about making others better as a result of your presence and making sure that impact lasts in your absence.” ~ Harvard Business School
Anyone have pointers? Just need to know what foreman_api methods to call to associate org resources. The v2 api on theforeman.org do not list them either.
···
----- Original Message -----
> From: "Tom McKay"
> To: foreman-dev@googlegroups.com
> Sent: Monday, January 27, 2014 3:16:53 PM
> Subject: [foreman-dev] api endpoints for org and domain associations?
>
>
> What are the foreman_api endpoints to add a domain to an org and find out
> which orgs a domain exists in? I see the hammer commands for resources are
> organization add_domain, but what hammer command displays this relationship?
>
> --
> @thomasmckay
>
> --
> "The leader must aim high, see big, judge widely, thus setting himself apart
> form the ordinary people who debate in narrow confines." ~ Charles De Gaulle
>
> "Leadership is about making others better as a result of your presence and
> making sure that impact lasts in your absence." ~ Harvard Business School
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
> Anyone have pointers? Just need to know what foreman_api methods to call to associate org resources. The v2 api on theforeman.org do not list them either.
AFAIK, in hammer we use organization update/create methods. There are
parameters for the associated resources like domain_ids nad others. It
is defined in taxonomies controller, but is not documented in apidoc yet.
See
HTH,
Martin
···
On 01/28/2014 10:05 PM, Tom McKay wrote:
>
>
> ----- Original Message -----
>> From: "Tom McKay"
>> To: foreman-dev@googlegroups.com
>> Sent: Monday, January 27, 2014 3:16:53 PM
>> Subject: [foreman-dev] api endpoints for org and domain associations?
>>
>>
>> What are the foreman_api endpoints to add a domain to an org and find out
>> which orgs a domain exists in? I see the hammer commands for resources are
>> organization add_domain, but what hammer command displays this relationship?
>>
>> --
>> @thomasmckay
>>
>> --
>> "The leader must aim high, see big, judge widely, thus setting himself apart
>> form the ordinary people who debate in narrow confines." ~ Charles De Gaulle
>>
>> "Leadership is about making others better as a result of your presence and
>> making sure that impact lasts in your absence." ~ Harvard Business School
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "foreman-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-dev+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>