[Freeipa-devel] Web services in freeIPA

Dmitri Pal dpal at redhat.com
Thu Feb 6 15:29:07 UTC 2014


On 02/06/2014 10:12 AM, Martin Kosek wrote:
> As Petr said, we do not have a proper documentation for using RPC for
> controlling IPA. But I think you can start with looking at [1] to see the
> template and try running our commands with "-vv" which will show you how we
> call the API:
>
> $ ipa -vv user-show admin

Are we still suggesting using XML interface?
I though we were planning to prefer JSON rather than XML, something
changed here?

>
> Martin
>
> [1] http://adam.younglogic.com/2010/07/talking-to-freeipa-json-web-api-via-curl/
>
> On 02/06/2014 04:04 PM, Alexandre Santos wrote:
>> Is there any examples that can guide me.
>>
>> Thanks
>> Alexandre Santos
>>
>> On 06 Feb 2014, at 14:33, Petr Vobornik <pvoborni at redhat.com> wrote:
>>
>>> On 6.2.2014 15:22, Alexandre Santos wrote:
>>>> Hi,
>>>>
>>>> I´m starting in freeIPA and I would like to know what web apps are available for use, like create user, delete user and so on. I´ve seen that when i use the command "ipa -vv user-add” a url for the app if given.
>>>>
>>>> I would like to know if there is any information about that.
>>>>
>>>> Thanks
>>>>
>>>> Alexandre Santos
>>>>
>>> The url you saw is most-likely for XML RPC API.
>>>
>>> You can check:
>>>
>>> https://hostname/ipa/xml - XML RPC API
>>> https://hostname/ipa/json - JSON RPC API
>>> https://hostname/ipa/session/xml XML RPC API with session support
>>> https://hostname/ipa/session/json JSON RPC API with session support
>>> https://hostname/ipa/ui - Web UI
>>> https://hostname/ipa/config/unauthorized.html - some config and error pages
>>>
>>> We don't have docs for the APIs yet.
>>> -- 
>>> Petr Vobornik
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel


-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager for IdM portfolio
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/






More information about the Freeipa-devel mailing list