π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: swagger file
Raju Udavae0969a038bf9
diff --git a/packages/nocodb/src/schema/swagger-v3.json b/packages/nocodb/src/schema/swagger-v3.jsonindex 8cecad7067..0bd61077c4 100644--- a/packages/nocodb/src/schema/swagger-v3.json+++ b/packages/nocodb/src/schema/swagger-v3.json@@ -8,19 +8,29 @@"version": "","description": "NocoDB API Documentation"},- "servers": [+ "x-tagGroups": [{- "url": "https://app.nocodb.com"+ "name": "Meta APIs",+ "tags": [+ "Bases",+ "Tables",+ "Views",+ "Fields",+ "View Filters",+ "View Sorts"+ ]+ },+ {+ "name": "Collaboration APIs",+ "tags": [+ "Workspace Members",+ "Base Members"+ ]}],- "tags": [- {- "name": "Bases",- "description": "Operations related to bases"- },+ "servers": [{- "name": "Workspace Members",- "description": "Operations related to workspace members"+ "url": "https://app.nocodb.com"}],"paths": {@@ -175,7 +185,7 @@},"/api/v3/meta/workspaces/{workspaceId}?include[]=members": {"get": {- "summary": "Get workspace metadata",+ "summary": "List workspace members","operationId": "workspace-members-read","description": "Retrieves metadata for a specified workspace, with an option to include its members.\n\nNotes:\n- To include member details, use the query parameter `include[]=members`.\n- Workspace collaboration APIs are available only with self-hosted Enterprise plans and cloud-hosted Business+ plans.","tags": [@@ -2485,9 +2495,9 @@"get": {"summary": "List base members","description": "Retrieve all details of a specific base, including its members.\n\nNotes: Base collaboration APIs are available only with self-hosted Enterprise plans and cloud-hosted Business+ plans.",- "operationId": "base-users-list",+ "operationId": "base-members-list","tags": [- "Base Users"+ "Base Members"],"parameters": [{@@ -2506,7 +2516,14 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/Base"+ "oneOf": [+ {+ "$ref": "#/components/schemas/Base"+ },+ {+ "$ref": "#/components/schemas/BaseWithMembers"+ }+ ]},"examples": {"Example 1": {@@ -2558,9 +2575,9 @@},"/api/v3/meta/bases/{base_id}/members": {"post": {- "summary": "Invite users to a base",- "description": "Invite new users to a specific base using their User ID or Email address.\n\nNotes: Base collaboration APIs are available only with self-hosted Enterprise plans and cloud-hosted Business+ plans.",- "operationId": "base-users-invite",+ "summary": "Invite base members",+ "description": "Invite new members to a specific base using their User ID or Email address.\n\nNotes: Base collaboration APIs are available only with self-hosted Enterprise plans and cloud-hosted Business+ plans.",+ "operationId": "base-members-invite","parameters": [{"name": "base_id",@@ -2573,7 +2590,7 @@}],"tags": [- "Base Users"+ "Base Members"],"requestBody": {"required": true,@@ -2612,9 +2629,9 @@}},"patch": {- "summary": "Update users in a base",- "description": "Update roles for existing users in a base.\n\nNotes: Base collaboration APIs are available only with self-hosted Enterprise plans and cloud-hosted Business+ plans.",- "operationId": "base-users-update",+ "summary": "Update base members",+ "description": "Update roles for existing members in a base.\n\nNotes: Base collaboration APIs are available only with self-hosted Enterprise plans and cloud-hosted Business+ plans.",+ "operationId": "base-members-update","parameters": [{"name": "base_id",@@ -2627,7 +2644,7 @@}],"tags": [- "Base Users"+ "Base Members"],"requestBody": {"required": true,@@ -2666,9 +2683,9 @@}},"delete": {- "summary": "Delete users from a base",- "description": "Remove users from a specific base using their IDs.\n\nNotes: Base collaboration APIs are available only with self-hosted Enterprise plans and cloud-hosted Business+ plans.",- "operationId": "base-users-delete",+ "summary": "Delete base members",+ "description": "Remove members from a specific base using their IDs.\n\nNotes: Base collaboration APIs are available only with self-hosted Enterprise plans and cloud-hosted Business+ plans.",+ "operationId": "base-members-delete","parameters": [{"name": "base_id",@@ -2681,7 +2698,7 @@}],"tags": [- "Base Users"+ "Base Members"],"requestBody": {"required": true,@@ -4022,6 +4039,85 @@"components": {"schemas": {"Base": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "description": "Unique identifier for the base."+ },+ "title": {+ "type": "string",+ "description": "Title of the base."+ },+ "meta": {+ "$ref": "#/components/schemas/BaseMetaRes"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "description": "Timestamp of when the base was created."+ },+ "updated_at": {+ "type": "string",+ "format": "date-time",+ "description": "Timestamp of when the base was last updated."+ },+ "workspace_id": {+ "type": "string",+ "description": "Unique identifier for the workspace to which this base belongs to."+ },+ "sources": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "id": {+ "type": "string",+ "description": "Unique identifier for the data source."+ },+ "title": {+ "type": "string",+ "description": "Title of the data source."+ },+ "type": {+ "type": "string",+ "description": "Type of the data source (e.g., pg, mysql)."+ },+ "is_schema_readonly": {+ "type": "boolean",+ "description": "Indicates if the schema in this data source is read-only."+ },+ "is_data_readonly": {+ "type": "boolean",+ "description": "Indicates if the data (records) in this data source is read-only."+ },+ "integration_id": {+ "type": "string",+ "description": "Integration ID for the data source."+ }+ },+ "required": [+ "id",+ "title",+ "type",+ "is_schema_readonly",+ "is_data_readonly",+ "integration_id"+ ]+ },+ "description": "List of data sources associated with this base. This information will be included only if one or more external data sources are associated with the base."+ }+ },+ "required": [+ "id",+ "title",+ "meta",+ "created_at",+ "updated_at",+ "workspace_id"+ ]+ },+ "BaseWithMembers": {"type": "object","properties": {"id": {@@ -7285,12 +7381,12 @@"properties": {"user_id": {"type": "string",- "description": "Unique identifier for the user (optional if email is provided)"+ "description": "Unique identifier for the user (skip if email is provided)"},"email": {"type": "string","format": "email",- "description": "Email address of the user (optional if user_id is provided)"+ "description": "Email address of the user (skip if user_id is provided)"},"workspace_role": {"$ref": "#/components/schemas/WorkspaceRoles",