docs: Add base path for API endpoints to Swagger

This commit is contained in:
Maksim Eltyshev
2025-09-08 18:25:26 +02:00
parent 68549d0da8
commit 5636cf27c0
99 changed files with 104 additions and 98 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/lists/{listId}/cards:
* /lists/{listId}/cards:
* post:
* summary: Create card
* description: Creates a card within a list. Requires board editor permissions.
+1 -1
View File
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/cards/{id}:
* /cards/{id}:
* delete:
* summary: Delete card
* description: Deletes a card and all its contents (tasks, attachments, etc.). Requires board editor permissions.
+1 -1
View File
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/cards/{id}/duplicate:
* /cards/{id}/duplicate:
* post:
* summary: Duplicate card
* description: Creates a duplicate of a card with all its contents (tasks, attachments, etc.). Requires board editor permissions.
+1 -1
View File
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/lists/{listId}/cards:
* /lists/{listId}/cards:
* get:
* summary: Get cards in list
* description: Retrieves cards from an endless list with filtering, search, and pagination support.
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/cards/{id}/read-notifications:
* /cards/{id}/read-notifications:
* post:
* summary: Mark card notifications as read
* description: Marks all notifications for a specific card as read for the current user. Requires access to the card.
+1 -1
View File
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/cards/{id}:
* /cards/{id}:
* get:
* summary: Get card details
* description: Retrieves comprehensive card information, including tasks, attachments, and other related data.
+1 -1
View File
@@ -5,7 +5,7 @@
/**
* @swagger
* /api/cards/{id}:
* /cards/{id}:
* patch:
* summary: Update card
* description: Updates a card. Board editors can update all fields, viewers can only subscribe/unsubscribe.