From c854d763c68e95a34fabbb498e1ad96be70f275e Mon Sep 17 00:00:00 2001 From: Shinei Nouzen <157171073+Shineii86@users.noreply.github.com> Date: Tue, 13 Oct 2026 07:38:54 +0530 Subject: [PATCH] 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 --- README.md | 2 +- docs/architecture.md | 25 +++++++++++++------------ docs/endpoints.md | 2 +- docs/examples.md | 4 ++-- docs/index.md | 4 ++-- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index a88d9f1..1ba30dc 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Cheerio Vercel License - Version + Version Endpoints Anime Database Maintenance diff --git a/docs/architecture.md b/docs/architecture.md index e1fe611..acd60f7 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -1,8 +1,8 @@ /** * ============================================================================ * AniKotoAPI — Architecture Document - * Version : 2.4.1 - * Generated: 2026-08-14 + * Version : 2.5.1 + * Generated: 2026-10-13 * ============================================================================ * * 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: │ * │ • Extract and validate request parameters (query, params, body) │ @@ -364,7 +364,7 @@ * │ Routes │ * ├────────────────────────────────────────────────────────────────────────┤ * │ apiRoutes.js │ - * │ • Defines all 28 endpoint paths with HTTP methods │ + * │ • Defines all 40 endpoint paths with HTTP methods │ * │ • Maps paths to controller functions │ * │ • Embeds OpenAPI 3.0 spec for auto-documentation │ * │ │ @@ -782,7 +782,7 @@ * │ 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: │ * │ - HTTP status code (200, or expected error code) │ * │ - Response shape (success: true, data present) │ @@ -836,13 +836,14 @@ * │ VERSION HISTORY │ * ├──────────────────────────────────────────────────────────────────────┤ * │ │ - * │ v2.4.1 (Current) │ - * │ • 28 endpoints, 28 extractors │ - * │ • LRU cache with per-endpoint TTL │ + * │ v2.5.1 (Current) │ + * │ • 40 endpoints, 29 extractors, 30 controllers │ + * │ • Cache TTLs per endpoint + 60min MAL/AniList ID cache │ * │ • 5-mirror failover system │ * │ • Vercel serverless deployment │ - * │ • 35 integration tests │ - * │ • OpenAPI 3.0 spec embedded in apiRoutes.js │ + * │ • Direct embed providers (Megavid/AniXo/MegaPlay) │ + * │ • 40 integration tests │ + * │ • OpenAPI 3.0 spec embedded in apiRoutes.js │ * │ │ * └──────────────────────────────────────────────────────────────────────┘ * @@ -866,13 +867,13 @@ * │ Anime Detail │ animeInfo, watchPage, status │ * │ Episode & Stream │ episodeList, episodeListAjax, │ * │ │ streamInfo, streamResolver, download,│ - * │ │ embedProviders │ + * │ │ embedProviders, episodeLatest │ * │ Lists │ newRelease, trendingSidebar, │ * │ │ topAnimeRankings, recentlyUpdated, │ * │ │ completedAnime, upcomingAnime │ * │ Meta │ seasons, watchOrder │ * ├─────────────────────────────┼────────────────────────────────────────┤ - * │ TOTAL │ 28 endpoints │ + * │ TOTAL │ 40 endpoints │ * └─────────────────────────────┴────────────────────────────────────────┘ * * ┌──────────────────────────────────────────────────────────────────────┐ diff --git a/docs/endpoints.md b/docs/endpoints.md index 2febe49..7701433 100644 --- a/docs/endpoints.md +++ b/docs/endpoints.md @@ -973,7 +973,7 @@ curl "https://anikototvapi.vercel.app/api/health" "success": true, "results": { "status": "healthy", - "version": "2.4.1", + "version": "2.5.1", "uptime": "0h 1m 21s", "uptimeSeconds": 81, "timestamp": "2026-07-30T02:20:46.153Z", diff --git a/docs/examples.md b/docs/examples.md index 4c6177b..230070f 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -26,7 +26,7 @@ curl -s "https://anikototvapi.vercel.app/api/health" | python3 -m json.tool "success": true, "results": { "status": "healthy", - "version": "2.4.1", + "version": "2.5.1", "uptime": "0h 1m 21s", "uptimeSeconds": 81, "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, "results": { "status": "healthy", - "version": "2.4.1", + "version": "2.5.1", "uptime": "0h 1m 21s", "uptimeSeconds": 81, "timestamp": "2026-07-30T02:20:46.153Z", diff --git a/docs/index.md b/docs/index.md index 6e3dd56..8e276e0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,11 +1,11 @@ # // === HEADER === -# AniKotoAPI v2.4.1 +# AniKotoAPI v2.5.1 # Free REST API for Anime Data # 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) ![Endpoints](https://img.shields.io/badge/Endpoints-40+-orange) ![Node.js](https://img.shields.io/badge/Node.js-18+-brightgreen)