meta: name: Browse library folders type: http seq: 1 config: test: filter: "response.status == 200" assertions: - type: stddev target: response_time threshold: 1000 - type: jsonpath expression: response.directories condition: exists - type: jsonpath expression: response.current_path condition: exists - type: jsonpath expression: response.parent_path condition: exists req: method: GET url: "{{base_url}}/api/libraries/browse?path=/tmp" headers: Authorization: "Bearer {{ADMIN_TOKEN}}" docs: |- ## Browse Library Folders Navigates through the filesystem to browse folders for library configuration. **Method:** GET **Endpoint:** /api/libraries/browse **Authentication:** Required (Bearer token, Admin only) **Query Parameters:** - `path` (string, required): Filesystem path to browse **Response:** - `current_path` (string): Current browsing path - `parent_path` (string): Parent directory path - `directories` (array): List of subdirectories - `files` (array): List of files (optional) **Status Codes:** - 200: Success - 400: Invalid path - 401: Unauthorized - 403: Forbidden (admin access required) - 404: Path not found