d0c 1 year ago
parent
commit
a002819abb
1 changed files with 12 additions and 3 deletions
  1. 12 3
      Readme.md

+ 12 - 3
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