Skip to content
This repository has been archived by the owner on Jun 21, 2021. It is now read-only.

lineageos4microg/build_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build_stats

Build Logs Statistics and Analysis Server

Installation

pip install --user -r requirements.txt

API

Internal:

Title Control Build Timer
URL /build
Method POST
URL Params None

Data Params:

{
   "build": {
        "device": [string],
        "action": "start"|"stop"
    }
}

External:

Title Get Device Stats
URL /stats
Method GET
URL Params Required: device=[string]

Usage Example

To launch the server:

gunicorn stats:api

To request a device status:

curl -X GET "<ip>:<port>/stats?device=mako"

About

Build Logs Statistics and Analysis Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages