[Freeipa-devel] Web services in freeIPA
Martin Kosek
mkosek at redhat.com
Thu Feb 6 15:12:53 UTC 2014
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
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
>
More information about the Freeipa-devel
mailing list