A RESTful API made using FASTAPI written in Python(v3.11 and above) service that provides OTA (Over-The-Air) update information for RisingOS ROM. This API fetches and serves data from the RisingOTA repository, making it easy to access device-specific ROM information programmatically.
- Endpoints rename to API naming convention
- Project Restructure with separate concerns (routes, services, models)
- RESTful endpoints for accessing ROM information
- Real-time data synchronization with RisingOTA repository
- Cached responses for improved performance
- Comprehensive device and build information
- JSON response format
- fastapi[standard]>=0.112.0
- requests
- pydantic
- apscheduler
- git
you can access:
- Swagger UI documentation at https://ros-api-2to4.onrender.com/docs
- ReDoc documentation at https://ros-api-2to4.onrender.com/redoc
- API status
GET /
- DeviceList
GET /api/v1/device/deviceList
- Device Variants and Information
GET /api/v1/device/{codename}
example: /device/lynx, /device/cancunf, etc.
├── main.py
└── ROSAPI
│ ├── functions
│ │ ├── DeviceList.py
│ │ └── DeviceVaraints.py
│ ├── __init__.py
│ └── Models
│ ├── DnListModel.py
│ └── __init__.py
│
├── README.md
├── requirements.txt