Skip to content

Commit b1b2cfa

Browse files
HenryHenry
authored andcommitted
fix: synchronize generated OpenAPI specification
1 parent e9bdf0f commit b1b2cfa

1 file changed

Lines changed: 85 additions & 36 deletions

File tree

‎docs/api/openapi.yaml‎

Lines changed: 85 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,26 +1881,7 @@ paths:
18811881
application/json:
18821882
schema:
18831883
$ref: '#/components/schemas/HumanSuccessEnvelope'
1884-
summary: Get all orders across the system (admin only).
1885-
description: 'Query params:
1886-
1887-
page: int (default 1)
1888-
1889-
page_size: int (default 20, max 100)
1890-
1891-
status: str (optional, filter by status: paid/pending/confirmed/expired/failed/cancelled/all)
1892-
1893-
payment_method: str (optional: usdt/usdc/stripe/all)
1894-
1895-
plan: str (optional membership plan code)
1896-
1897-
search: str (optional, search by user, email, order id, transaction hash,
1898-
receiving address, or Stripe Checkout session id)
1899-
1900-
1901-
Get all orders across the system (admin only).
1902-
1903-
Lists USDT, USDC, and Stripe membership orders in one paginated view.'
1884+
summary: Return one paginated admin view for USDT, USDC and Stripe orders.
19041885
tags:
19051886
- Users
19061887
operationId: getApiUsersAdminOrders
@@ -1920,7 +1901,7 @@ paths:
19201901
application/json:
19211902
schema:
19221903
$ref: '#/components/schemas/HumanSuccessEnvelope'
1923-
summary: Admin-only "rescue" lever for USDT and USDC on-chain orders.
1904+
summary: Admin-only "rescue" lever for USDT orders.
19241905
description: "Use case: the buyer paid the correct amount to the correct receiving\n\
19251906
address, but the on-chain reconciler missed the transaction (RPC\noutage,\
19261907
\ exotic wallet, chain-specific edge case, off-chain mistake\nwhere the customer\
@@ -3368,6 +3349,60 @@ paths:
33683349
operationId: postApiAiChatReportPdf
33693350
summary: Post Api Ai Chat Report Pdf
33703351
x-visibility: internal
3352+
/api/ai/chat/report/share:
3353+
post:
3354+
responses:
3355+
'400':
3356+
description: Bad Request
3357+
content:
3358+
application/json:
3359+
schema:
3360+
$ref: '#/components/schemas/HumanErrorEnvelope'
3361+
'200':
3362+
description: OK
3363+
content:
3364+
application/json:
3365+
schema:
3366+
$ref: '#/components/schemas/HumanSuccessEnvelope'
3367+
summary: Create a public, read-only snapshot link for a report owned by the
3368+
user.
3369+
tags:
3370+
- AIChat
3371+
operationId: postApiAiChatReportShare
3372+
x-visibility: internal
3373+
/api/ai/chat/report/share/{token}:
3374+
get:
3375+
responses:
3376+
'400':
3377+
description: Bad Request
3378+
content:
3379+
application/json:
3380+
schema:
3381+
$ref: '#/components/schemas/HumanErrorEnvelope'
3382+
'200':
3383+
description: OK
3384+
content:
3385+
application/json:
3386+
schema:
3387+
$ref: '#/components/schemas/HumanSuccessEnvelope'
3388+
summary: Public endpoint for a capability-linked report snapshot; no login required.
3389+
tags:
3390+
- AIChat
3391+
operationId: getApiAiChatReportShareToken
3392+
parameters:
3393+
- name: token
3394+
in: path
3395+
required: true
3396+
schema:
3397+
type: string
3398+
x-visibility: internal
3399+
parameters:
3400+
- in: path
3401+
name: token
3402+
required: true
3403+
schema:
3404+
type: string
3405+
minLength: 1
33713406
/api/ai/chat/history/save:
33723407
post:
33733408
responses:
@@ -3428,8 +3463,8 @@ paths:
34283463
$ref: '#/components/schemas/HumanSuccessEnvelope'
34293464
summary: Create or update an indicator for the current user.
34303465
description: "Request (frontend sends many extra fields; we store only the essentials):\n\
3431-
{\n id: number (0 for create),\n name: string,\n code: string,\n allowEmptyDraft?: boolean,\n description?:\
3432-
\ string,\n ...\n}"
3466+
{\n id: number (0 for create),\n name: string,\n code: string,\n allowEmptyDraft?:\
3467+
\ boolean,\n description?: string,\n ...\n}"
34333468
tags:
34343469
- Indicator
34353470
operationId: postApiIndicatorSaveIndicator
@@ -7156,23 +7191,37 @@ paths:
71567191
schema:
71577192
$ref: '#/components/schemas/HumanSuccessEnvelope'
71587193
summary: Fast AI analysis for any symbol.
7159-
description: 'Request body:
7160-
7161-
market (required): Crypto, USStock, Forex, etc.
7162-
7163-
symbol (required): e.g. BTC/USDT, AAPL
7164-
7165-
language (optional, default en-US): Response language
7166-
7167-
model (optional): LLM model id, e.g. openai/gpt-5.4
7168-
7169-
timeframe (optional, default 1D): Analysis timeframe
7170-
7171-
async_submit (optional): Submit as background task'
7194+
description: "Request body:\nmarket (required): Crypto, USStock, Forex, etc.\n\
7195+
symbol (required): e.g. BTC/USDT, AAPL\nlanguage (optional, default en-US):\
7196+
\ Response language\nmodel (optional): LLM model id, e.g. openai/gpt-5.4\n\
7197+
timeframe (optional, default 1D): Analysis timeframe\nasync_submit (optional):\
7198+
\ Submit as background task\nresponse_contract (optional): professional_report_v1\
7199+
\ returns only the\n versioned report artifact plus runtime and billing\
7200+
\ metadata."
71727201
tags:
71737202
- FastAnalysis
71747203
operationId: postApiFastAnalysisAnalyze
71757204
x-visibility: public
7205+
/api/fast-analysis/data-sources:
7206+
get:
7207+
responses:
7208+
'400':
7209+
description: Bad Request
7210+
content:
7211+
application/json:
7212+
schema:
7213+
$ref: '#/components/schemas/HumanErrorEnvelope'
7214+
'200':
7215+
description: OK
7216+
content:
7217+
application/json:
7218+
schema:
7219+
$ref: '#/components/schemas/HumanSuccessEnvelope'
7220+
summary: List community and professional report providers without secrets.
7221+
tags:
7222+
- FastAnalysis
7223+
operationId: getApiFastAnalysisDataSources
7224+
x-visibility: public
71767225
/api/fast-analysis/history:
71777226
get:
71787227
responses:

0 commit comments

Comments
 (0)