From 701123fbbb7d24d7096dfd1cc484f535dd4bdda9 Mon Sep 17 00:00:00 2001 From: Marcus Pasell <3690498+rickyrombo@users.noreply.github.com> Date: Thu, 12 Feb 2026 10:27:12 -0800 Subject: [PATCH 1/3] remove dupe --- api/swagger/swagger-v1.yaml | 40 ------------------------------------- 1 file changed, 40 deletions(-) diff --git a/api/swagger/swagger-v1.yaml b/api/swagger/swagger-v1.yaml index 5f8ef541..6b19476d 100644 --- a/api/swagger/swagger-v1.yaml +++ b/api/swagger/swagger-v1.yaml @@ -3757,46 +3757,6 @@ paths: "500": description: Server error content: {} - put: - tags: - - users - description: Updates an existing user profile - operationId: Update User - security: - - BasicAuth: [] - - BearerAuth: [] - parameters: - - name: id - in: path - description: A User ID - required: true - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/update_user_request' - responses: - "200": - description: User updated successfully - content: - application/json: - schema: - $ref: '#/components/schemas/write_response' - "400": - description: Bad request - content: {} - "401": - description: Unauthorized - content: {} - "404": - description: User not found - content: {} - "500": - description: Server error - content: {} /users/{id}/authorized_apps: get: tags: From 7f3da1c12df4c3b41daabe80c5a6f79b8a02abb5 Mon Sep 17 00:00:00 2001 From: Marcus Pasell <3690498+rickyrombo@users.noreply.github.com> Date: Thu, 12 Feb 2026 10:33:01 -0800 Subject: [PATCH 2/3] ai audit --- api/swagger/swagger-v1.yaml | 89 +++++++++++++++++++++---------------- 1 file changed, 51 insertions(+), 38 deletions(-) diff --git a/api/swagger/swagger-v1.yaml b/api/swagger/swagger-v1.yaml index 6b19476d..f8f96b6d 100644 --- a/api/swagger/swagger-v1.yaml +++ b/api/swagger/swagger-v1.yaml @@ -220,12 +220,7 @@ paths: content: application/json: schema: - type: object - required: - - body - properties: - body: - type: string + $ref: '#/components/schemas/update_comment_request' responses: "200": description: Comment updated successfully @@ -3057,14 +3052,7 @@ paths: content: application/json: schema: - type: object - properties: - city: - type: string - region: - type: string - country: - type: string + $ref: '#/components/schemas/track_download_request' responses: "200": description: Track download recorded successfully @@ -3810,12 +3798,7 @@ paths: content: application/json: schema: - type: object - properties: - data: - type: array - items: - $ref: '#/components/schemas/developer_app' + $ref: '#/components/schemas/developer_apps_response' "400": description: Bad request content: {} @@ -3850,14 +3833,7 @@ paths: content: application/json: schema: - type: object - properties: - api_key: - type: string - api_secret: - type: string - transaction_hash: - type: string + $ref: '#/components/schemas/create_user_developer_app_response' "400": description: Bad request content: {} @@ -3896,12 +3872,7 @@ paths: content: application/json: schema: - type: object - properties: - success: - type: boolean - transaction_hash: - type: string + $ref: '#/components/schemas/write_response' "401": description: Unauthorized content: {} @@ -3946,10 +3917,7 @@ paths: content: application/json: schema: - type: object - properties: - success: - type: boolean + $ref: '#/components/schemas/deactivate_access_key_response' "400": description: Bad request (api_access_key required) content: {} @@ -9918,6 +9886,14 @@ components: coin_flair_mint: type: string description: Coin flair mint address + update_comment_request: + type: object + required: + - body + properties: + body: + type: string + description: The updated comment text create_comment_request: type: object required: @@ -10014,6 +9990,43 @@ components: api_access_key: type: string description: The newly created bearer token (API access key) + track_download_request: + type: object + properties: + city: + type: string + description: City where the download occurred + region: + type: string + description: Region where the download occurred + country: + type: string + description: Country where the download occurred + developer_apps_response: + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/developer_app' + create_user_developer_app_response: + type: object + properties: + api_key: + type: string + description: The API key (address) for the developer app + api_secret: + type: string + description: The API secret (access key) for the developer app + transaction_hash: + type: string + description: Transaction hash of the creation + deactivate_access_key_response: + type: object + properties: + success: + type: boolean + description: Whether the deactivation was successful responses: ParseError: description: When a mask can't be parsed From a41b77351116abed37911756657bf8c593b10290 Mon Sep 17 00:00:00 2001 From: Marcus Pasell <3690498+rickyrombo@users.noreply.github.com> Date: Thu, 12 Feb 2026 10:38:07 -0800 Subject: [PATCH 3/3] consolidate def --- api/swagger/swagger-v1.yaml | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) diff --git a/api/swagger/swagger-v1.yaml b/api/swagger/swagger-v1.yaml index f8f96b6d..0b6ebc73 100644 --- a/api/swagger/swagger-v1.yaml +++ b/api/swagger/swagger-v1.yaml @@ -6915,17 +6915,23 @@ components: type: string playlist_added_timestamp: required: - - metadata_timestamp - - timestamp - track_id + - timestamp type: object properties: - metadata_timestamp: - type: integer - timestamp: - type: integer track_id: type: string + description: Track ID + timestamp: + type: integer + format: int64 + description: Unix timestamp when track was added + minimum: 0 + metadata_timestamp: + type: integer + format: int64 + description: Metadata timestamp + minimum: 0 access: required: - download @@ -9697,24 +9703,7 @@ components: type: array description: Array of tracks in the playlist items: - type: object - required: - - track_id - - timestamp - properties: - track_id: - type: string - description: Track ID - timestamp: - type: integer - format: int64 - description: Unix timestamp when track was added - minimum: 0 - metadata_timestamp: - type: integer - format: int64 - description: Metadata timestamp - minimum: 0 + $ref: '#/components/schemas/playlist_added_timestamp' ddex_app: type: string description: DDEX application identifier