There's no official ping method, but you could try GETting /fedora/objects/fedora-system:FedoraObject-3.0/objectXML
That built-in object should be present in all 3.x repositories, and "Get Object XML" has historically fallen under the API-M banner, so it'll require AuthN to get it. - Chris On Wed, Oct 19, 2011 at 1:00 AM, Greg Pendlebury <[email protected]> wrote: > On an unrelated note... what is the best method to call if you just want to > test credentials on the API-M interface? > > In the older version (2.2.4), during system startup I would test the > credentials the user supplied in config by calling 'describeUser()'. It > would fail if their username/password didn't work, but not do anything to > the system otherwise. > > This method appears to be gone now. The most trivial method I can find now > seems to be calling 'getNextPid()'. I tried asking for 0 PIDs but that still > gave me 1 PID, so my 'hacky' solution now is to call it for a nonsense > namespace so I don't muck up the correct namespace. > > Am I missing a better alternative however? > > Ta, > Greg > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Fedora-commons-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
