2020-04-23 15:15:59 -07:00
|
|
|
using System.Net.Mime;
|
2021-06-19 09:02:33 -07:00
|
|
|
using Jellyfin.Extensions.Json;
|
2019-11-23 08:31:02 -07:00
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
namespace Jellyfin.Api
|
|
|
|
{
|
2019-11-23 12:31:17 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Base api controller for the API setting a default route.
|
|
|
|
/// </summary>
|
2019-11-23 08:31:02 -07:00
|
|
|
[ApiController]
|
|
|
|
[Route("[controller]")]
|
2020-08-20 10:17:27 -07:00
|
|
|
[Produces(
|
|
|
|
MediaTypeNames.Application.Json,
|
2020-09-03 11:15:24 -07:00
|
|
|
JsonDefaults.CamelCaseMediaType,
|
|
|
|
JsonDefaults.PascalCaseMediaType)]
|
2019-11-23 08:31:02 -07:00
|
|
|
public class BaseJellyfinApiController : ControllerBase
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|