[Freeipa-devel] Is there RPC documentation?

Rich Megginson rmeggins at redhat.com
Wed Feb 26 16:26:21 UTC 2014


On 02/26/2014 09:18 AM, Petr Vobornik wrote:
> On 26.2.2014 16:53, Petr Viktorin wrote:
>> On 02/26/2014 04:45 PM, Rich Megginson wrote:
>>> I'm working on adding support for freeipa DNS to openstack designate
>>> (DNSaaS).  I am assuming I need to use RPC (XML?  JSON? REST?) to
>>> communicate with freeipa.  Is there documentation about how to 
>>> construct
>>> and send RPC messages?
>>
>> The JSON-RPC and XML-RPC API is still not "officially supported" (read:
>> documented), though it's extremely unlikely to change.
>> If you need an example, run any ipa command with -vv, this will print
>> out the request & response.
>> API.txt in the source tree lists all the commands and params.
>> This blog post still applies (but be sure to read the update about
>> --cacert):
>> http://adam.younglogic.com/2010/07/talking-to-freeipa-json-web-api-via-curl/ 
>>
>>
>>
>
> Web UI communicates with API through JSON-RPC so you can open browser 
> developer tools (F12) and inspect requests/responses in network tab.

Thanks.  Would rather use cli, but that's good to know.




More information about the Freeipa-devel mailing list