Ignore:
Timestamp:
Aug 9, 2023, 9:41:32 PM (15 months ago)
Author:
alloc
Message:

Updated to dashboard/marker files 0.8.0
Added initial OpenAPI support

File:
1 moved

Legend:

Unmodified
Added
Removed
  • TFP-WebServer/WebServer/src/WebAPI/APIs/LogApi.cs

    r458 r459  
    55namespace Webserver.WebAPI.APIs {
    66        [UsedImplicitly]
    7         public class Log : AbsRestApi {
     7        public class LogApi : AbsRestApi {
    88                private const int maxCount = 1000;
    99
     
    1717                private static readonly byte[] jsonIsotimeKey = JsonWriter.GetEncodedPropertyNameWithPrefixValueSeparator ("isotime");
    1818                private static readonly byte[] jsonUptimeKey = JsonWriter.GetEncodedPropertyNameWithPrefixValueSeparator ("uptime");
    19                
     19
     20                public LogApi () : base ("Log") {
     21                }
     22
    2023                protected override void HandleRestGet (RequestContext _context) {
    2124                        if (_context.Request.QueryString ["count"] == null || !int.TryParse (_context.Request.QueryString ["count"], out int count)) {
Note: See TracChangeset for help on using the changeset viewer.