Files
Umbraco-CMS/src/Umbraco.Core/Services/ISystemTroubleshootingInformationService.cs
Nikolaj Geisle fc71724386 V14: Server information (#15497)
* 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>
2023-12-22 10:21:11 +01:00

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();
}