Objects proxy handler¶
Objects proxy handler adds account id as query parameter or json to request and make request to luna-image-store.
Handler for a certain objects.
- class luna_api.app.handlers.objects_proxy_handler.ObjectHandler(request)[source]¶
Handler for work with an object. See spec_objects.
Resource: “/{api_version}/objects/{objectId}”
- class luna_api.app.handlers.objects_proxy_handler.ObjectsHandler(request)[source]¶
Handler for create new objects. See spec_objects.
Resource: “/{api_version}/objects”
- async post(*args, **kwargs)[source]¶
Streaming ‘post’ method :returns: proxy response
- Return type:
HTTPResponse
- async postProcessingPost(response)[source]¶
Default post processing response from the service :param response: response
- Returns:
response in api format
- Return type:
HTTPResponse