- 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
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
info:
|
|
name: Reject Registration - Kobo
|
|
type: http
|
|
seq: 17
|
|
|
|
http:
|
|
method: POST
|
|
url: '{{base_url}}/api/devices/reject/reg-uuid-456'
|
|
auth: inherit
|
|
|
|
docs: |-
|
|
## Reject Kobo Registration
|
|
|
|
Rejects a pending Kobo e-reader device registration.
|
|
|
|
**Method:** POST
|
|
|
|
**Endpoint:** /api/devices/reject/:registration_id
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Path Parameters:**
|
|
- `registration_id` (string): Example: `reg-uuid-456`
|
|
|
|
**Request Body:**
|
|
Optional rejection reason:
|
|
```json
|
|
{
|
|
"reason": "Unrecognized device or user cancelled"
|
|
}
|
|
```
|
|
|
|
**Response:**
|
|
- `registration_id` (string): Rejected registration UUID
|
|
- `device_name` (string): Kobo device name
|
|
- `device_type` (string): `kobo`
|
|
- `status` (string): `rejected`
|
|
- `rejected_at` (string): Rejection timestamp
|
|
- `message` (string): User-friendly message
|
|
|
|
**Status Codes:**
|
|
- 200: Rejected successfully
|
|
- 401: Unauthorized
|
|
- 403: Forbidden
|
|
- 404: Registration not found
|
|
|
|
**Kobo Rejection Handling:**
|
|
- Kobo sync service shows rejection on device
|
|
- Device remains unregistered
|
|
- User must retry registration process
|
|
- Device serial number can be reused
|
|
|
|
**Common Reasons:**
|
|
- Unrecognized Kobo device
|
|
- User didn't initiate sync
|
|
- Wrong account selected on device
|
|
- Security precaution
|
|
- Device sold/given away (prevent old owner access)
|
|
|
|
**Kobo-Specific Notes:**
|
|
- Kobo devices display rejection in sync settings
|
|
- Device may need to be rebooted to clear pending state
|
|
- No data is removed from the device
|
|
- Re-registration requires going through Kobo's sync setup again
|