Open FelicianoTech opened 4 years ago
That's for an older API version. APIv2 doc is: https://dashboard.snapcraft.io/docs/v2/en/stores.html#api-store-metrics-models
Macaroons (.. I don't know) is what's used for permission handling. I don't see one for APIv2 but there's a v1 doc: https://dashboard.snapcraft.io/docs/api/macaroon.html
This seems like the right documentation: https://dashboard.snapcraft.io/docs/api/snap.html#fetch-metrics-for-snaps
However it's not clear how authorization works. Need to do additional research.