Hi Merlijn, On Thu, 25 Jan 2018 at 16:17 Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote:
> Hi all > > > I'm writing a Juju-related paper and I'd like to get statistics on Charm, > layer and interface usage. Are these publicly available? > > Related: is there a documented API to get the code of the charms that are > available in the charm store? > GET https://api.jujucharms.com/charmstore/v5/$MY_CHARM_NAME/archive/ will give you a .zip and GET https://api.jujucharms.com/charmstore/v5/$MY_CHARM_NAME/archive/$PATH/$TO/$FILE will give you the 'raw' contents. e.g. curl https://api.jujucharms.com/charmstore/v5/postgresql/archive/hooks/install YMMV, Adam
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju