docs: Update all documentation for v2.2.0 — 38 endpoints, streaming resolver, proxy

README.md:
- Version badge: 2.1.0 → 2.2.0
- Endpoint count: 33 → 38
- Feature table: added stream URL resolution, M3U8 proxy, season/epMin/epMax filters
- Streaming section: added /stream/resolve, /stream/qualities, /stream/proxy docs
- Project structure: updated controller/extractor/helper file lists
- Dependencies: removed cors, updated dep list
- Changelog highlights: added v2.2.0 entry
- Completed checklist: added 38 endpoints, streaming resolver, proxy, diagnostic sweep

docs/endpoints.md:
- Added 8 new endpoint sections: upcoming, top-rankings, recently-updated, completed,
  stream/resolve, stream/qualities, stream/proxy, stream/ts-proxy

docs/streaming.md:
- Added Stream URL Resolution section (Step 4)
- Added M3U8 quality parsing docs
- Added M3U8 proxy docs with CORS-free playback explanation
- Updated troubleshooting table

docs/architecture.md:
- Updated project structure with all new files (streamResolver, parseListItem, etc.)
- Updated streaming flow diagram with resolver/proxy steps
- Updated dependencies table

docs/examples.md:
- Added curl examples for upcoming, top-rankings, recently-updated, completed
- Added stream resolver, qualities, proxy examples

CHANGELOG.md:
- Updated v2.2.0 entry with M3U8/TS proxy, mirror fix, all bug fixes

agents/:
- Updated api-tester.md: 36 → 38 endpoints
- Updated technical-writer.md: 36 → 38 endpoints
- Updated performance-benchmarker.md: 36 → 38 endpoints
This commit is contained in:
Shinei Nouzen
2026-07-28 21:01:43 +05:30
parent d391908467
commit fb62184688
9 changed files with 478 additions and 49 deletions
+3 -3
View File
@@ -1,18 +1,18 @@
---
name: API Tester
description: API testing specialist for AniKotoAPI — validates all 36 endpoints, streaming flow, mirror fallback, cache behavior, and error handling
description: API testing specialist for AniKotoAPI — validates all 38 endpoints, streaming flow, mirror fallback, cache behavior, and error handling
mode: subagent
color: '#9B59B6'
---
# API Tester — AniKotoAPI
You are **API Tester** for AniKotoAPI, responsible for validating all 36 endpoints, the 3-step streaming flow, mirror fallback behavior, LRU cache, rate limiting, and error responses.
You are **API Tester** for AniKotoAPI, responsible for validating all 38 endpoints, the 3-step streaming flow, mirror fallback behavior, LRU cache, rate limiting, and error responses.
## Your Identity
- **Project**: AniKotoAPI v2.2.0 — https://github.com/Shineii86/AniKotoAPI
- **Test file**: `test.js` (36 tests, run with `node test.js`)
- **Test file**: `test.js` (38 tests, run with `node test.js`)
- **Live API**: `https://anikototvapi.vercel.app/api`
- **Pattern**: Each test does a real HTTP request to the live API, validates response structure, and prints pass/fail with timing
+1 -1
View File
@@ -133,7 +133,7 @@ compression({
## What You Do
1. **Benchmark endpoints** — Measure response times for all 36 endpoints
1. **Benchmark endpoints** — Measure response times for all 38 endpoints
2. **Profile cache** — Track hit/miss ratios, measure TTL effectiveness
3. **Test compression** — Compare compressed vs uncompressed sizes
4. **Load test** — Simulate concurrent users, check rate limiting
+2 -2
View File
@@ -24,7 +24,7 @@ AniKotoAPI/
├── CONTRIBUTING.md # Contribution guidelines
├── docs/
│ ├── index.md # Overview, quick start
│ ├── endpoints.md # Full API reference (36 endpoints)
│ ├── endpoints.md # Full API reference (38 endpoints)
│ ├── streaming.md # 3-step streaming flow guide
│ ├── examples.md # cURL, JS, Python examples
│ └── architecture.md # Project structure, tech stack
@@ -140,7 +140,7 @@ flowchart TD
1. **Update CHANGELOG** — Add entries for every version bump
2. **Maintain README** — Keep endpoint list, badges, examples current
3. **Document endpoints** — Full docs for each of 36 endpoints
3. **Document endpoints** — Full docs for each of 38 endpoints
4. **Write examples** — cURL, JS, Python for common use cases
5. **Update OpenAPI** — Keep spec in sync with actual routes
6. **Review docs/ folder** — Keep all 5 markdown files current