Skip to content

Commit 511fd7b

Browse files
authored
chore: remove classic env var references in endpoint descriptions (#545)
1 parent 28dffeb commit 511fd7b

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

swagger.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -242,16 +242,14 @@ paths:
242242
$ref: '#/responses/error'
243243
description: >-
244244
Returns all environment variables for an account or site. An
245-
account corresponds to a team in the Netlify UI. To use this endpoint, your
246-
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.
245+
account corresponds to a team in the Netlify UI.
247246
post:
248247
tags:
249248
- environmentVariables
250249
operationId: createEnvVars
251250
description: >-
252251
Creates new environment variables. Granular scopes are available
253-
on Pro plans and above. To use this endpoint, your site must no longer be
254-
using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
252+
on Pro plans and above.
255253
parameters:
256254
- in: body
257255
name: env_vars
@@ -380,16 +378,14 @@ paths:
380378
default:
381379
$ref: '#/responses/error'
382380
description: >-
383-
Returns an individual environment variable. To use this endpoint, your site
384-
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.
381+
Returns an individual environment variable.
385382
put:
386383
tags:
387384
- environmentVariables
388385
operationId: updateEnvVar
389386
description: >-
390387
Updates an existing environment variable and all of its values.
391-
Existing values will be replaced by values provided. To use this endpoint, your site must
392-
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.
388+
Existing values will be replaced by values provided.
393389
parameters:
394390
- name: account_id
395391
description: Scope response to account_id
@@ -449,8 +445,7 @@ paths:
449445
- environmentVariables
450446
operationId: setEnvVarValue
451447
description: >-
452-
Updates or creates a new value for an existing environment variable. To use this endpoint, your site
453-
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.
448+
Updates or creates a new value for an existing environment variable.
454449
parameters:
455450
- name: account_id
456451
description: Scope response to account_id
@@ -521,8 +516,7 @@ paths:
521516
default:
522517
$ref: '#/responses/error'
523518
description: >-
524-
Deletes an environment variable. To use this endpoint, your site must no
525-
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.
519+
Deletes an environment variable
526520
/accounts/{account_id}/env/{key}/value/{id}:
527521
delete:
528522
tags:
@@ -557,8 +551,7 @@ paths:
557551
default:
558552
$ref: '#/responses/error'
559553
description: >-
560-
Deletes a specific environment variable value. To use this endpoint, your site
561-
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.
554+
Deletes a specific environment variable value.
562555
563556
/sites/{site_id}/functions:
564557
get:

0 commit comments

Comments
 (0)