Skip to content
/ q-rest Public

Extensible framework for Queries over HTTP

License

Notifications You must be signed in to change notification settings

pamidur/q-rest

Folders and files

NameName
Last commit message
Last commit date
Feb 15, 2023
Feb 12, 2020
Jun 7, 2023
Feb 15, 2023
Feb 15, 2023
Feb 15, 2023
Sep 12, 2016
Feb 6, 2019
Sep 12, 2016
Feb 15, 2023
Apr 11, 2020
Aug 29, 2018

Repository files navigation

Q-Rest Reference

Project Status

Build Status

Package Stable Latest
QRest.Core Nuget NuGet Pre Release
QRest.AspNetCore NuGet NuGet Pre Release
QRest.Semantics.OData NuGet NuGet Pre Release

HowTo

Install

dotnet add package QRest.AspNetCore

Use

[HttpGet("{query?}")]
public ActionResult Get(Query query)
{
      var data = collection.AsQueryable();
      var result = query.Apply(data);   
      return Ok(result);
} 

Execute

GET http://localhost:5000/api/data/-where(:Text-eq(`123`))-take(10)

See more on supported method in wiki