Correct API reference endpoint details/params for secrets, folders, environments, secret imports

This commit is contained in:
Tuan Dang
2023-11-08 15:58:18 +02:00
parent cae7e1808d
commit 5ee79be873
19 changed files with 1367 additions and 808 deletions

View File

@@ -1,10 +1,8 @@
---
title: "Create"
openapi: "POST /api/v3/secrets/{secretName}"
openapi: "POST /api/v3/secrets/raw/{secretName}"
---
<Tip>
Using this route requires understanding Infisical's system and cryptography.
You should consult the [examples](https://infisical.com/docs/api-reference/overview/examples/note) for how to use
this endpoint.
This endpoint requires you to disable end-to-end encryption. For more information, you should consult this [note](https://infisical.com/docs/api-reference/overview/examples/note).
</Tip>

View File

@@ -1,4 +1,8 @@
---
title: "Delete"
openapi: "DELETE /api/v3/secrets/{secretName}"
---
openapi: "DELETE /api/v3/secrets/raw/{secretName}"
---
<Tip>
This endpoint requires you to disable end-to-end encryption. For more information, you should consult this [note](https://infisical.com/docs/api-reference/overview/examples/note).
</Tip>

View File

@@ -1,11 +1,8 @@
---
title: "List"
openapi: "GET /api/v3/secrets/"
openapi: "GET /api/v3/secrets/raw"
---
<Tip>
Using this route requires understanding Infisical's system and cryptography.
You should consult the [examples](https://infisical.com/docs/api-reference/overview/examples/note) for how to use
this endpoint.
</Tip>
This endpoint requires you to disable end-to-end encryption. For more information, you should consult this [note](https://infisical.com/docs/api-reference/overview/examples/note).
</Tip>

View File

@@ -1,10 +1,8 @@
---
title: "Retrieve"
openapi: "GET /api/v3/secrets/{secretName}"
openapi: "GET /api/v3/secrets/raw/{secretName}"
---
<Tip>
Using this route requires understanding Infisical's system and cryptography.
You should consult the [examples](https://infisical.com/docs/api-reference/overview/examples/note) for how to use
this endpoint.
</Tip>
This endpoint requires you to disable end-to-end encryption. For more information, you should consult this [note](https://infisical.com/docs/api-reference/overview/examples/note).
</Tip>

View File

@@ -1,4 +0,0 @@
---
title: "Roll Back to Version"
openapi: "POST /api/v1/secret/{secretId}/secret-versions/rollback"
---

View File

@@ -1,11 +1,8 @@
---
title: "Update"
openapi: "PATCH /api/v3/secrets/{secretName}"
openapi: "PATCH /api/v3/secrets/raw/{secretName}"
---
<Tip>
Using this route requires understanding Infisical's system and cryptography.
You should consult the [examples](https://infisical.com/docs/api-reference/overview/examples/note) for how to use
this endpoint.
</Tip>
This endpoint requires you to disable end-to-end encryption. For more information, you should consult this [note](https://infisical.com/docs/api-reference/overview/examples/note).
</Tip>

View File

@@ -1,4 +0,0 @@
---
title: "Get Versions"
openapi: "GET /api/v1/secret/{secretId}/secret-versions"
---