Microservice responsible for storing, listing and retrieving content metadata.
- Java 100%
| src/main | ||
| .gitattributes | ||
| .gitignore | ||
| pom.xml | ||
| README.md | ||
YY Data Repository Service
Microservice responsible for storing, listing, and retrieving content metadata and delegating contents to be scraped by the YY Scraper Service.
API Documentation
| Endpoint | Method | Auth Required | Description | Path Parameters | Request Body | Response |
|---|---|---|---|---|---|---|
/api/data/manhwas |
GET | No | Get all manhwas | None | None | 200 OK, JSON array of manhwas |
/api/data/manhwas/{technicalTitle} |
GET | Yes, X-User-Role: USER |
Get a manhwa by technical title | technicalTitle |
None | 200 OK, JSON manhwa object |
/api/data/manhwas/updatable |
GET | Yes, X-User-Role: ADMIN |
Get manhwas updatable within 3 days cooldown | None | None | 200 OK, JSON array of manhwas |
/api/data/manhwas/updatable/{days} |
GET | Yes, X-User-Role: ADMIN |
Get manhwas updatable within a custom day cooldown | days |
None | 200 OK, JSON array of manhwas |
/api/data/manhwas/top10-most-viewed |
GET | No | Get top 10 most viewed manhwas (CORS open) | None | None | 200 OK, JSON array of manhwas |
/api/data/manhwas |
POST | Yes, X-User-Role: ADMIN |
Add a new manhwa | None | JSON, manhwa object | 200 OK, JSON of created manhwa |
/api/data/manhwas/{technicalTitle} |
DELETE | Yes, X-User-Role: ADMIN |
Delete a manhwa by technical title | technicalTitle |
None | 200 OK |