28 lines
704 B
C#
28 lines
704 B
C#
|
3 years ago
|
|
||
|
|
using System;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
using Microsoft.AspNetCore.Mvc;
|
||
|
|
using isnd.Entities;
|
||
|
|
using isn.abst;
|
||
|
|
|
||
|
|
namespace isnd.Controllers
|
||
|
|
{
|
||
|
|
|
||
|
|
public partial class PackagesController
|
||
|
|
{
|
||
|
|
// GET {@id}?q={QUERY}&skip={SKIP}&take={TAKE}&prerelease={PRERELEASE}&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}
|
||
|
|
[HttpGet("~" + Constants.ApiVersion + ApiConfig.Search)]
|
||
|
|
public IActionResult Search(
|
||
|
|
string q,
|
||
|
|
int skip = 0,
|
||
|
|
int take = 25,
|
||
|
|
bool prerelease = false,
|
||
|
|
string semVerLevel = null,
|
||
|
|
string packageType = null
|
||
|
|
)
|
||
|
|
{
|
||
|
|
|
||
|
|
throw new NotImplementedException();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|