8000
Implement a REST API interface to allow external systems, including users (through a web interface), to interact with Edge Mining application.
Features that could be implemented:
I think it can be implemented with FastAPI. We could use this discussion to think about what features could be included 🙂.
Implemented It using FastAPI.
API that still need to be implemented:
The default API port is 8001 and can be changed from the .env file using the variable API_PORT.
8001
API_PORT
Note: All APIs can be explored interactively using the FastAPI Swagger documentation at: http://localhost:8001/docs
http://localhost:8001/docs
Energy Optimization
Energy Forecast
Notification
Energy Optimization Unit
Mining Performance Analysis
The first version is close to release!
With the PR edge-mining/core#61 we can create Energy Optimization Units from CLI and RestAPI
Settings
User Settings
Home Consumption Analytics
Activity
markoceri commentedon Apr 30, 2025
Implemented It using FastAPI.
API that still need to be implemented:
The default API port is
8001and can be changed from the .env file using the variableAPI_PORT.markoceri commentedon Aug 28, 2025
RestAPI interface available for the following domains:
Development in progress for the following domains:
Domains that needs Rest API development:
Note: All APIs can be explored interactively using the FastAPI Swagger documentation at:
http://localhost:8001/docsEnergy Optimization(policy) domain core#28Energy Forecast(forecast) domain core#29Notification(notification) domain core#31Energy Optimization Unit(optimization_unit) domain core#32Mining Performance Analysis(performance) domain core#33markoceri commentedon Nov 23, 2025
The first version is close to release!
With the PR edge-mining/core#61 we can create Energy Optimization Units from CLI and RestAPI
Settings(settings) domain #8User Settings(user) domain #9Home Consumption Analytics(home_load) domain #10Energy Forecast(forecast) domain core#29Home Consumption Analytics(home_load) domain #10Energy Optimization(policy) domain core#28User Settings(user) domain #9Energy Optimization Unit(optimization_unit) domain core#32Notification(notification) domain core#31Settings(settings) domain #8Mining Performance Analysis(performance) domain core#33