Skip to content

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

re-add paths

Fendy Heryantofb5922a166dc
diff --git a/packages/nocodb/src/schema/swagger-v3.json b/packages/nocodb/src/schema/swagger-v3.json
index 7423ad701a..1b82c32ff3 100644
--- a/packages/nocodb/src/schema/swagger-v3.json
+++ b/packages/nocodb/src/schema/swagger-v3.json
@@ -5603,6 +5603,166 @@
}
}
},
+ "/api/v3/meta/tokens": {
+ "get": {
+ "summary": "List API tokens",
+ "description": "Retrieve a list of all API tokens for the organization.\n\n**Note**: \nAPI Token APIs are available only with self-hosted **Enterprise** plans and cloud-hosted **Enterprise** plans.\n> **Beta**: These APIs are currently in beta and subject to change in future releases.",
+ "tags": [
+ "API Tokens"
+ ],
+ "security": [
+ {
+ "xc-token": []
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of API tokens",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "list": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ApiTokenV3"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "401": {
+ "$ref": "#/components/responses/UnauthorizedV3"
+ },
+ "403": {
+ "$ref": "#/components/responses/ForbiddenV3"
+ },
+ "500": {
+ "$ref": "#/components/responses/InternalServerErrorV3"
+ }
+ }
+ },
+ "post": {
+ "summary": "Create API token",
+ "description": "Create a new API token for the organization.\n\n**Note**: API Token APIs are available only with self-hosted **Enterprise** plans and cloud-hosted **Enterprise** plans.\n> **Beta**: These APIs are currently in beta and subject to change in future releases.",
+ "tags": [
+ "API Tokens"
+ ],
+ "security": [
+ {
+ "xc-token": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "required": [
+ "title"
+ ],
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "Title / description for the API token",
+ "example": "Github Integration"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Created API token",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ApiTokenWithTokenV3"
+ },
+ "examples": {
+ "created": {
+ "value": {
+ "id": 5,
+ "title": "Github Integration",
+ "token": "wxAFzFO2wwOf9ozVRjragBJ7KPWMaW2OGpklGqHh",
+ "created_at": "2025-12-30 15:17:24+00:00",
+ "updated_at": "2025-12-30 15:17:24+00:00"
+ }
+ }
+ }
+ }
+ }
+ },
+ "400": {
+ "$ref": "#/components/responses/BadRequestV3"
+ },
+ "401": {
+ "$ref": "#/components/responses/UnauthorizedV3"
+ },
+ "403": {
+ "$ref": "#/components/responses/ForbiddenV3"
+ },
+ "500": {
+ "$ref": "#/components/responses/InternalServerErrorV3"
+ }
+ }
+ }
+ },
+ "/api/v3/meta/tokens/{tokenId}": {
+ "delete": {
+ "summary": "Delete API token",
+ "description": "Delete an API token by its ID.\n\n**Note**: API Token APIs are available only with self-hosted **Enterprise** plans and cloud-hosted **Enterprise** plans.\n> **Beta**: These APIs are currently in beta and subject to change in future releases.",
+ "tags": [
+ "API Tokens"
+ ],
+ "security": [
+ {
+ "xc-token": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "tokenId",
+ "in": "path",
+ "required": true,
+ "description": "ID of the API token to delete",
+ "schema": {
+ "type": "string",
+ "example": "5"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Deleted API token",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ApiTokenV3"
+ }
+ }
+ }
+ },
+ "401": {
+ "$ref": "#/components/responses/UnauthorizedV3"
+ },
+ "403": {
+ "$ref": "#/components/responses/ForbiddenV3"
+ },
+ "404": {
+ "$ref": "#/components/responses/NotFoundV3"
+ },
+ "500": {
+ "$ref": "#/components/responses/InternalServerErrorV3"
+ }
+ }
+ }
+ },
"components": {
"schemas": {
"Base": {