Source code for galaxy.webapps.tool_shed.api.configuration

API operations allowing clients to determine Tool Shed instance's
capabilities and configuration settings.

from galaxy.web import _future_expose_api_anonymous_and_sessionless as expose_api_anonymous_and_sessionless
from galaxy.web.base.controller import BaseAPIController

import logging
log = logging.getLogger( __name__ )

[docs]class ConfigurationController( BaseAPIController ):
[docs] def __init__( self, app ): super( ConfigurationController, self ).__init__( app )
[docs] def version( self, trans, **kwds ): """ GET /api/version Return a description of the version_major and version of Galaxy Tool Shed (e.g. 15.07 and :rtype: dict :returns: dictionary with versions keyed as 'version_major' and 'version' """ return {"version_major":, "version": }