mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 11:51:36 +00:00
Added /api/me endpoint
This commit is contained in:
parent
9b3cb4ed33
commit
b0d85a8dd9
3 changed files with 16 additions and 1 deletions
|
|
@ -1,2 +1,15 @@
|
|||
paths:
|
||||
|
||||
/api/me:
|
||||
get:
|
||||
operationId: getMe
|
||||
summary: Get the current user.
|
||||
description: Get the current user.
|
||||
tags:
|
||||
- Me
|
||||
responses:
|
||||
'200':
|
||||
description: Success
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '../objects/entities/User.yaml#/components/schemas/user'
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -85,6 +85,8 @@ paths:
|
|||
$ref: './controllers/LibraryItemController.yaml#/paths/~1api~1items~1{id}'
|
||||
/api/items/{id}/play/{episodeId}:
|
||||
$ref: './controllers/LibraryItemController.yaml#/paths/~1api~1items~1{id}~1play~1{episodeId}'
|
||||
/api/me:
|
||||
$ref: './controllers/MeController.yaml#/paths/~1api~1me'
|
||||
tags:
|
||||
- name: Authors
|
||||
description: Author endpoints
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue