docs: sync version badges and stale counts to 2.5.1

- README version badge 2.4.1 -> 2.5.1
- docs/index.md title + badge -> v2.5.1
- docs/architecture.md: header version/date, controller count (30),
  version-history block -> v2.5.1 (40 endpoints, embed providers),
  apiRoutes/test counts, Episode & Stream row (+episodeLatest),
  TOTAL row 28 -> 40 endpoints (box alignment preserved)
- docs/endpoints.md + docs/examples.md sample /stats responses -> 2.5.1
This commit is contained in:
Shinei Nouzen
2026-10-13 07:38:54 +05:30
parent 0f2258a8d5
commit c854d763c6
5 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
<img src="https://img.shields.io/badge/Cheerio-1.0-3572A5?style=flat-square&logoColor=white" alt="Cheerio"/> <img src="https://img.shields.io/badge/Cheerio-1.0-3572A5?style=flat-square&logoColor=white" alt="Cheerio"/>
<img src="https://img.shields.io/badge/Vercel-Serverless-000000?style=flat-square&logo=vercel&logoColor=white" alt="Vercel"/> <img src="https://img.shields.io/badge/Vercel-Serverless-000000?style=flat-square&logo=vercel&logoColor=white" alt="Vercel"/>
<img src="https://img.shields.io/badge/License-MIT-22c55e?style=flat-square&logo=mit&logoColor=white" alt="License"/> <img src="https://img.shields.io/badge/License-MIT-22c55e?style=flat-square&logo=mit&logoColor=white" alt="License"/>
<img src="https://img.shields.io/badge/Version-2.4.1-f43f8e?style=flat-square&logoColor=white" alt="Version"/> <img src="https://img.shields.io/badge/Version-2.5.1-f43f8e?style=flat-square&logoColor=white" alt="Version"/>
<img src="https://img.shields.io/badge/Endpoints-40-6366f1?style=flat-square&logoColor=white" alt="Endpoints"/> <img src="https://img.shields.io/badge/Endpoints-40-6366f1?style=flat-square&logoColor=white" alt="Endpoints"/>
<img src="https://img.shields.io/badge/Anime-10000+-a855f7?style=flat-square&logoColor=white" alt="Anime Database"/> <img src="https://img.shields.io/badge/Anime-10000+-a855f7?style=flat-square&logoColor=white" alt="Anime Database"/>
<img src="https://img.shields.io/badge/Maintenance-Active-22c55e?style=flat-square&logo=github&logoColor=white" alt="Maintenance"/> <img src="https://img.shields.io/badge/Maintenance-Active-22c55e?style=flat-square&logo=github&logoColor=white" alt="Maintenance"/>
+12 -11
View File
@@ -1,8 +1,8 @@
/** /**
* ============================================================================ * ============================================================================
* AniKotoAPI — Architecture Document * AniKotoAPI — Architecture Document
* Version : 2.4.1 * Version : 2.5.1
* Generated: 2026-08-14 * Generated: 2026-10-13
* ============================================================================ * ============================================================================
* *
* Free REST API for scraping anime data from anikototv.to * Free REST API for scraping anime data from anikototv.to
@@ -301,7 +301,7 @@
* └────────────────────────────────────────────────────────────────────────┘ * └────────────────────────────────────────────────────────────────────────┘
* *
* ┌────────────────────────────────────────────────────────────────────────┐ * ┌────────────────────────────────────────────────────────────────────────┐
* │ Controllers (28 handlers) │ * │ Controllers (30 handlers) │
* ├────────────────────────────────────────────────────────────────────────┤ * ├────────────────────────────────────────────────────────────────────────┤
* │ One controller per API endpoint. Responsibilities: │ * │ One controller per API endpoint. Responsibilities: │
* │ • Extract and validate request parameters (query, params, body) │ * │ • Extract and validate request parameters (query, params, body) │
@@ -364,7 +364,7 @@
* │ Routes │ * │ Routes │
* ├────────────────────────────────────────────────────────────────────────┤ * ├────────────────────────────────────────────────────────────────────────┤
* │ apiRoutes.js │ * │ apiRoutes.js │
* │ • Defines all 28 endpoint paths with HTTP methods │ * │ • Defines all 40 endpoint paths with HTTP methods │
* │ • Maps paths to controller functions │ * │ • Maps paths to controller functions │
* │ • Embeds OpenAPI 3.0 spec for auto-documentation │ * │ • Embeds OpenAPI 3.0 spec for auto-documentation │
* │ │ * │ │
@@ -782,7 +782,7 @@
* │ INTEGRATION TESTS (test.js) │ * │ INTEGRATION TESTS (test.js) │
* ├──────────────────────────────────────────────────────────────────────┤ * ├──────────────────────────────────────────────────────────────────────┤
* │ │ * │ │
* │ • 35 end-to-end tests covering all 28+ endpoints. │ * │ • 40 end-to-end tests covering all 40+ endpoints. │
* │ • Each test hits the live API and validates: │ * │ • Each test hits the live API and validates: │
* │ - HTTP status code (200, or expected error code) │ * │ - HTTP status code (200, or expected error code) │
* │ - Response shape (success: true, data present) │ * │ - Response shape (success: true, data present) │
@@ -836,12 +836,13 @@
* │ VERSION HISTORY │ * │ VERSION HISTORY │
* ├──────────────────────────────────────────────────────────────────────┤ * ├──────────────────────────────────────────────────────────────────────┤
* │ │ * │ │
* │ v2.4.1 (Current) │ * │ v2.5.1 (Current) │
* │ • 28 endpoints, 28 extractors │ * │ • 40 endpoints, 29 extractors, 30 controllers │
* │ • LRU cache with per-endpoint TTL │ * │ • Cache TTLs per endpoint + 60min MAL/AniList ID cache │
* │ • 5-mirror failover system │ * │ • 5-mirror failover system │
* │ • Vercel serverless deployment │ * │ • Vercel serverless deployment │
* │ • 35 integration tests │ * │ • Direct embed providers (Megavid/AniXo/MegaPlay) │
* │ • 40 integration tests │
* │ • OpenAPI 3.0 spec embedded in apiRoutes.js │ * │ • OpenAPI 3.0 spec embedded in apiRoutes.js │
* │ │ * │ │
* └──────────────────────────────────────────────────────────────────────┘ * └──────────────────────────────────────────────────────────────────────┘
@@ -866,13 +867,13 @@
* │ Anime Detail │ animeInfo, watchPage, status │ * │ Anime Detail │ animeInfo, watchPage, status │
* │ Episode & Stream │ episodeList, episodeListAjax, │ * │ Episode & Stream │ episodeList, episodeListAjax, │
* │ │ streamInfo, streamResolver, download,│ * │ │ streamInfo, streamResolver, download,│
* │ │ embedProviders │ * │ │ embedProviders, episodeLatest │
* │ Lists │ newRelease, trendingSidebar, │ * │ Lists │ newRelease, trendingSidebar, │
* │ │ topAnimeRankings, recentlyUpdated, │ * │ │ topAnimeRankings, recentlyUpdated, │
* │ │ completedAnime, upcomingAnime │ * │ │ completedAnime, upcomingAnime │
* │ Meta │ seasons, watchOrder │ * │ Meta │ seasons, watchOrder │
* ├─────────────────────────────┼────────────────────────────────────────┤ * ├─────────────────────────────┼────────────────────────────────────────┤
* │ TOTAL │ 28 endpoints │ * │ TOTAL │ 40 endpoints │
* └─────────────────────────────┴────────────────────────────────────────┘ * └─────────────────────────────┴────────────────────────────────────────┘
* *
* ┌──────────────────────────────────────────────────────────────────────┐ * ┌──────────────────────────────────────────────────────────────────────┐
+1 -1
View File
@@ -973,7 +973,7 @@ curl "https://anikototvapi.vercel.app/api/health"
"success": true, "success": true,
"results": { "results": {
"status": "healthy", "status": "healthy",
"version": "2.4.1", "version": "2.5.1",
"uptime": "0h 1m 21s", "uptime": "0h 1m 21s",
"uptimeSeconds": 81, "uptimeSeconds": 81,
"timestamp": "2026-07-30T02:20:46.153Z", "timestamp": "2026-07-30T02:20:46.153Z",
+2 -2
View File
@@ -26,7 +26,7 @@ curl -s "https://anikototvapi.vercel.app/api/health" | python3 -m json.tool
"success": true, "success": true,
"results": { "results": {
"status": "healthy", "status": "healthy",
"version": "2.4.1", "version": "2.5.1",
"uptime": "0h 1m 21s", "uptime": "0h 1m 21s",
"uptimeSeconds": 81, "uptimeSeconds": 81,
"timestamp": "2026-07-30T02:20:46.153Z", "timestamp": "2026-07-30T02:20:46.153Z",
@@ -2036,7 +2036,7 @@ curl -s "https://anikototvapi.vercel.app/api/health" | python3 -m json.tool
"success": true, "success": true,
"results": { "results": {
"status": "healthy", "status": "healthy",
"version": "2.4.1", "version": "2.5.1",
"uptime": "0h 1m 21s", "uptime": "0h 1m 21s",
"uptimeSeconds": 81, "uptimeSeconds": 81,
"timestamp": "2026-07-30T02:20:46.153Z", "timestamp": "2026-07-30T02:20:46.153Z",
+2 -2
View File
@@ -1,11 +1,11 @@
# // === HEADER === # // === HEADER ===
# AniKotoAPI v2.4.1 # AniKotoAPI v2.5.1
# Free REST API for Anime Data # Free REST API for Anime Data
# Scraping anikototv.to with Cheerio # Scraping anikototv.to with Cheerio
--- ---
![AniKotoAPI](https://img.shields.io/badge/AniKotoAPI-v2.4.1-blue) ![AniKotoAPI](https://img.shields.io/badge/AniKotoAPI-v2.5.1-blue)
![License](https://img.shields.io/badge/License-MIT-green) ![License](https://img.shields.io/badge/License-MIT-green)
![Endpoints](https://img.shields.io/badge/Endpoints-40+-orange) ![Endpoints](https://img.shields.io/badge/Endpoints-40+-orange)
![Node.js](https://img.shields.io/badge/Node.js-18+-brightgreen) ![Node.js](https://img.shields.io/badge/Node.js-18+-brightgreen)