Skip to content

Duplicate base path /api/v1 for getSiteEnvVars #579

@mi-laf

Description

@mi-laf

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):

basePath: /api/v1

getSiteEnvVars (with /api/v1):
/api/v1/sites/{site_id}/env:

vs e.g. getEnvVars (without /api/v1):
/accounts/{account_id}/env:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions