mirror of
https://github.com/unraid/api.git
synced 2026-01-14 04:29:51 -06:00
add more descriptions and update parity check name
Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
@@ -4,13 +4,13 @@ type Query {
|
||||
|
||||
type Mutation {
|
||||
"""Start parity check"""
|
||||
startPartityCheck(correct: Boolean): JSON @func(module: "array/update-parity", data: { state: "start" })
|
||||
startPartityCheck(correct: Boolean): JSON @func(module: "array/update-parity-check", data: { state: "start" })
|
||||
"""Pause parity check"""
|
||||
pausePartityCheck: JSON @func(module: "array/update-parity", data: { state: "pause" })
|
||||
pausePartityCheck: JSON @func(module: "array/update-parity-check", data: { state: "pause" })
|
||||
"""Resume parity check"""
|
||||
resumePartityCheck: JSON @func(module: "array/update-parity", data: { state: "resume" })
|
||||
resumePartityCheck: JSON @func(module: "array/update-parity-check", data: { state: "resume" })
|
||||
"""Cancel parity check"""
|
||||
cancelPartityCheck: JSON @func(module: "array/update-parity", data: { state: "cancel" })
|
||||
cancelPartityCheck: JSON @func(module: "array/update-parity-check", data: { state: "cancel" })
|
||||
}
|
||||
|
||||
type ParityCheck {
|
||||
|
||||
@@ -151,9 +151,13 @@ type Vars {
|
||||
fsNumMounted: Int
|
||||
fsNumUnmountable: Int
|
||||
fsUnmountableMask: String
|
||||
"""Total amount of user shares"""
|
||||
shareCount: Int
|
||||
"""Total amount shares with SMB enabled"""
|
||||
shareSmbCount: Int
|
||||
"""Total amount shares with NFS enabled"""
|
||||
shareNfsCount: Int
|
||||
"""Total amount shares with AFP enabled"""
|
||||
shareAfpCount: Int
|
||||
shareMoverActive: Boolean
|
||||
csrfToken: String
|
||||
|
||||
Reference in New Issue
Block a user