mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 05:02:07 +00:00
Fix install script: strip v prefix from version for archive name
This commit is contained in:
parent
8002158a45
commit
1d564b738d
16 changed files with 552 additions and 26 deletions
|
|
@ -18,6 +18,22 @@ paths:
|
|||
responses:
|
||||
"200":
|
||||
description: Control-plane version
|
||||
/api/v1/nodes:
|
||||
get:
|
||||
operationId: listNodes
|
||||
security:
|
||||
- UserSession: []
|
||||
responses:
|
||||
"200":
|
||||
description: Node list
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/NasNode"
|
||||
"401":
|
||||
description: Unauthorized
|
||||
/api/v1/nodes/register:
|
||||
post:
|
||||
operationId: registerNode
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
export const FOUNDATION_API_ROUTES = {
|
||||
listNodes: "/api/v1/nodes",
|
||||
registerNode: "/api/v1/nodes/register",
|
||||
nodeHeartbeat: "/api/v1/nodes/:nodeId/heartbeat",
|
||||
nodeExports: "/api/v1/nodes/:nodeId/exports",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue