List script versions and roll back to a previous release using the Developer Platform API.
GET /v1/projects/:id/versions
curl https://developer.sirius.menu/v1/projects/a1b2.../versions \ -H "Authorization: Bearer sdt_..."
{ "versions": [ { "id": "v3f4a5b6-...", "version_number": 3, "uploaded_at": 1712345678, "size_bytes": 24576, "notes": "Fix auto-farm timing" }, { "id": "v2e3d4c5-...", "version_number": 2, "uploaded_at": 1712259278, "size_bytes": 23040, "notes": "" } ], "current_version_id": "v3f4a5b6-..." }
POST /v1/projects/:id/versions/rollback
curl -X POST https://developer.sirius.menu/v1/projects/a1b2.../versions/rollback \ -H "Authorization: Bearer sdt_..." \ -H "Content-Type: application/json" \ -d '{ "version_id": "v2e3d4c5-..." }'
{ "ok": true, "current_version_id": "v2e3d4c5-..." }
Contact support