Forum

Thread tagged as: Api, Add-on-development, Third-party

Fetching a list of installed apps via API

Hi,

I'm looking into developing a custom app that reports site and hosting data in a scheduled task to help us keep track of the growing list of Perch sites we now manage.

Is there an API friendly way of pulling in the installed apps and their version numbers within a scheduled task? From looking myself I don't think there is currently a clean way as this relies on there being an authenticated user to determine visibility and access when using:

$Perch = PerchAdmin::fetch();
$Perch->get_apps();

Plus, this is not the most API safe way of going about this...

It's not an essential part of the app, it would just be nice to get this information into an automated system.

Many thanks.

James Wigger

James Wigger 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

There isn't currently, no.

Ok - thanks for the heads up. I've built the reporting mechanism to be modular so if it ever appears I can add it in.

Cheers Drew!