[Freeipa-users] FreeIPA 4 JSON API documentation
Rob Crittenden
rcritten at redhat.com
Fri Apr 24 15:51:09 UTC 2015
Wanderley Mayhé wrote:
> Where can I find a clear documentation on JSON RPC API to Free IPA
> latest version (4.x.x)?
>
>
>
> http://www.freeipa.org/page/Documentation has nothing such as code
> samples for authenticating, adding or updating users in Linux.
>
>
>
> I think this cannot be the only documentation available in internet:
> http://adam.younglogic.com/2010/07/talking-to-freeipa-json-web-api-via-curl/
>
>
>
> Can anyone share a document or *draft* containing methods and arguments
> of FreeIPA API?
It is being worked onhttps://fedorahosted.org/freeipa/ticket/3129
The API is fairly easy to deduce from the cli using -vv:
$ ipa -vv user-show admin
ipa: INFO: trying https://gyre.example.com/ipa/json
ipa: INFO: Forwarding 'user_show' to json server
'https://gyre.example.com/ipa/json'
ipa: INFO: Request: {
"id": 0,
"method": "user_show",
"params": [
[
"admin"
],
{
"all": false,
"no_members": false,
"raw": false,
"rights": false,
"version": "2.114"
}
]
}
ipa: INFO: Response: {
"error": null,
"id": 0,
...
snip
rob
More information about the Freeipa-users
mailing list