mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-30 10:57:23 +08:00
Restore GET /api/hub/profiles/{username} — still actively used
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.
This commit is contained in:
parent
98405f25b7
commit
aa5af2f03f
34
openapi.yaml
34
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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user