WinAPI

REST API and Web server based on .NET HttpListener and backend PowerShell Core for Windows remote managment via Web browser or curl from Linux

MIT License

Stars
26
Committers
2

Bot releases are visible (Hide)

WinAPI - WinAPI-0.4.3 Latest Release

Published by Lifailon 8 months ago

Added module for server management (starting and stopping background process) and interaction with remote server.

Cmdlet:

  • Start-WinAPI
  • Stop-WinAPI
  • Test-WinAPI
  • Read-WinAPI

The module has been added to the NuGet repository.

Added endpoints:

  • /api/update
  • /api/software
  • /api/driver
WinAPI - WinAPI-0.4.2

Published by Lifailon 9 months ago

Added filtering for processes and services in the browser
Added title and icon to all pages
Updated /api/sensor endpoint (module: PowerShellHardwareMonitor)
Updated all examples

WinAPI - WinAPI-0.4.1

Published by Lifailon 9 months ago

Added styles for Web interface

  • Added endpoints:
    /events
    /events/<Event_Name>
    /disk/smart

  • Update endpoint:
    /api/cpu

WinAPI - WinAPI-0.4.0

Published by Lifailon 9 months ago

Added GET endpoints:

  • /api/network/ipconfig
  • /api/network/stat
  • /api/network/interface/stat/current
  • /api/network/interface/stat/all
  • /api/disk/partition
  • /api/disk/iops/total

Added sensors from OpenHardwareMonitor via CIM:

  • /api/sensor

Update:

  • Select process with spaces (use lower underscores for the name in the url)
  • Added threads to module Get-Hardware and data: DiskTotalRead, DiskTotalWrite, DiskTotalIOps, NetworkReceivedCurrent, NetworkSentCurrent, NetworkReceivedTotal, NetworkSentTotal, PortListenCount, PortEstablishedCount.

Added data in CIM modules:

  • Memory: PageSize, PageUse, PageUseProc, PagePath, MemoryVirtAll, MemoryVirtUse, MemoryVirtUseProc.
  • DiskPhysical: Status, ConfigManagerErrorCode, LastErrorCode
  • Convert data in procent and MBytes for IOps
  • Video: rounding for VideoRAM
WinAPI - WinAPI-0.3.1

Published by Lifailon 10 months ago

Server settings are placed in the configuration ini file;
Added functionality install service for server part (deployument process is automated);
Added executables to start the server;
Added server restart in case of failure (most often occurs in case of repeated request if the previous request has not been processed yet);
Static address changed on bind to all network interfaces.

WinAPI - WinAPI-0.3

Published by Lifailon 10 months ago

Added endpoints:
GET /api/files
POST /api/file-delete

WinAPI - WinAPI-0.3

Published by Lifailon 10 months ago

Added endpoints:
GET /api/files
POST /api/file-delete

WinAPI - WinAPI-0.2

Published by Lifailon 10 months ago

Added endpoints:
Web /process
GET /api/hardware
GET /api/performance
GET /api/cpu
GET /api/memory
GET /api/memory/slots
GET /api/disk/physical
GET /api/disk/logical
GET /api/disk/iops
GET /api/video
GET /api/network

WinAPI - WinAPI-0.1

Published by Lifailon 11 months ago

Endpoints:
Web /service
GET /api/service
GET /apt/service/service_name
GET /apt/process
GET /apt/process/process_name
POST /apt/service/service_name (stop/start/restart)
POST /apt/process/process_name (check/stop/start)