refactor(bruno): reorganize file structure from bruno-yaml to flat bruno directory

- 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
This commit is contained in:
2026-02-17 20:22:21 -05:00
parent 96730d9475
commit f859b2714d
221 changed files with 0 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
info:
name: Create Media Note
type: http
seq: 2
http:
method: POST
url: '{{base_url}}/api/media-items/{{media_item_id}}/notes'
auth: inherit
body:
type: json
jsonBody: "{\n \"content\": \"This is a test note about this media item.\"\
,\n \"position\": \"page:45\""
docs: |-
## Create Media Note
Creates a new note for a specific media item.
**Method:** POST
**Endpoint:** /api/media-items/:id/notes
**Path Parameters:**
- `id` (string): Media item ID
**Request Body:**
- `content` (string): Note content (required, 1-10000 chars)
- `position` (string): Optional position reference (max 100 chars)
**Response:**
- Note object with all fields including generated ID and timestamps
**Status Codes:**
- 201: Created
- 400: Invalid request
- 401: Unauthorized
- 404: Media item not found
+31
View File
@@ -0,0 +1,31 @@
info:
name: Delete Media Note
type: http
seq: 5
http:
method: DELETE
url: '{{base_url}}/api/media-items/{{media_item_id}}/notes/{{note_id}}'
auth: inherit
body:
type: none
docs: |-
## Delete Media Note
Deletes a specific note.
**Method:** DELETE
**Endpoint:** /api/media-items/:id/notes/:noteId
**Path Parameters:**
- `id` (string): Media item ID
- `noteId` (string): Note ID
**Response:**
- 204 No Content on success
**Status Codes:**
- 204: Success
- 401: Unauthorized
- 404: Note not found
+37
View File
@@ -0,0 +1,37 @@
info:
name: Get Media Notes
type: http
seq: 1
http:
method: GET
url: '{{base_url}}/api/media-items/{{media_item_id}}/notes'
auth: inherit
body:
type: none
docs: |-
## Get Media Notes
Retrieves all notes for a specific media item for the authenticated user.
**Method:** GET
**Endpoint:** /api/media-items/:id/notes
**Path Parameters:**
- `id` (string): Media item ID
**Response:**
- Array of note objects with fields:
- `id` (string): Note ID
- `media_item_id` (string): Media item ID
- `user_id` (string): User ID
- `content` (string): Note content
- `position` (string): Optional position reference
- `created_at` (string): Creation timestamp
- `updated_at` (string): Last update timestamp
**Status Codes:**
- 200: Success
- 401: Unauthorized
- 404: Media item not found
+31
View File
@@ -0,0 +1,31 @@
info:
name: Get Single Media Note
type: http
seq: 3
http:
method: GET
url: '{{base_url}}/api/media-items/{{media_item_id}}/notes/{{note_id}}'
auth: inherit
body:
type: none
docs: |-
## Get Single Media Note
Retrieves a specific note by ID.
**Method:** GET
**Endpoint:** /api/media-items/:id/notes/:noteId
**Path Parameters:**
- `id` (string): Media item ID
- `noteId` (string): Note ID
**Response:**
- Note object with all fields
**Status Codes:**
- 200: Success
- 401: Unauthorized
- 404: Note not found
+38
View File
@@ -0,0 +1,38 @@
info:
name: Update Media Note
type: http
seq: 4
http:
method: PUT
url: '{{base_url}}/api/media-items/{{media_item_id}}/notes/{{note_id}}'
auth: inherit
body:
type: json
jsonBody: "{\n \"content\": \"This is the updated note content.\",\n \"\
position\": \"page:47\""
docs: |-
## Update Media Note
Updates an existing note.
**Method:** PUT
**Endpoint:** /api/media-items/:id/notes/:noteId
**Path Parameters:**
- `id` (string): Media item ID
- `noteId` (string): Note ID
**Request Body:**
- `content` (string): Updated note content (required, 1-10000 chars)
- `position` (string): Updated position reference (optional, max 100 chars)
**Response:**
- Updated note object with all fields
**Status Codes:**
- 200: Success
- 400: Invalid request
- 401: Unauthorized
- 404: Note not found