diff --git a/docs/API.md b/docs/API.md index b274a1a7..031988a8 100644 --- a/docs/API.md +++ b/docs/API.md @@ -545,7 +545,7 @@ guaranteed to work, especially if they block connections that the balena service Keep in mind that, even if transparent proxy redirection will take effect immediately after the API call (i.e. all new connections will go through the proxy), open connections will not be closed. So, if for example, the device has managed to connect to the balenaCloud VPN without the proxy, it will stay connected directly without trying to reconnect through the proxy, unless the connection breaks - any reconnection attempts will then go through the proxy. To force *all* connections to go through the proxy, the best way is to reboot the device (see the /v1/reboot endpoint). In most networks were no connections to the Internet can be made if not through a proxy, this should not be necessary (as there will be no open connections before configuring the proxy settings). The "noProxy" setting for the proxy is an optional array of IP addresses/subnets that should not be routed through the -proxy. Keep in mind that local/reserved subnets are already [excluded by balenaOS automatically](https://github.com/resin-os/meta-resin/blob/master/meta-resin-common/recipes-connectivity/resin-proxy-config/resin-proxy-config/resin-proxy-config#L48). +proxy. Keep in mind that local/reserved subnets are already [excluded by balenaOS automatically](https://github.com/balena-os/meta-balena/blob/master/meta-resin-common/recipes-connectivity/resin-proxy-config/resin-proxy-config/resin-proxy-config#L48). If either "proxy" or "hostname" are null or empty values (i.e. `{}` for proxy or an empty string for hostname), they will be cleared to their default values (i.e. not using a proxy, and a hostname equal to the first 7 characters of the device's uuid, respectively). @@ -660,7 +660,7 @@ curl -X POST \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ' \ -d '{"uuid": "", "method": "GET"}' \ - "https://api.resin.io/supervisor/v2/applications/state" + "https://api.balena-cloud.com/supervisor/v2/applications/state" ``` ### GET /v2/applications/:appId/state @@ -702,7 +702,7 @@ This will return a list of images, containers, the overall download progress and From an application container: ```bash -curl "$BALENA_SUPERVISOR_ADDRESS/v2/state/status?apikey=$RESIN_SUPERVISOR_API_KEY" +curl "$BALENA_SUPERVISOR_ADDRESS/v2/state/status?apikey=$BALENA_SUPERVISOR_API_KEY" ``` Response: