FFFF Add rest API to interact with external systems · Issue #16 · edge-mining/app · GitHub
[go: up one dir, main page]

Skip to content

Add rest API to interact with external systems #16

Open
7 of 8 issues completed
Open

Description

@markoceri

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:

  • Basic CRUD operations on the miner entity (Create, Read, Update and Delete)
  • Basic CRUD operations on the home load entity and home load profile (Create, Read, Update and Delete)
  • Basic CRUD operations on the optimization policy and automation rule (Create, Read, Update and Delete)
  • Basic CRUD operations on the user settings (Create, Read, Update and Delete)
  • Trigger an energy evaluation
  • ...

I think it can be implemented with FastAPI.
We could use this discussion to think about what features could be included 🙂​.

Activity

  1. markoceri commented on Apr 30, 2025

    @markoceri
    CollaboratorAuthor

    Implemented It using FastAPI.

    • Basic operations on the miners for Create, Read, Update and Delete.
    • Basic CRUD operations on the optimization policy and automation rule (Create, Read, Update and Delete)
    • Trigger an energy evaluation
    • Basic CRUD operations on the home load entity and home load profile (Create, Read, Update and Delete)

    API that still need to be implemented:

    • Basic CRUD operations on the user settings (Create, Read, Update and Delete)

    The default API port is 8001 and can be changed from the .env file using the variable API_PORT.

  2. markoceri commented on Aug 28, 2025

    @markoceri
    CollaboratorAuthor

    RestAPI interface available for the following domains:

    Development in progress for the following domains:

    Domains that needs Rest API development:

    • User Settings (user)
    • Settings (settings)

    Note: All APIs can be explored interactively using the FastAPI Swagger documentation at: http://localhost:8001/docs

  3. markoceri commented on Nov 23, 2025

    @markoceri
    CollaboratorAuthor

    The first version is close to release!

    With the PR edge-mining/core#61 we can create Energy Optimization Units from CLI and RestAPI

  4. transferred this issue fromedge-mining/coreon May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0