disguise developers

System Management Controller API

GET smc

Summary

Get the current status of the SMC system

URL

GET    /api/smc

Responses

Response Body

{
  "[Time Elapsed (post-boot)]": "ETH_MGMT Enumerated"
}

POST smc

Summary

Update the status of the SMC system

Note: Here for consistency but of no real use in practice

URL

POST    /api/smc

Request Body

{
  "[Time Elapsed (post-boot)]": "ETH_MGMT Enumerated"
}

Responses

Response Body

{
  "message": "ok"
}

POST smc/clear/all

Summary

Clears all the data in the SMC database including user accounts

There is no undo.

URL

POST    /api/smc/clear/all

Responses

Response Body

{
  "message": "ok"
}

POST smc/enable/downgrade

Summary

Restart SWUpdate process to permit downgrading SMC version below permitted version

WARNING: This may cause unrecoverable error

URL

POST    /api/smc/enable/downgrade

Responses

Response Body

{
  "message": "ok"
}