aptly-api-client
aptly-api-client copied to clipboard
Added api/ready command
- Added api/ready
- Added tests for api/ready
- Added fix for BaseApiClient.do_get. 503 status codes were getting turned into ApltyAPIExceptions. The new api/ready uses 503 as its status code when aptly is not ready.
@GregoryLand Not sure if relevant for you but suggested changes are related to functionalities that are not part of a released version of Aptly Server.
Yes but I needed it. So commiting it to upstream where it could be pulled in one day seemed prudent. It also fails with an exception if the endpoint doesn't exist.