* Rename information endpoint to troubleshooting * Rename information endpoint to troubleshooting * Add new information endpoint * Fix bad merge * Add InformationServerController.cs back * Update serverTime offset to non hard-coded value. * Add dictionary to swagger models * Update OpenApi.json file * Rename map definition * Add ServerConfigurationBaseModel * Implement ServerConfigurationBaseModel.cs * Updated OpenApi * Updated endpoint to return correct type in openapi * Use explicit class for server information * Remove version endpoint, as that is contained in server information. --------- Co-authored-by: Bjarke Berg <mail@bergmania.dk>
14 lines
450 B
C#
14 lines
450 B
C#
using Umbraco.Cms.Core.Models;
|
|
|
|
namespace Umbraco.Cms.Core.Services;
|
|
|
|
public interface ISystemTroubleshootingInformationService
|
|
{
|
|
/// <summary>
|
|
/// Retrieves various system/server information (i.e. OS and framework version) and Umbraco configuration (i.e. runtime mode and server role).
|
|
/// </summary>
|
|
/// <returns>Key/value pairs of system information</returns>
|
|
IDictionary<string, string> GetTroubleshootingInformation();
|
|
}
|
|
|