mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-24 02:49:57 +01:00
feat(api): report login methods and add GET /capabilities
This commit is contained in:
parent
294c1a9a6a
commit
28d023449d
17 changed files with 458 additions and 79 deletions
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 1.0.0
|
||||
description: |
|
||||
Navidrome API v1. Spec-first, additive within v1. Clients discover implemented
|
||||
capability modules through `GET /server` and never sniff versions.
|
||||
capability modules through `GET /capabilities` and never sniff versions.
|
||||
|
||||
Enums are open: new values may be added to any enum within v1. Clients must
|
||||
accept values they do not recognise instead of failing.
|
||||
|
|
@ -32,6 +32,8 @@ tags:
|
|||
paths:
|
||||
/server:
|
||||
$ref: ./paths/server.yaml
|
||||
/capabilities:
|
||||
$ref: ./paths/capabilities.yaml
|
||||
/openapi.json:
|
||||
$ref: ./paths/openapi.yaml#/json
|
||||
/openapi.yaml:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue