Re: [Freeipa-users] rest api

2015-10-29 Thread Martin Kosek

On 10/28/2015 05:13 PM, Alexander Bokovoy wrote:

On Wed, 28 Oct 2015, Winfried de Heiden wrote:

Hi all,

In order for an external application to communicate with IPA and/or modify
on (free)Ipa, we want to use the JSON API.

Where can I find documentation how to use this API?

Read my blog post:
https://vda.li/en/posts/2015/05/28/talking-to-freeipa-api-with-sessions/

FreeIPA 4.2 includes an API browser in Web UI.


Yup. If you do not have 4.2 yet, you can also see the FreeIPA 4.2 API Browser 
in our Public Demo:


https://ipa.demo1.freeipa.org/ipa/ui/#/p/apibrowser/type=command

Martin

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


Re: [Freeipa-users] rest api

2015-10-28 Thread Alexander Bokovoy

On Wed, 28 Oct 2015, Winfried de Heiden wrote:

Hi all,

In order for an external application to communicate with IPA and/or modify
on (free)Ipa, we want to use the JSON API.

Where can I find documentation how to use this API?

Read my blog post:
https://vda.li/en/posts/2015/05/28/talking-to-freeipa-api-with-sessions/

FreeIPA 4.2 includes an API browser in Web UI.

--
/ Alexander Bokovoy

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


Re: [Freeipa-users] rest api

2015-10-28 Thread Rob Crittenden
Winfried de Heiden wrote:
> Hi all,
> 
> In order for an external application to communicate with IPA and/or
> modify on (free)Ipa, we want to use the JSON API.
> 
> Where can I find documentation how to use this API?
> 
> Thankz!
> 
> Winny
> 
> 
IPA doesn't use REST.

You can get an idea about how to use the API at
https://vda.li/en/posts/2015/05/28/talking-to-freeipa-api-with-sessions/

If you add the -vv option to the ipa command-line you can see the API in
action:

% ipa -vv user-show admin

rob

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


[Freeipa-users] rest api

2015-10-28 Thread Winfried de Heiden

Hi all,

 In order for an external application to communicate with IPA and/or modify
on (free)Ipa, we want to use the JSON API.

 Where can I find documentation how to use this API?

 Thankz!

 Winny
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project