mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 22:17:51 +01:00
186 lines
37 KiB
HTML
186 lines
37 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>tgstation-server: src/Tgstation.Server.Api/Routes.cs Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">tgstation-server<span id="projectnumber"> 6.19.3</span>
|
|
</div>
|
|
<div id="projectbrief">The /tg/station 13 server suite</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_2ea2465064f3ff030c6dd6700a328d91.html">Tgstation.Server.Api</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">Routes.cs</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_routes_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="keyword">using </span>System;</div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_api.html">Tgstation.Server.Api</a></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span>{</div>
|
|
<div class="foldopen" id="foldopen00008" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html"> 8</a></span> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html">Routes</a></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> {</div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49"> 13</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> = <span class="stringliteral">"/api/"</span>;</div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a502122c533fa679ec8c34ddb89431fa6"> 18</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a502122c533fa679ec8c34ddb89431fa6">GraphQL</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"graphql"</span>;</div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a592881a5c0b75edd77acb148c13b52b9"> 23</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a592881a5c0b75edd77acb148c13b52b9">HubsRoot</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"hubs"</span>;</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a1bd414117e790a954bd7bfb83c7d4fc9"> 28</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a1bd414117e790a954bd7bfb83c7d4fc9">Administration</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"Administration"</span>;</div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aeb032cc314264cd0214895fe0c6b7670"> 33</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aeb032cc314264cd0214895fe0c6b7670">Logs</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a1bd414117e790a954bd7bfb83c7d4fc9">Administration</a> + <span class="stringliteral">"/Logs"</span>;</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a12784e8b5b7ac25c0684c9d4c7c59178"> 38</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a12784e8b5b7ac25c0684c9d4c7c59178">User</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"User"</span>;</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a5dc5a42a07297f8f007f215b179042fe"> 43</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a5dc5a42a07297f8f007f215b179042fe">UserGroup</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"UserGroup"</span>;</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a17bfc22b8cbc4624a6ec180aeba91da8"> 48</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a17bfc22b8cbc4624a6ec180aeba91da8">InstanceManager</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"Instance"</span>;</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#ab646ee226b5038f86d679bc9342320b3"> 53</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#ab646ee226b5038f86d679bc9342320b3">Engine</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"Engine"</span>;</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef"> 58</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef">Repository</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"Repository"</span>;</div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a42831355d8d0cd578680f7f8f3f1124a"> 63</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a42831355d8d0cd578680f7f8f3f1124a">DreamDaemon</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"DreamDaemon"</span>;</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a56e9bf1c7567f8f6ad1bf830eb4b158e"> 68</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a56e9bf1c7567f8f6ad1bf830eb4b158e">Diagnostics</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a42831355d8d0cd578680f7f8f3f1124a">DreamDaemon</a> + <span class="stringliteral">"/Diagnostics"</span>;</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8aaca6b84ee519e26c8351c2b5929c18"> 73</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8aaca6b84ee519e26c8351c2b5929c18">Configuration</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"Config"</span>;</div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a6e67fe387a01c4d8e686734ad936f8b0"> 78</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a6e67fe387a01c4d8e686734ad936f8b0">File</a> = <span class="stringliteral">"File"</span>;</div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aa983574bbb6d05042ad2f96d30ffa824"> 83</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aa983574bbb6d05042ad2f96d30ffa824">ConfigurationFile</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8aaca6b84ee519e26c8351c2b5929c18">Configuration</a> + <span class="stringliteral">"/"</span> + <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a6e67fe387a01c4d8e686734ad936f8b0">File</a>;</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#acf94b048ec6ef840efdb3439d4b3d257"> 88</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#acf94b048ec6ef840efdb3439d4b3d257">InstancePermissionSet</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"InstancePermissionSet"</span>;</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a6cf0d5e4d1f8ed76d2cf84a56392ed2d"> 93</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a6cf0d5e4d1f8ed76d2cf84a56392ed2d">Chat</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"Chat"</span>;</div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#acc5a1421208a8e29080110f54b364ba8"> 98</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#acc5a1421208a8e29080110f54b364ba8">DreamMaker</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"DreamMaker"</span>;</div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a85c563262244bd21fe1bfa1ce5de6a1d"> 103</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a85c563262244bd21fe1bfa1ce5de6a1d">Jobs</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"Job"</span>;</div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div>
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aad30766a124861c66c46815784bdf9d0"> 108</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aad30766a124861c66c46815784bdf9d0">Transfer</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">ApiRoot</a> + <span class="stringliteral">"Transfer"</span>;</div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47"> 113</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">List</a> = <span class="stringliteral">"List"</span>;</div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8f0fbf59b12bc939238a64bc4df9000d"> 118</a></span> <span class="keyword">public</span> <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8f0fbf59b12bc939238a64bc4df9000d">JobsHub</a> = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a592881a5c0b75edd77acb148c13b52b9">HubsRoot</a> + <span class="stringliteral">"/jobs"</span>;</div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a0266a146dbc57a7c6168533d7a7b10eb"> 126</a></span> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">string</span> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a0266a146dbc57a7c6168533d7a7b10eb">SetID</a>(<span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">route</a>, <span class="keywordtype">long</span> <span class="keywordtype">id</span>) => <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">$</a><span class="stringliteral">"{route}/{id}"</span>;</div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a21a829d350fad918024f30fc9330a8e2"> 133</a></span> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">string</span> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a21a829d350fad918024f30fc9330a8e2">ListRoute</a>(<span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">route</a>) => <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">$</a><span class="stringliteral">"{route}/{List}"</span>;</div>
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
|
|
<div class="foldopen" id="foldopen00140" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a427423a8a36ba74df914acb74ffb0483"> 140</a></span> <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">string</span> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a427423a8a36ba74df914acb74ffb0483">SanitizeGetPath</a>(<span class="keywordtype">string</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">path</a>)</div>
|
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> {</div>
|
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">path</a> ??= <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">String</a>.Empty;</div>
|
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">path</a>.Length == 0 || <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">path</a>[0] != <span class="charliteral">'/'</span>)</div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">path</a> = <span class="charliteral">'/'</span> + <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">path</a>;</div>
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">path</a>;</div>
|
|
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span>}</div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html">Tgstation.Server.Api.Routes</a></div><div class="ttdoc">Routes to a server actions.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00008">Routes.cs:9</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a0266a146dbc57a7c6168533d7a7b10eb"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a0266a146dbc57a7c6168533d7a7b10eb">Tgstation.Server.Api.Routes.SetID</a></div><div class="ttdeci">static string SetID(string route, long id)</div><div class="ttdoc">Apply an id postfix to a route .</div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a12784e8b5b7ac25c0684c9d4c7c59178"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a12784e8b5b7ac25c0684c9d4c7c59178">Tgstation.Server.Api.Routes.User</a></div><div class="ttdeci">const string User</div><div class="ttdoc">The user controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00038">Routes.cs:38</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a17bfc22b8cbc4624a6ec180aeba91da8"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a17bfc22b8cbc4624a6ec180aeba91da8">Tgstation.Server.Api.Routes.InstanceManager</a></div><div class="ttdeci">const string InstanceManager</div><div class="ttdoc">The Models.Instance controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00048">Routes.cs:48</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a1bd414117e790a954bd7bfb83c7d4fc9"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a1bd414117e790a954bd7bfb83c7d4fc9">Tgstation.Server.Api.Routes.Administration</a></div><div class="ttdeci">const string Administration</div><div class="ttdoc">The server administration controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00028">Routes.cs:28</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a21a829d350fad918024f30fc9330a8e2"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a21a829d350fad918024f30fc9330a8e2">Tgstation.Server.Api.Routes.ListRoute</a></div><div class="ttdeci">static string ListRoute(string route)</div><div class="ttdoc">Get the /List postfix for a route .</div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a427423a8a36ba74df914acb74ffb0483"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a427423a8a36ba74df914acb74ffb0483">Tgstation.Server.Api.Routes.SanitizeGetPath</a></div><div class="ttdeci">static string SanitizeGetPath(string path)</div><div class="ttdoc">Sanitize a Models.Response.FileTicketResponse path for use in a GET Uri.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00140">Routes.cs:140</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a42831355d8d0cd578680f7f8f3f1124a"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a42831355d8d0cd578680f7f8f3f1124a">Tgstation.Server.Api.Routes.DreamDaemon</a></div><div class="ttdeci">const string DreamDaemon</div><div class="ttdoc">The DreamDaemon controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00063">Routes.cs:63</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a502122c533fa679ec8c34ddb89431fa6"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a502122c533fa679ec8c34ddb89431fa6">Tgstation.Server.Api.Routes.GraphQL</a></div><div class="ttdeci">const string GraphQL</div><div class="ttdoc">The GraphQL route.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00018">Routes.cs:18</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a56e9bf1c7567f8f6ad1bf830eb4b158e"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a56e9bf1c7567f8f6ad1bf830eb4b158e">Tgstation.Server.Api.Routes.Diagnostics</a></div><div class="ttdeci">const string Diagnostics</div><div class="ttdoc">For accessing DD diagnostics.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00068">Routes.cs:68</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a592881a5c0b75edd77acb148c13b52b9"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a592881a5c0b75edd77acb148c13b52b9">Tgstation.Server.Api.Routes.HubsRoot</a></div><div class="ttdeci">const string HubsRoot</div><div class="ttdoc">The root route of all hubs.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00023">Routes.cs:23</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a5dc5a42a07297f8f007f215b179042fe"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a5dc5a42a07297f8f007f215b179042fe">Tgstation.Server.Api.Routes.UserGroup</a></div><div class="ttdeci">const string UserGroup</div><div class="ttdoc">The user group controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00043">Routes.cs:43</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a63077d90c7d1f0afef5045211241fb47"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a63077d90c7d1f0afef5045211241fb47">Tgstation.Server.Api.Routes.List</a></div><div class="ttdeci">const string List</div><div class="ttdoc">The postfix for list operations.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00113">Routes.cs:113</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a6cf0d5e4d1f8ed76d2cf84a56392ed2d"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a6cf0d5e4d1f8ed76d2cf84a56392ed2d">Tgstation.Server.Api.Routes.Chat</a></div><div class="ttdeci">const string Chat</div><div class="ttdoc">The chat bot controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00093">Routes.cs:93</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a6e67fe387a01c4d8e686734ad936f8b0"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a6e67fe387a01c4d8e686734ad936f8b0">Tgstation.Server.Api.Routes.File</a></div><div class="ttdeci">const string File</div><div class="ttdoc">To be paired with Configuration for accessing Models.IConfigurationFiles.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00078">Routes.cs:78</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a738817663facf9293a084ab4c5a155ef"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef">Tgstation.Server.Api.Routes.Repository</a></div><div class="ttdeci">const string Repository</div><div class="ttdoc">The git repository controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00058">Routes.cs:58</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a85c563262244bd21fe1bfa1ce5de6a1d"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a85c563262244bd21fe1bfa1ce5de6a1d">Tgstation.Server.Api.Routes.Jobs</a></div><div class="ttdeci">const string Jobs</div><div class="ttdoc">The jobs controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00103">Routes.cs:103</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a8aaca6b84ee519e26c8351c2b5929c18"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8aaca6b84ee519e26c8351c2b5929c18">Tgstation.Server.Api.Routes.Configuration</a></div><div class="ttdeci">const string Configuration</div><div class="ttdoc">The configuration controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00073">Routes.cs:73</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a8c6219903a85b89432912919b1762e49"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8c6219903a85b89432912919b1762e49">Tgstation.Server.Api.Routes.ApiRoot</a></div><div class="ttdeci">const string ApiRoot</div><div class="ttdoc">The root of API methods.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00013">Routes.cs:13</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a8f0fbf59b12bc939238a64bc4df9000d"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a8f0fbf59b12bc939238a64bc4df9000d">Tgstation.Server.Api.Routes.JobsHub</a></div><div class="ttdeci">const string JobsHub</div><div class="ttdoc">The root route of all hubs.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00118">Routes.cs:118</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_aa983574bbb6d05042ad2f96d30ffa824"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aa983574bbb6d05042ad2f96d30ffa824">Tgstation.Server.Api.Routes.ConfigurationFile</a></div><div class="ttdeci">const string ConfigurationFile</div><div class="ttdoc">Full combination of Configuration and File.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00083">Routes.cs:83</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_aad30766a124861c66c46815784bdf9d0"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aad30766a124861c66c46815784bdf9d0">Tgstation.Server.Api.Routes.Transfer</a></div><div class="ttdeci">const string Transfer</div><div class="ttdoc">The transfer controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00108">Routes.cs:108</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_ab646ee226b5038f86d679bc9342320b3"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#ab646ee226b5038f86d679bc9342320b3">Tgstation.Server.Api.Routes.Engine</a></div><div class="ttdeci">const string Engine</div><div class="ttdoc">The engine controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00053">Routes.cs:53</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_acc5a1421208a8e29080110f54b364ba8"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#acc5a1421208a8e29080110f54b364ba8">Tgstation.Server.Api.Routes.DreamMaker</a></div><div class="ttdeci">const string DreamMaker</div><div class="ttdoc">The deployment controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00098">Routes.cs:98</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_acf94b048ec6ef840efdb3439d4b3d257"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#acf94b048ec6ef840efdb3439d4b3d257">Tgstation.Server.Api.Routes.InstancePermissionSet</a></div><div class="ttdeci">const string InstancePermissionSet</div><div class="ttdoc">The instance permission set controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00088">Routes.cs:88</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_aeb032cc314264cd0214895fe0c6b7670"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#aeb032cc314264cd0214895fe0c6b7670">Tgstation.Server.Api.Routes.Logs</a></div><div class="ttdeci">const string Logs</div><div class="ttdoc">The endpoint to download server logs.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00033">Routes.cs:33</a></div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_api_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_api.html">Tgstation.Server.Api</a></div><div class="ttdef"><b>Definition</b> <a href="_api_headers_8cs_source.html#l00019">ApiHeaders.cs:20</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|