Files
bookhoard/bruno/devices/List Pending Registrations.bru
T
john-okeefe 3117ce54ec refactor(bruno): migrate API tests to Bruno DSL format
- Convert all existing .bru files from JSON to Bruno DSL format
- Remove obsolete files (conflicts/api.bru, kobo/Kobo Initialization.bru)
- Update auth configuration to use 'inherit' instead of explicit bearer tokens
- Add comprehensive documentation to all test files
- Improve test scripts with proper assertions and error handling
2026-02-08 20:49:06 -05:00

44 lines
709 B
Plaintext

meta {
name: List Pending Device Registrations
type: http
seq: 5
}
get {
url: {{base_url}}/api/devices/pending
body: none
auth: inherit
}
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"
}
]
```
}