docs: add Carousel dashboard implementation plan
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
meta {
|
||||
name: Get System Scan Settings
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/api/libraries/scan-settings
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
res.status.should.equal(200);
|
||||
res.body.type.should.equal("application/json");
|
||||
res.body.data.should.have.property('scan_frequency_minutes');
|
||||
res.body.data.should.have.property('auto_scan_enabled');
|
||||
}
|
||||
|
||||
docs {
|
||||
## Get System Scan Settings
|
||||
|
||||
Retrieves current system-wide scan settings for all libraries.
|
||||
|
||||
**Authentication**: Admin token required
|
||||
**Response**: Current scan frequency and auto-scan status
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
meta {
|
||||
name: Update System Scan Settings
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{base_url}}/api/libraries/scan-settings
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
body:json {
|
||||
"scan_frequency_minutes": 30,
|
||||
"auto_scan_enabled": true
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
res.status.should.equal(200);
|
||||
res.body.type.should.equal("application/json");
|
||||
res.body.should.have.property('message');
|
||||
}
|
||||
|
||||
docs {
|
||||
## Update System Scan Settings
|
||||
|
||||
Updates system-wide scan settings that apply to all libraries.
|
||||
|
||||
**Authentication**: Admin token required
|
||||
**Request**: Scan frequency (15-1440 minutes) and enabled status
|
||||
**Response**: Success message
|
||||
}
|
||||
Reference in New Issue
Block a user