feat: adjusted doc and brought back permission

This commit is contained in:
=
2025-09-15 23:51:35 +05:30
parent ffae006191
commit f0277e6f0d
69 changed files with 238 additions and 220 deletions

View File

@@ -0,0 +1,4 @@
---
title: "Create"
openapi: "POST /api/v1/workspace/{workspaceId}/environments"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete"
openapi: "DELETE /api/v1/workspace/{workspaceId}/environments/{id}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update"
openapi: "PATCH /api/v1/workspace/{workspaceId}/environments/{id}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Create"
openapi: "POST /api/v1/folders"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete"
openapi: "DELETE /api/v1/folders/{folderIdOrName}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get by ID"
openapi: "GET /api/v1/folders/{id}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List"
openapi: "GET /api/v1/folders"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update"
openapi: "PATCH /api/v1/folders/{folderId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get Projects"
openapi: "GET /api/v2/organizations/{organizationId}/workspaces"
---

View File

@@ -0,0 +1,4 @@
---
title: "Create Project Membership"
openapi: "POST /api/v2/workspace/{projectId}/groups/{groupIdOrName}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete Project Membership"
openapi: "DELETE /api/v2/workspace/{projectId}/groups/{groupId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get Project Membership"
openapi: "GET /api/v2/workspace/{projectId}/groups/{groupId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List Project Memberships"
openapi: "GET /api/v2/workspace/{projectId}/groups"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update Project Membership"
openapi: "PATCH /api/v2/workspace/{projectId}/groups/{groupId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Create Identity Membership"
openapi: "POST /api/v2/workspace/{projectId}/identity-memberships/{identityId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete Identity Membership"
openapi: "DELETE /api/v2/workspace/{projectId}/identity-memberships/{identityId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get Identity by ID"
openapi: "GET /api/v2/workspace/{projectId}/identity-memberships/{identityId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List Identity Memberships"
openapi: "GET /api/v2/workspace/{projectId}/identity-memberships"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update Identity Membership"
openapi: "PATCH /api/v2/workspace/{projectId}/identity-memberships/{identityId}"
---

View File

@@ -0,0 +1,10 @@
---
title: "Create"
openapi: "POST /api/v2/workspace/{projectId}/roles"
---
<Note>
You can read more about the permissions field in the [permissions
documentation](/internals/permissions).
</Note>

View File

@@ -0,0 +1,4 @@
---
title: "Delete"
openapi: "DELETE /api/v2/workspace/{projectId}/roles/{roleId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get By Slug"
openapi: "GET /api/v2/workspace/{projectId}/roles/slug/{roleSlug}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List"
openapi: "GET /api/v2/workspace/{projectId}/roles"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update"
openapi: "PATCH /api/v2/workspace/{projectId}/roles/{roleId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete User Membership"
openapi: "DELETE /api/v1/workspace/{workspaceId}/memberships/{membershipId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get By Username"
openapi: "POST /api/v1/workspace/{workspaceId}/memberships/details"
---

View File

@@ -0,0 +1,4 @@
---
title: "Invite Member"
openapi: "POST /api/v2/workspace/{projectId}/memberships"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get User Memberships"
openapi: "GET /api/v1/workspace/{workspaceId}/memberships"
---

View File

@@ -0,0 +1,4 @@
---
title: "Remove Member"
openapi: "DELETE /api/v2/workspace/{projectId}/memberships"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update User Membership"
openapi: "PATCH /api/v1/workspace/{workspaceId}/memberships/{membershipId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Create Project"
openapi: "POST /api/v2/workspace"
---

View File

@@ -0,0 +1,8 @@
---
title: "Delete Project"
openapi: "DELETE /api/v1/workspace/{workspaceId}"
---
<Warning>
This operation is irreversible. All data associated with the project will be deleted. Please use with caution.
</Warning>

View File

@@ -0,0 +1,4 @@
---
title: "Get Project By Slug"
openapi: "GET /api/v2/workspace/{slug}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get Project"
openapi: "GET /api/v1/workspace/{workspaceId}"
---

View File

@@ -0,0 +1,9 @@
---
title: "Get Key"
openapi: "GET /api/v2/workspace/{workspaceId}/encrypted-key"
---
<Warning>
This endpoint will be deprecated in the near future in Q1/Q2 2024.
We recommend using Infisical in non-E2EE mode going forward.
</Warning>

View File

@@ -0,0 +1,4 @@
---
title: "Update Project"
openapi: "PATCH /api/v1/workspace/{workspaceId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Roll Back to Snapshot"
openapi: "POST /api/v1/secret-snapshot/{secretSnapshotId}/rollback"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get Snapshots"
openapi: "GET /api/v1/workspace/{workspaceId}/secret-snapshots"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update Project"
openapi: "PATCH /api/v1/workspace/{workspaceId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Create"
openapi: "POST /api/v1/secret-imports"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete"
openapi: "DELETE /api/v1/secret-imports/{secretImportId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List"
openapi: "GET /api/v1/secret-imports"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update"
openapi: "PATCH /api/v1/secret-imports/{secretImportId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Create"
openapi: "POST /api/v1/workspace/{projectId}/tags"
---

View File

@@ -0,0 +1,4 @@
---
title: "Delete"
openapi: "DELETE /api/v1/workspace/{projectId}/tags/{tagId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get By ID"
openapi: "GET /api/v1/workspace/{projectId}/tags/{tagId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Get By Slug"
openapi: "GET /api/v1/workspace/{projectId}/tags/slug/{tagSlug}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List"
openapi: "GET /api/v1/workspace/{projectId}/tags"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update"
openapi: "PATCH /api/v1/workspace/{projectId}/tags/{tagId}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Attach tags"
openapi: "POST /api/v3/secrets/tags/{secretName}"
---

View File

@@ -0,0 +1,5 @@
---
title: "Bulk Create"
openapi: "POST /api/v3/secrets/batch/raw"
---

View File

@@ -0,0 +1,5 @@
---
title: "Create"
openapi: "POST /api/v3/secrets/raw/{secretName}"
---

View File

@@ -0,0 +1,5 @@
---
title: "Bulk Delete"
openapi: "DELETE /api/v3/secrets/batch/raw"
---

View File

@@ -0,0 +1,5 @@
---
title: "Delete"
openapi: "DELETE /api/v3/secrets/raw/{secretName}"
---

View File

@@ -0,0 +1,4 @@
---
title: "Detach tags"
openapi: "DELETE /api/v3/secrets/tags/{secretName}"
---

View File

@@ -0,0 +1,4 @@
---
title: "List"
openapi: "GET /api/v3/secrets/raw"
---

View File

@@ -0,0 +1,5 @@
---
title: "Retrieve"
openapi: "GET /api/v3/secrets/raw/{secretName}"
---

View File

@@ -0,0 +1,5 @@
---
title: "Bulk Update"
openapi: "PATCH /api/v3/secrets/batch/raw"
---

View File

@@ -0,0 +1,4 @@
---
title: "Update"
openapi: "PATCH /api/v3/secrets/raw/{secretName}"
---