The native charmhub API is also not returning resources:
❯ curl -X POST -H 'Content-Type: application/json' https://api.charmhub.io/v2/charms/refresh --data '{"context": [], "actions": [{"action": "install", "instance-key": "debug-lp-1971920-1", "id": "neyN3C9rov9kvST9H8iwdsj5nnkBRR4f", "base": {"name": "ubuntu", "channel": "20.04", "architecture": "amd64"}}]}' | jq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1061 100 856 100 205 1009 241 --:--:-- --:--:-- --:--:-- 1249 { "error-list": [], "results": [ { "charm": { "created-at": "2022-03-17T16:21:16.904439+00:00", "download": { "hash-sha-256": "922589c904fa3990bd1b20d7972d41c8756e5b5d9eeebba21c9b0b773af3ad40", "size": 5334417, "url": "https://api.charmhub.io/api/v1/charms/download/neyN3C9rov9kvST9H8iwdsj5nnkBRR4f_21.charm" }, "id": "neyN3C9rov9kvST9H8iwdsj5nnkBRR4f", "license": "", "name": "prometheus-openstack-exporter", "publisher": { "display-name": "Llama (LMA) Charmers", "id": "DmP1D2nqZmxqKFv5K5WOQERYKqV8qJuW", "username": "llama-charmers", "validation": "unproven" }, "resources": [], "revision": 21, "summary": "Openstack exporter for Prometheus", "type": "charm", "version": "4456fe0" }, "effective-channel": "stable", "id": "neyN3C9rov9kvST9H8iwdsj5nnkBRR4f", "instance-key": "this-is-a-test-1234", "name": "prometheus-openstack-exporter", "released-at": "2022-04-28T04:38:42.544691+00:00", "result": "install" } ] }
The native charmhub API is also not returning resources:
❯ curl -X POST -H 'Content-Type: application/json' https:/ /api.charmhub. io/v2/charms/ refresh --data '{"context": [], "actions": [{"action": "install", "instance-key": "debug- lp-1971920- 1", "id": "neyN3C9rov9kvS T9H8iwdsj5nnkBR R4f", "base": {"name": "ubuntu", "channel": "20.04", "architecture": "amd64"}}]}' | jq
Dload Upload Total Spent Left Speed
"created- at": "2022-03- 17T16:21: 16.904439+ 00:00",
"hash- sha-256" : "922589c904fa39 90bd1b20d7972d4 1c8756e5b5d9eee bba21c9b0b773af 3ad40", /api.charmhub. io/api/ v1/charms/ download/ neyN3C9rov9kvST 9H8iwdsj5nnkBRR 4f_21.charm" T9H8iwdsj5nnkBR R4f", openstack- exporter" ,
"publisher" : {
"display- name": "Llama (LMA) Charmers", v5K5WOQERYKqV8q JuW",
"username" : "llama-charmers",
"validation" : "unproven"
"resources" : [], effective- channel" : "stable", T9H8iwdsj5nnkBR R4f", instance- key": "this-is- a-test- 1234", openstack- exporter" , released- at": "2022-04- 28T04:38: 42.544691+ 00:00",
% Total % Received % Xferd Average Speed Time Time Time Current
100 1061 100 856 100 205 1009 241 --:--:-- --:--:-- --:--:-- 1249
{
"error-list": [],
"results": [
{
"charm": {
"download": {
"size": 5334417,
"url": "https:/
},
"id": "neyN3C9rov9kvS
"license": "",
"name": "prometheus-
"id": "DmP1D2nqZmxqKF
},
"revision": 21,
"summary": "Openstack exporter for Prometheus",
"type": "charm",
"version": "4456fe0"
},
"
"id": "neyN3C9rov9kvS
"
"name": "prometheus-
"
"result": "install"
}
]
}