isn/src/isnd/Controllers/Packages/Search.cs

27 lines
688 B
C#
Raw Normal View History

2022-04-17 14:10:20 +01:00
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
2022-04-17 16:22:40 +01:00
using isnd.Entities;
2022-04-17 14:10:20 +01:00
namespace isnd.Controllers
{
public partial class PackagesController
{
2022-04-17 17:59:15 +01:00
// GET {@id}?q={QUERY}&skip={SKIP}&take={TAKE}&prerelease={PRERELEASE}&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}
2022-04-17 14:10:20 +01:00
[HttpGet(_pkgRootPrefix + ApiConfig.Search)]
public async Task<IActionResult> Search(
string q,
int skip = 0,
int take = 25,
bool prerelease = false,
string semVerLevel = null,
string packageType = null
)
{
throw new NotImplementedException();
}
}
}