The use of limit is unintuitive, confusing, and a bit silly.
The actual limit used is the minimum of the limit specified or the default limit of 20. This is true *unless* you specify you want all charms or bundles. For instance, a query of this form respects the provided limit:
The use of limit is unintuitive, confusing, and a bit silly.
The actual limit used is the minimum of the limit specified or the default limit of 20. This is true *unless* you specify you want all charms or bundles. For instance, a query of this form respects the provided limit:
https:/ /manage. jujucharms. com/api/ 3/search? text=charms& limit=200
Likewise for bundles:
https:/ /manage. jujucharms. com/api/ 3/search? text=bundles& limit=60
However, if you do not request all charms or bundles, say you search for a specific one, then the default limit is used, e.g.
https:/ /manage. jujucharms. com/api/ 3/search? text=bundles: mysql&limit= 60 returns 20.
Using the two forms shown above is currently the only work-around.