Files
bookhoard/bruno/devices/scenarios/Get Device.yml
T
john-okeefe f859b2714d refactor(bruno): reorganize file structure from bruno-yaml to flat bruno directory
- Move all files from bruno-yaml/* to bruno/*
- Maintains existing directory structure within categories
- Updates bruno/user/auth files with OAuth2 refresh token flow
- Updates bruno/user/profile files for user profile management
- Adds bruno/dashboard/ directory with dashboard API tests
- Preserves all existing test scenarios and OpenCollection YAML format
- No functional changes - file reorganization only
2026-02-17 20:22:21 -05:00

46 lines
1.2 KiB
YAML

info:
name: Get Device Details
type: http
seq: 6
http:
method: GET
url: '{{base_url}}/api/devices/{{device_id}}'
auth: inherit
docs: |-
## Get Device Details
Retrieves detailed information about a specific device.
**Method:** GET
**Endpoint:** /api/devices/:device_id
**Authentication:** Required (Bearer token)
**Path Parameters:**
- `device_id` (string): UUID of the device
**Response:**
- `id` (string): Device UUID
- `device_name` (string): Device name
- `device_type` (string): `kobo`, `koreader`, or `web`
- `device_identifier` (string): Unique identifier
- `sync_enabled` (boolean): Sync status
- `auto_sync` (boolean): Auto-sync setting
- `sync_frequency_minutes` (integer): Sync interval
- `last_synced_at` (string): Last sync timestamp
- `sync_stats` (object): Sync statistics
- `total_syncs` (integer): Number of successful syncs
- `last_sync_status` (string): Status of last sync
- `bytes_synced` (integer): Total data transferred
- `created_at` (string): Registration timestamp
- `updated_at` (string): Last update timestamp
**Status Codes:**
- 200: Success
- 401: Unauthorized
- 403: Forbidden (device belongs to different user)
- 404: Device not found