I used services/api/stats API and check daysLeftToExpiration attribute to know if the server is expired.
But, daysLeftToExpiration can be 0 in both of following case:
- the server is expired
- the server’s expiration date is set to “no expiracy”
So, I cannot differentiate the condition.
How should I do to differentiate above cases?