API 2.2.0
- Added
- Changed
- Security
v2.2.0
Added
- Bilingual API documentation (en and pt-BR) and the emblem favicon.
- Library:
GET /v2/library/achievements,/worldquests, and/maps. - Community:
GET /v2/community/killstatistics/{world},/houses/{world}/{town},/houses/{world}/house/{house_id},/guilds/{world},/guild/{name},/polls, and/fansites. - Daily cache refreshed at 10:10 AM Berlin time, with
updated_atandstalefields: fansites, creatures, boostablebosses, experiencetable, and spells, including per-item caching for detail endpoints. - Protection against tibia.com maintenance: Returns 503 with
Retry-Afterand activates a 5-minute cooldown during which no requests are sent to tibia.com.
Changed
- Spell or creature detail requests for entries not found in the list now return 404 without querying tibia.com.
- Boosted bosses and creatures continue to display the previous day's selection between 10:00 AM and 10:10 AM Berlin time.
- Maintenance-related errors now return 503 instead of the generic 520.
- Updated the version to 2.2.0 in
X-API-Version, OpenAPIinfo.version, the v2 API contract, and tests.
Security
- Fixed a vulnerability in
crypto/x509.