You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#ROBOMERGE-AUTHOR: ben.marsh #ROBOMERGE-SOURCE: CL 17926237 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292) [CL 17926263 by ben marsh in ue5-release-engine-test branch]
43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using EpicGames.Core;
|
|
using HordeServer.Api;
|
|
using HordeServer.Models;
|
|
using HordeServer.Services;
|
|
using HordeServer.Utilities;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using MongoDB.Bson;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HordeServer.Controllers
|
|
{
|
|
/// <summary>
|
|
/// Controller for the /api/v1/projects endpoint
|
|
/// </summary>
|
|
[ApiController]
|
|
[Authorize]
|
|
[Route("[controller]")]
|
|
public class SchedulesController : ControllerBase
|
|
{
|
|
/// <summary>
|
|
/// Query all the schedules
|
|
/// </summary>
|
|
/// <param name="StreamId">Id of the stream to search for schedules for</param>
|
|
/// <param name="Filter">Filter for the properties to return</param>
|
|
/// <returns>Information about all the schedules</returns>
|
|
[HttpGet]
|
|
[Route("/api/v1/schedules")]
|
|
[ProducesResponseType(typeof(List<GetScheduleResponse>), 200)]
|
|
#pragma warning disable CA1801 // Remove unused parameter
|
|
public Task<ActionResult<List<object>>> GetSchedulesAsync([FromQuery] string? StreamId = null, [FromQuery] PropertyFilter? Filter = null)
|
|
{
|
|
return Task.FromResult<ActionResult<List<object>>>(new List<object>());
|
|
}
|
|
#pragma warning restore CA1801 // Remove unused parameter
|
|
}
|
|
}
|