Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
Source code for galaxy.webapps.galaxy.api.uploads
"""
API operations for uploaded files in storage.
"""
import logging
from galaxy.web.framework.decorators import expose_api_anonymous
from . import BaseGalaxyAPIController
log = logging.getLogger(__name__)
[docs]class UploadsAPIController(BaseGalaxyAPIController):
READ_CHUNK_SIZE = 2**16
[docs] @expose_api_anonymous
def hooks(self, trans, **kwds):
"""
Exposed as POST /api/upload/hooks and /api/upload/resumable_upload
"""
# Internal endpoint, only purpose is to authenticate user, but may grow additional functionality in the future
return None