- 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
42 lines
827 B
YAML
42 lines
827 B
YAML
info:
|
|
name: Get Device Queue Stats
|
|
type: http
|
|
seq: 2
|
|
http:
|
|
method: GET
|
|
url: '{{base_url}}/api/queue/devices/{{device_id}}/stats'
|
|
auth: inherit
|
|
body:
|
|
type: none
|
|
|
|
docs: |-
|
|
## Get Device Queue Stats
|
|
|
|
Retrieves statistics for a specific device's sync queue.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/queue/devices/:device_id/stats
|
|
|
|
**Authentication:** Bearer token
|
|
|
|
**Path Parameters:**
|
|
- `device_id` (string): Device UUID
|
|
|
|
**Response:**
|
|
- Queue statistics including pending, completed, and failed counts
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 404: Device not found
|
|
|
|
**Example Response:**
|
|
```json
|
|
{
|
|
"device_id": "uuid",
|
|
"total_items": 10,
|
|
"pending": 3,
|
|
"completed": 5,
|
|
"failed": 2
|