Closed Bischoff closed 5 months ago
The return value from the API above lacks the "usual" fields: rs, overallRC, modID, rc, and output.
that's good question, I think I missed this part during the design and implementation phase
conceptually we should add those usual
fields ..
the API itself has not been well designed and might need further polish , need find some time to do that later
The return value from the API above lacks the "usual" fields: rs, overallRC, modID, rc, and output.
that's good question, I think I missed this part during the design and implementation phase conceptually we should add those
usual
fields ..the API itself has not been well designed and might need further polish , need find some time to do that later
Fixed in #813.
Reference: https://cloudlib4zvm.readthedocs.io/en/latest/restapi.html#smapi-healthy
In the doc, one reads:
but correct English would rather be "Report health of SMAPI".
In the doc, one reads:
I think this is meant for another API call, and it should rather be:
None
smapi_healthy body dict Status of SMAPI healthy
continueousFail body integer The count of continueous fail.
healthy body integer Whether SMAPI is healthy.
{ "SMAPI": { "totalSuccess": 0, "totalFail": 0, "lastSuccess": "", "lastFail": "", "continueousFail": 0, "healthy": true } }