- 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
61 lines
1.7 KiB
YAML
61 lines
1.7 KiB
YAML
info:
|
|
name: Approve Registration - Kobo
|
|
type: http
|
|
seq: 14
|
|
|
|
http:
|
|
method: GET
|
|
url: '{{base_url}}/api/devices/approve/reg-uuid-456'
|
|
auth: inherit
|
|
|
|
docs: |-
|
|
## Approve Kobo Device Registration
|
|
|
|
Approves a pending Kobo e-reader device registration.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/devices/approve/:registration_id
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Path Parameters:**
|
|
- `registration_id` (string): Example: `reg-uuid-456`
|
|
|
|
**Response:**
|
|
- `registration_id` (string): Approved registration UUID
|
|
- `device_id` (string): Generated device UUID
|
|
- `device_name` (string): Kobo device name
|
|
- `device_type` (string): `kobo`
|
|
- `status` (string): `approved`
|
|
- `access_token` (string): Device access token
|
|
- `sync_endpoints` (object):
|
|
- `bookmark_sync` (string): Bookmark sync URL
|
|
- `markup_sync` (string): Markup/highlight sync URL
|
|
- `metadata_sync` (string): Metadata sync URL
|
|
- `kobo_features` (object):
|
|
- `supports_shelves` (boolean): Kobo shelf support
|
|
- `supports_dictionary` (boolean): Dictionary annotation support
|
|
- `supports_statistics` (boolean): Reading statistics support
|
|
|
|
**Status Codes:**
|
|
- 200: Approved successfully
|
|
- 401: Unauthorized
|
|
- 403: Forbidden
|
|
- 404: Registration not found
|
|
|
|
**Kobo-Specific Features:**
|
|
- Native Kobo sync protocol support
|
|
- Shelves/collections sync
|
|
- Reading statistics sync
|
|
- Dictionary lookups with annotations
|
|
- Book metadata sync
|
|
- Pocket articles integration
|
|
|
|
**After Approval:**
|
|
- Kobo device can use native sync feature
|
|
- Device appears in Nickel (Kobo UI)
|
|
- Sync runs automatically when connected
|
|
- Shelves sync with collections
|
|
- Reading progress syncs across devices
|