# glance.api.v2.metadef_objects module

class glance.api.v2.metadef_objects.MetadefObjectsController(db_api=None, policy_enforcer=None, notifier=None)

  Bases: `object`

  create(req, metadata_object, namespace)
  delete(req, namespace, object_name)
  index(req, namespace, marker=None, limit=None, sort_key='created_at', sort_dir='desc', filters=None)
  show(req, namespace, object_name)
  update(req, metadata_object, namespace, object_name)

class glance.api.v2.metadef_objects.RequestDeserializer(schema=None)

  Bases: `JSONRequestDeserializer`

  create(request)
  index(request)
  update(request)

class glance.api.v2.metadef_objects.ResponseSerializer(schema=None)

  Bases: `JSONResponseSerializer`

  create(response, metadata_object)
  delete(response, result)
  index(response, result)
  show(response, metadata_object)
  update(response, metadata_object)

glance.api.v2.metadef_objects.create_resource()

  Metadef objects resource factory method

glance.api.v2.metadef_objects.get_collection_schema()

glance.api.v2.metadef_objects.get_object_href(namespace_name, metadef_object)

glance.api.v2.metadef_objects.get_schema()

this page last updated: 2026-03-19 01:38:33

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug