info:
  name: Get Device File Aliases
  type: http
  seq: 1
http:
  method: GET
  url: '{{base_url}}/api/devices/{{device_id}}/file-aliases'
  auth: inherit
  headers:
  - key: Content-Type
    value: application/json
runtime:
  scripts:
  - type: tests
    code: "test_get_device_file_aliases_success(status, headers, body) {\n    if (status\
      \ !== 200) {\n      throw new Error(\"Expected status 200, got \" + status);"

docs: |-
  ## Get Device File Aliases
  
    Retrieves all file aliases for a specific device. File aliases are used to map device-specific file paths to media items.
  
    **Method:** GET
  
    **Endpoint:** /api/devices/:id/file-aliases
  
    **Authentication:** Required (Bearer token)
  
    **Path Parameters:**
    - `id` (string, required): Device UUID
  
    **Response:** Array of file alias objects
    - `id` (string): Alias UUID
    - `device_id` (string): Device UUID
    - `file_path` (string): Device-specific file path
    - `media_item_id` (string): Associated media item UUID
    - `created_at` (string): Creation timestamp
    - `updated_at` (string): Last update timestamp
  
    **Status Codes:**
    - 200: Success
    - 401: Unauthorized
    - 404: Device not found
    - 500: Internal server error
