Files
bookhoard/bruno/devices/List Pending Registrations.bru
T
john-okeefe 4d87beb540 test: add Bruno API collections for sync features
- Add device registration and management API tests
- Add conflicts resolution API tests
- Add queue management API tests
- Add KOReader sync protocol tests
- Add Kobo sync protocol tests
2026-01-31 18:25:32 -05:00

48 lines
770 B
Plaintext

meta {
name: List Pending Device Registrations
type: http
seq: 5
}
get {
url: {{base_url}}/api/devices/pending
body: none
auth: bearer
}
headers: {
Authorization: Bearer {{token}}
}
docs {
## List Pending Device Registrations
Retrieves all pending device registration requests awaiting approval.
**Method:** GET
**Endpoint:** /api/devices/pending
**Authentication:** Bearer token
**Response:**
- Array of pending device registrations
**Status Codes:**
- 200: Success
- 401: Unauthorized
**Example Response:**
```json
[
{
"id": "uuid",
"device_name": "My Kobo",
"device_type": "kobo",
"user_id": "uuid",
"created_at": "2024-01-01T00:00:00Z"
}
]
```
}