mirror of
https://github.com/plankanban/planka.git
synced 2025-12-29 01:11:59 +03:00
docs: Add base path for API endpoints to Swagger
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/cards/{cardId}/comments:
|
||||
* /cards/{cardId}/comments:
|
||||
* post:
|
||||
* summary: Create comment
|
||||
* description: Creates a new comment on a card. Requires board editor permissions or comment permissions.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/comments/{id}:
|
||||
* /comments/{id}:
|
||||
* delete:
|
||||
* summary: Delete comment
|
||||
* description: Deletes a comment. Can be deleted by the comment author (with comment permissions) or project manager.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/cards/{cardId}/comments:
|
||||
* /cards/{cardId}/comments:
|
||||
* get:
|
||||
* summary: Get card comments
|
||||
* description: Retrieves comments for a card with pagination support. Requires access to the card.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/comments/{id}:
|
||||
* /comments/{id}:
|
||||
* patch:
|
||||
* summary: Update comment
|
||||
* description: Updates a comment. Only the author of the comment can update it.
|
||||
|
||||
Reference in New Issue
Block a user