tgstation-server 6.12.0
The /tg/station 13 server suite
|
Routes to a server actions. More...
Static Public Member Functions | |
static string | SetID (string route, long id) |
Apply an id postfix to a route . | |
static string | ListRoute (string route) |
Get the /List postfix for a route . | |
static string | SanitizeGetPath (string path) |
Sanitize a Models.Response.FileTicketResponse path for use in a GET Uri. | |
Static Public Attributes | |
const string | ApiRoot = "/api/" |
The root of API methods. | |
const string | GraphQL = ApiRoot + "graphql" |
The GraphQL route. | |
const string | HubsRoot = ApiRoot + "hubs" |
The root route of all hubs. | |
const string | Administration = ApiRoot + "Administration" |
The server administration controller. | |
const string | Logs = Administration + "/Logs" |
The endpoint to download server logs. | |
const string | User = ApiRoot + "User" |
The user controller. | |
const string | UserGroup = ApiRoot + "UserGroup" |
The user group controller. | |
const string | InstanceManager = ApiRoot + "Instance" |
The Models.Instance controller. | |
const string | Engine = ApiRoot + "Engine" |
The engine controller. | |
const string | Repository = ApiRoot + "Repository" |
The git repository controller. | |
const string | DreamDaemon = ApiRoot + "DreamDaemon" |
The DreamDaemon controller. | |
const string | Diagnostics = DreamDaemon + "/Diagnostics" |
For accessing DD diagnostics. | |
const string | Configuration = ApiRoot + "Config" |
The configuration controller. | |
const string | File = "File" |
To be paired with Configuration for accessing Models.IConfigurationFiles. | |
const string | ConfigurationFile = Configuration + "/" + File |
Full combination of Configuration and File. | |
const string | InstancePermissionSet = ApiRoot + "InstancePermissionSet" |
The instance permission set controller. | |
const string | Chat = ApiRoot + "Chat" |
The chat bot controller. | |
const string | DreamMaker = ApiRoot + "DreamMaker" |
The deployment controller. | |
const string | Jobs = ApiRoot + "Job" |
The jobs controller. | |
const string | Transfer = ApiRoot + "Transfer" |
The transfer controller. | |
const string | List = "List" |
The postfix for list operations. | |
const string | JobsHub = HubsRoot + "/jobs" |
The root route of all hubs. | |
Get the /List postfix for a route .
route | The route. |
Sanitize a Models.Response.FileTicketResponse path for use in a GET Uri.
path | The path to sanitize. |
Definition at line 140 of file Routes.cs.
References Tgstation.Server.Api.Routes.List.
Referenced by Tgstation.Server.Client.AdministrationClient.GetLog(), and Tgstation.Server.Client.Components.ConfigurationClient.Read().
Apply an id postfix to a route .
route | The route. |
id | The ID. |
The server administration controller.
Definition at line 28 of file Routes.cs.
Referenced by Tgstation.Server.Client.AdministrationClient.Update().
The root of API methods.
Definition at line 13 of file Routes.cs.
Referenced by Tgstation.Server.Client.RestServerClientFactory.CreateWithNewToken(), Tgstation.Server.Client.RestServerClientFactory.GetServerInformation(), and Tgstation.Server.Client.ApiClient.RefreshToken().
The configuration controller.
Definition at line 73 of file Routes.cs.
Referenced by Tgstation.Server.Client.Components.ConfigurationClient.Write().
|
static |
|
static |
The engine controller.
Definition at line 53 of file Routes.cs.
Referenced by Tgstation.Server.Client.Components.EngineClient.SetActiveVersion().
The GraphQL route.
Definition at line 18 of file Routes.cs.
Referenced by Tgstation.Server.Host.Core.Application.Configure(), Tgstation.Server.Host.Controllers.RootController.Index(), and Tgstation.Server.Client.GraphQL.GraphQLServerClientFactory.SetupServiceProvider().
The root route of all hubs.
Definition at line 23 of file Routes.cs.
Referenced by Tgstation.Server.Host.Core.Application.ConfigureAuthenticationPipeline().
The root route of all hubs.
Definition at line 118 of file Routes.cs.
Referenced by Tgstation.Server.Host.Core.Application.Configure(), and Tgstation.Server.Client.ApiClient.CreateHubConnection< THubImplementation >().
|
static |
The postfix for list operations.
Definition at line 113 of file Routes.cs.
Referenced by Tgstation.Server.Api.Routes.SanitizeGetPath().
|
static |