In glance api v2,according to the code:
tps://github.com/openstack/glance/blob/master/glance/api/v2/router.py#L217
the url GET the list resource types should be /v2/metadefs/resource_types, not /v2/metadefs/.
In glance api v2,according to the code:
tps://github. com/openstack/ glance/ blob/master/ glance/ api/v2/ router. py#L217
the url GET the list resource types should be /v2/metadefs/ resource_ types, not /v2/metadefs/.