Skip to content

Commit

Permalink
chore: remove classic env var references in endpoint descriptions (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
JGAntunes authored Jul 24, 2024
1 parent 28dffeb commit 511fd7b
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,16 +242,14 @@ paths:
$ref: '#/responses/error'
description: >-
Returns all environment variables for an account or site. An
account corresponds to a team in the Netlify UI. To use this endpoint, your
site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
account corresponds to a team in the Netlify UI.
post:
tags:
- environmentVariables
operationId: createEnvVars
description: >-
Creates new environment variables. Granular scopes are available
on Pro plans and above. To use this endpoint, your site must no longer be
using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
on Pro plans and above.
parameters:
- in: body
name: env_vars
Expand Down Expand Up @@ -380,16 +378,14 @@ paths:
default:
$ref: '#/responses/error'
description: >-
Returns an individual environment variable. To use this endpoint, your site
must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
Returns an individual environment variable.
put:
tags:
- environmentVariables
operationId: updateEnvVar
description: >-
Updates an existing environment variable and all of its values.
Existing values will be replaced by values provided. To use this endpoint, your site must
no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
Existing values will be replaced by values provided.
parameters:
- name: account_id
description: Scope response to account_id
Expand Down Expand Up @@ -449,8 +445,7 @@ paths:
- environmentVariables
operationId: setEnvVarValue
description: >-
Updates or creates a new value for an existing environment variable. To use this endpoint, your site
must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
Updates or creates a new value for an existing environment variable.
parameters:
- name: account_id
description: Scope response to account_id
Expand Down Expand Up @@ -521,8 +516,7 @@ paths:
default:
$ref: '#/responses/error'
description: >-
Deletes an environment variable. To use this endpoint, your site must no
longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
Deletes an environment variable
/accounts/{account_id}/env/{key}/value/{id}:
delete:
tags:
Expand Down Expand Up @@ -557,8 +551,7 @@ paths:
default:
$ref: '#/responses/error'
description: >-
Deletes a specific environment variable value. To use this endpoint, your site
must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
Deletes a specific environment variable value.
/sites/{site_id}/functions:
get:
Expand Down

0 comments on commit 511fd7b

Please sign in to comment.