Change Updates

Do not miss any ChainElect backend API changes, ever again

Subscribe to the ChainElect backend API changelog to be up to date on recent changes.

RSS

May 7, 2025

main
1.0.0
Compare

API structure has changed

4 structure changes including:
1 Breaking change
3 Modifications
1 Removal
Modified 3 Breaking
POST /login
  • Body
  • application/json content type Modified
    • idNumber property Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
    • id_number property Added
  • Response
  • 400 response Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
  • 401 response Added
POST /register
  • Body
  • application/json content type Modified
    • fullName, idNumber, dob properties Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
    • commitment_hash, is_admin properties Added
  • Response
  • 400 response Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
  • 409 response Added
POST /save-user-data
  • Body
  • application/json content type Modified
    • name, dob, idNumber properties Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
    • id_number, password, commitment_hash, is_admin properties Added
Removed 1 Breaking
GET /protected
  • Removing a resource is always breaking unless it was deprecated before
    Breaking