Add '/api/v1/stats'
This commit is contained in:
parent
4bf0764a1c
commit
1cd25e2f8e
27
API.md
27
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:
|
||||
|
|
Loading…
Reference in New Issue