diff --git a/API.md b/API.md index 90138c9..3f82c49 100644 --- a/API.md +++ b/API.md @@ -1,3 +1,30 @@ +##### GET `/api/v1/stats` + +> Schema: + +```javascript +{ + "version": String, + "software": { + "name": "invidious", + "version": String, + "branch": String + }, + "openRegistrations": Bool, + "usage": { + "users": { + "total": Int32, + "activeHalfyear": Int32, + "activeMonth": Int32 + } + }, + "metadata": { + "updatedAt": Int64, + "lastChannelRefreshedAt": Int64 + } +} +``` + ##### GET `/api/v1/videos/:id` > Schema: