Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

docs: add example for base user list

Raju Udava7cb84cbb03aa
diff --git a/packages/nocodb/src/schema/swagger-v3.json b/packages/nocodb/src/schema/swagger-v3.json
index 6a6feec332..d3d8585ab7 100644
--- a/packages/nocodb/src/schema/swagger-v3.json
+++ b/packages/nocodb/src/schema/swagger-v3.json
@@ -2177,10 +2177,85 @@
}
}
},
+ "/api/v3/meta/bases/{baseId}?include[]=members": {
+ "get": {
+ "summary": "List base members",
+ "description": "Retrieve all details of a specific base, including its members.",
+ "operationId": "base-users-list",
+ "tags": [
+ "Base Users"
+ ],
+ "parameters": [
+ {
+ "name": "baseId",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "Unique identifier of the base."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Base meta with members & their access information was retrieved.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Base"
+ },
+ "examples": {
+ "Example 1": {
+ "value": {
+ "id": "p7nwavd2gcdkzvd",
+ "title": "Getting Started",
+ "meta": {
+ "icon_color": "#36BFFF"
+ },
+ "created_at": "2024-12-28 09:52:29+00:00",
+ "updated_at": "2024-12-28 09:52:30+00:00",
+ "workspace_id": "w6dw3fo0",
+ "individual_members": {
+ "base_members": [
+ {
+ "email": "[email protected]",
+ "user_id": "usobpjptvj3m5nu3",
+ "created_at": "2025-08-12 11:17:47+00:00",
+ "updated_at": "2025-08-12 11:17:47+00:00",
+ "base_role": "owner",
+ "workspace_role": "workspace-level-owner"
+ }
+ ],
+ "workspace_members": [
+ {
+ "user_id": "ussbqtx9b2qjejht",
+ "created_at": "2025-08-12 11:18:27+00:00",
+ "updated_at": "2025-08-12 11:18:27+00:00",
+ "email": "[email protected]",
+ "display_name": "",
+ "workspace_role": "workspace-level-editor"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Base not found."
+ },
+ "500": {
+ "description": "Server error."
+ }
+ }
+ },
+ },
"/api/v3/meta/bases/{base_id}/members": {
"post": {
"summary": "Invite users to a base",
- "description": "Invite new users to a specific base using their email address.",
+ "description": "Invite new users to a specific base using their User ID or Email address.",
"operationId": "base-users-invite",
"parameters": [
{
@@ -4557,7 +4632,7 @@
],
"oneOf": [
{
- "title": "Update member using user ID",
+ "title": "Update Member with ID",
"required": [
"user_id"
]
@@ -4579,7 +4654,7 @@
},
"oneOf": [
{
- "title": "Update User using ID",
+ "title": "Delete Member with ID",
"required": [
"user_id"
]