Skip to content

Latest commit

 

History

History
358 lines (219 loc) · 4.58 KB

changelog.md

File metadata and controls

358 lines (219 loc) · 4.58 KB

Changelog

All notable changes to this project will be documented in this file.

This project follows the principles of Keep a Changelog and Semantic Versioning where applicable.


[1.2.0] - 2026-11-29

API Sync

Re-checked the documented endpoints against the live https://gdebenz.ru API (tools/check_endpoints.py: 14/14 passed).


Added

  • Documentation index and repository structure in README.md now include chats.md, config.md, prices.md, routing.md and trust-eco.md.

Changed

Endpoints

  • GET /api/nearby: documented top-level updated field and the meta object ({"f": [...]}) per station.

[1.1.0] - 2026-09-29

Documentation Refinement

Expanded and clarified previously incomplete sections.


Changed

Endpoints

  • Expanded /api/station-suggestions/resolve into a full endpoint entry (request, authentication, response notes).

Responses

  • Replaced the "Unknown Fields" placeholder with a documented Extended Station Fields table (confirmations, confirmationsFresh, confidenceBase, realCount, updated, fuels_now, limited, freshConflict, distance_km).

Requests

  • Clarified the /api/station-suggestions/resolve description.

Repository

  • Added a documentation index to README.md.
  • Removed stray inline citation artifacts from all docs.

[1.0.0] - 2026-07-05

Initial Release

First public documentation release of the unofficial GdeBenz Client API.

This release documents the browser-side API discovered through JavaScript analysis and runtime inspection.


Added

API Endpoints

Documented all currently discovered endpoints.

Including:

  • /api/cfg
  • /api/cities
  • /api/city/live
  • /api/comments
  • /api/comments/{id}/report
  • /api/geoip
  • /api/nearby
  • /api/pwa
  • /api/px
  • /api/reverse-city
  • /api/rt
  • /api/rum
  • /api/search
  • /api/share
  • /api/share-snapshot
  • /api/station-not-here
  • /api/station-suggestions
  • /api/station-suggestions/check
  • /api/station-suggestions/mine
  • /api/station-suggestions/resolve
  • /api/stations
  • /api/thanks
  • /api/thanks/mine
  • /api/trust
  • /api/views
  • /api/vt

Authentication

Documented browser authentication system.

Including:

  • Visitor Token (VT)
  • Report Token (RT)
  • Cloudflare Turnstile
  • Browser Fingerprint
  • Visitor ID
  • Local Storage
  • Session handling

Browser Tokens

Documented:

  • __VT
  • __RT
  • _cvt
  • gas_cid
  • gas_votes
  • gas_votes_t

JavaScript Functions

Documented important browser functions.

Including:

  • vtRefresh()
  • rtRefresh()
  • getFingerprint()
  • submitComment()
  • reportStation()
  • reportNotHere()
  • sgSubmit()
  • selectStatus()
  • renderStatusBlock()
  • buildFuelV2HTML()

Request Objects

Documented payload structures.

Including:

Vote object

{
  "osm_id": "...",
  "status": "...",
  "fp": "...",
  "vt": "...",
  "cf": "...",
  "cvt": "...",
  "vlat": 0,
  "vlon": 0
}

Suggestion object

{
  "name": "...",
  "source_url": "...",
  "lat": 0,
  "lon": 0,
  "visitor_id": "..."
}

Report object

{
  "osm_id": "...",
  "visitor_id": "..."
}

Response Objects

Documented common responses.

Including:

VT response

{
    "vt": "...",
    "ttl": 1800
}

RT response

{
    "rt": "..."
}

Nearby stations

Configuration

Search results

Station information

View counters

Trust data


Error Codes

Documented HTTP responses.

Including:

200 OK

400 Bad Request

403 Forbidden

404 Not Found

409 Conflict

429 Too Many Requests

500 Internal Server Error

503 Service Unavailable


Browser Storage

Documented LocalStorage keys.

Including:

gas_cid

gas_votes

gas_votes_t

gas_theme

geo_primed


Security

Documented protection mechanisms.

Including:

Cloudflare Turnstile

Browser fingerprint

Visitor Token

Report Token

Rate limiting

Geo restriction

Vote cooldown

Device identification


Reverse Engineering Notes

Added documentation describing:

runtime inspection

JavaScript analysis

browser console inspection

network monitoring

request reconstruction

token discovery

endpoint discovery


Repository Documentation

Added:

README.md

API.md

AUTHENTICATION.md

TOKENS.md

OBJECTS.md

REQUESTS.md

RESPONSES.md

FUNCTIONS.md

ENDPOINTS.md

ERRORS.md

LICENSE

CHANGELOG.md


Notes

This repository documents client-side behavior only.

No server-side implementation is included.

Some documented fields may change without notice if the production service is updated.

This project is intended for educational, interoperability, and reverse engineering purposes only.