# glance.api.v2.image_data module

class glance.api.v2.image_data.ImageDataController(db_api=None, store_api=None, policy_enforcer=None, notifier=None)

  Bases: `object`

  download(req, image_id)
  stage(req, image_id, data, size)
  upload(req, image_id, data, size)

class glance.api.v2.image_data.RequestDeserializer

  Bases: `JSONRequestDeserializer`

  stage(request)
  upload(request)

class glance.api.v2.image_data.ResponseSerializer

  Bases: `JSONResponseSerializer`

  download(response, image)
  stage(response, result)
  upload(response, result)

glance.api.v2.image_data.create_resource()

  Image data resource factory method

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