# glance.api.v2.metadef_namespaces module

class glance.api.v2.metadef_namespaces.NamespaceController(db_api=None, policy_enforcer=None, notifier=None)

  Bases: `object`

  create(req, namespace)
  delete(req, namespace)
  delete_objects(req, namespace)
  delete_properties(req, namespace)
  delete_tags(req, namespace)
  index(req, marker=None, limit=None, sort_key='created_at', sort_dir='desc', filters=None)
  show(req, namespace, filters=None)
  update(req, user_ns, namespace)

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

  Bases: `JSONRequestDeserializer`

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

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

  Bases: `JSONResponseSerializer`

  create(response, namespace)
  delete(response, result)
  delete_objects(response, result)
  delete_properties(response, result)
  delete_tags(response, result)
  index(response, result)
  show(response, namespace)
  update(response, namespace)

glance.api.v2.metadef_namespaces.create_resource()

  Namespaces resource factory method

glance.api.v2.metadef_namespaces.get_collection_schema()

glance.api.v2.metadef_namespaces.get_namespace_href(namespace)

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

glance.api.v2.metadef_namespaces.get_schema()

glance.api.v2.metadef_namespaces.get_schema_definitions()

glance.api.v2.metadef_namespaces.get_tag_href(namespace_name, metadef_tag)

this page last updated: 2026-03-18 20:42:57

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