From a002819abb76ac428a77d37fb641ecabefeb26d5 Mon Sep 17 00:00:00 2001 From: d0c Date: Tue, 4 Apr 2023 17:29:00 +0200 Subject: [PATCH] readme --- Readme.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index ec5c334..9dd8566 100644 --- a/Readme.md +++ b/Readme.md @@ -9,9 +9,18 @@ The project provides the following features: * A catalog of all devices with official support for LineageOS, including device name, codename, LineageOS version(s) supported, and a link to the official LineageOS wiki page for each device. * A RESTful API for accessing the device catalog programmatically. The API supports the following endpoints: - * /devices: Returns a list of all devices in the catalog, with basic device information. - * /devices/{codename}: Returns detailed information about a specific device, including supported LineageOS versions and a link to the official wiki page. - + * /search + * q: string in codename or name or vendor + * /devices + * name: contains string + * megapixel: greater than decimal + * size_in: less than decimal + * resolution: contains string (es 1280) + * version: contains string + Returns a list of all mantained devices in the catalog matching search filters, with basic device information. + * /device + * codename: + Returns detailed information about a specific device, including supported LineageOS versions and a link to the official wiki page. ## Installation