docs: add Carousel dashboard implementation plan

This commit is contained in:
2026-02-17 17:00:46 -05:00
parent fce16b53f7
commit 96730d9475
407 changed files with 10834 additions and 10983 deletions
-57
View File
@@ -1,57 +0,0 @@
meta {
name: Get Admin Library
type: http
seq: 5
}
get {
url: {{base_url}}/admin/library
body: none
auth: inherit
}
script:post-response {
function onResponse(res) {
if (res.getStatus() !== 200) {
bru.testFailed("Expected status 200, got " + res.getStatus());
return;
}
const contentType = res.getHeader("content-type");
if (!contentType || !contentType.includes("text/html")) {
bru.testFailed("Expected content-type to contain text/html, got " + contentType);
return;
}
bru.testPassed("Admin library page returned successfully");
}
onResponse(res);
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Get Admin Library Page
Retrieves the admin library page for administrative access.
**Method:** GET
**Endpoint:** /admin/library
**Headers:**
- `Authorization` (string): Bearer token
**Response:**
- HTML content for the admin library page
**Status Codes:**
- 200: Success
- 401: Unauthorized
- 403: Forbidden
}
-46
View File
@@ -1,46 +0,0 @@
meta {
name: Get Admin Profile
type: http
seq: 4
}
get {
url: {{base_url}}/admin/profile
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Get Admin Profile
Retrieves the admin profile information for administrative access.
**Method:** GET
**Endpoint:** /admin/profile
**Authentication:** Required (Bearer token)
**Response:**
- JSON object containing admin profile details
- `id` (string): Admin user ID
- `email` (string): Admin email
- `username` (string): Admin username
- `theme` (string): Theme preference
- `first_name` (string): First name
- `last_name` (string): Last name
- `is_admin` (boolean): Admin status
- `created_at` (string): Account creation timestamp
- `updated_at` (string): Last update timestamp
**Status Codes:**
- 200: Success
- 401: Unauthorized
- 403: Forbidden (non-admin users)
- 404: Profile not found
}