mirror of
				https://gitea.invidious.io/iv-org/documentation
				synced 2025-06-05 22:19:26 +02:00 
			
		
		
		
	Add '/api/v1/stats'
This commit is contained in:
		
							
								
								
									
										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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user