Skip to content

Firmware API

The Firmware API manages firmware versioning, distribution, and update orchestration for charging infrastructure devices.

Features

  • Firmware Management - Upload, version, and manage firmware files
  • Distribution - Store firmware in S3-compatible storage
  • Update Campaigns - Orchestrate firmware updates across device fleets
  • Rollback Support - Maintain firmware history for rollbacks
  • Device Compatibility - Track device models and compatible firmware versions
  • Update Status - Monitor firmware update progress in real-time

Base URL

https://api.ampnexus.app/firmware/v1

API Reference

Explore the full API specification using the interactive Swagger UI below:

Quick Examples

List Firmware Versions

curl -H "Authorization: Bearer YOUR_TOKEN" \
  "https://api.ampnexus.app/firmware/v1/firmware?device_model=JOLT_GEN2"

Get Firmware Details

curl -H "Authorization: Bearer YOUR_TOKEN" \
  https://api.ampnexus.app/firmware/v1/firmware/{firmware_id}

Upload Firmware

curl -X POST \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -F "file=@firmware-v2.5.0.bin" \
  -F "version=2.5.0" \
  -F "device_model=JOLT_GEN2" \
  -F "description=Security fixes and performance improvements" \
  https://api.ampnexus.app/firmware/v1/firmware

Initiate Firmware Update

curl -X POST \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "firmware_id": "FIRMWARE_ID",
    "device_serials": ["DEVICE1", "DEVICE2"]
  }' \
  https://api.ampnexus.app/firmware/v1/updates