mirror of
https://github.com/plankanban/planka.git
synced 2025-12-24 01:11:41 +03:00
docs: Add base path for API endpoints to Swagger
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/notifications:
|
||||
* /notifications:
|
||||
* get:
|
||||
* summary: Get user notifications
|
||||
* description: Retrieves all unread notifications for the current user, including creator users.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/notifications/read-all:
|
||||
* /notifications/read-all:
|
||||
* post:
|
||||
* summary: Mark all notifications as read
|
||||
* description: Marks all notifications for the current user as read.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/notifications/{id}:
|
||||
* /notifications/{id}:
|
||||
* get:
|
||||
* summary: Get notification details
|
||||
* description: Retrieves notification, including creator users. Users can only access their own notifications.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/notifications/{id}:
|
||||
* /notifications/{id}:
|
||||
* patch:
|
||||
* summary: Update notification
|
||||
* description: Updates a notification. Users can only update their own notifications.
|
||||
|
||||
Reference in New Issue
Block a user