You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/src/Prowlarr.Api.V1/Indexers/IndexerDefaultCategoriesCon...

17 lines
379 B

using Microsoft.AspNetCore.Mvc;
using NzbDrone.Core.Indexers;
using Prowlarr.Http;
namespace NzbDrone.Api.V1.Indexers
{
[V1ApiController("indexer/categories")]
public class IndexerDefaultCategoriesController : Controller
{
[HttpGet]
public IndexerCategory[] GetAll()
{
return NewznabStandardCategory.ParentCats;
}
}
}