MCPcopy Create free account
hub / github.com/StackStorm/st2 / index

Method index

st2api/st2api/controllers/root.py:22–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20
21class RootController(object):
22 def index(self):
23 data = {}
24
25 if "dev" in __version__:
26 docs_url = "http://docs.stackstorm.com/latest"
27 else:
28 docs_version = ".".join(__version__.split(".")[:2])
29 docs_url = "http://docs.stackstorm.com/%s" % docs_version
30
31 data["version"] = __version__
32 data["docs_url"] = docs_url
33 return data
34
35
36root_controller = RootController()

Callers 10

_construct_templateMethod · 0.80
_construct_templateMethod · 0.80
get_kvpsFunction · 0.80
search_pack_indexFunction · 0.80
is_referenceMethod · 0.80
_derive_scope_and_keyFunction · 0.80

Calls

no outgoing calls