From aa5af2f03fe99f963bd71caffd966686060b8d33 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Wed, 27 May 2026 17:03:37 -0700 Subject: [PATCH] =?UTF-8?q?Restore=20GET=20/api/hub/profiles/{username}=20?= =?UTF-8?q?=E2=80=94=20still=20actively=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Datadog shows ~37k req/30d to GET /api/hub/profiles/{username} (getHubProfile) on comfy-ingest, so it is NOT unused — keep it. Only PUT /api/hub/profiles/me (updateMyHubProfile) is removed: zero traffic and never implemented. --- openapi.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 86783d233..010576184 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3690,6 +3690,40 @@ paths: schema: $ref: "#/components/schemas/CloudError" + '500': + description: Internal server error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + /api/hub/profiles/{username}: + get: + operationId: getHubProfile + tags: [hub] + summary: Get a hub profile by username + description: "[cloud-only] Returns the public hub profile for the given username." + x-runtime: [cloud] + parameters: + - name: username + in: path + required: true + schema: + type: string + description: Hub username + responses: + "200": + description: Profile + content: + application/json: + schema: + $ref: "#/components/schemas/HubProfile" + "404": + description: Not found + content: + application/json: + schema: + $ref: "#/components/schemas/CloudError" + '500': description: Internal server error content: