mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 22:03:44 +00:00
Split node enrollment from export sync and issue Finder-compatible DAV credentials so the stack proves the real backend seam before any web UI consumes it.
21 lines
467 B
JSON
21 lines
467 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://betternas.local/schemas/mount-credential.schema.json",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["mode", "username", "password", "expiresAt"],
|
|
"properties": {
|
|
"mode": {
|
|
"const": "basic-auth"
|
|
},
|
|
"username": {
|
|
"type": "string"
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
},
|
|
"expiresAt": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|