feat: watchlist (premium), mobile bottom nav
Build & Push Docker Image / build (push) Successful in 2m35s
Build & Push Docker Image / build (push) Successful in 2m35s
This commit is contained in:
@@ -656,6 +656,33 @@ paths:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorResponse"
|
||||
|
||||
/auth/me/watchlist:
|
||||
get:
|
||||
operationId: getMeWatchlist
|
||||
tags: [auth]
|
||||
summary: Get current user's watchlist tools (premium)
|
||||
responses:
|
||||
"200":
|
||||
description: Watchlist tools in saved order
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/ToolWithStats"
|
||||
"401":
|
||||
description: Not authenticated
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorResponse"
|
||||
"403":
|
||||
description: Premium feature required
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorResponse"
|
||||
|
||||
/users:
|
||||
get:
|
||||
operationId: listUsers
|
||||
@@ -1193,6 +1220,10 @@ components:
|
||||
density:
|
||||
type: string
|
||||
enum: [cozy, compact]
|
||||
watchlist:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
|
||||
ErrorResponse:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user