The documentation of getSiteEnvVars shows the full URL as https://api.netlify.com/api/v1/api/v1/sites/{site_id}/env, i.e. duplicate base path /api/v1.
I assume this is just wrong and should be fixed. (It works for me without the duplicate.)
See also:
basePath (-> /api/v1):
getSiteEnvVars (with
/api/v1):
|
/api/v1/sites/{site_id}/env: |
vs e.g.
getEnvVars (without
/api/v1):
|
/accounts/{account_id}/env: |
The documentation of getSiteEnvVars shows the full URL as
https://api.netlify.com/api/v1/api/v1/sites/{site_id}/env, i.e. duplicate base path/api/v1.I assume this is just wrong and should be fixed. (It works for me without the duplicate.)
See also:
basePath(->/api/v1):open-api/swagger.yml
Line 52 in d582bdb
getSiteEnvVars(with/api/v1):open-api/swagger.yml
Line 332 in d582bdb
vs e.g.
getEnvVars(without/api/v1):open-api/swagger.yml
Line 221 in d582bdb