feat(ECR-044): RhythmConfig 写面闭环并 Closed
复用 admin.explore.write、POST/PUT+审计、C端 GET /rhythm/configs、 H5 无 active 空态/失败回退;migration 000053。ExploreConfig Loop STOP,禁自动 ECR-045。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1245,6 +1245,21 @@ paths:
|
||||
description: Unauthorized
|
||||
'403':
|
||||
description: Forbidden
|
||||
post:
|
||||
tags: [admin]
|
||||
summary: Create RhythmConfig
|
||||
description: Requires admin.explore.write · ECR-044
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
'400':
|
||||
description: Invalid
|
||||
'401':
|
||||
description: Unauthorized
|
||||
'403':
|
||||
description: Forbidden
|
||||
'409':
|
||||
description: Code conflict
|
||||
|
||||
/api/v1/admin/explore/rhythm-configs/{id}:
|
||||
get:
|
||||
@@ -1260,6 +1275,26 @@ paths:
|
||||
description: OK
|
||||
'404':
|
||||
description: Not found
|
||||
put:
|
||||
tags: [admin]
|
||||
summary: Update RhythmConfig
|
||||
description: Requires admin.explore.write · deactivate via active=false · ECR-044
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
required: true
|
||||
schema: { type: string, format: uuid }
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
'400':
|
||||
description: Invalid
|
||||
'403':
|
||||
description: Forbidden
|
||||
'404':
|
||||
description: Not found
|
||||
'409':
|
||||
description: Code conflict
|
||||
|
||||
/api/v1/admin/explore/image-card-decks:
|
||||
get:
|
||||
@@ -1584,6 +1619,15 @@ paths:
|
||||
'200':
|
||||
description: OK
|
||||
|
||||
/api/v1/rhythm/configs:
|
||||
get:
|
||||
tags: [system]
|
||||
summary: Active RhythmConfig list for C-end (ECR-044)
|
||||
description: DeviceAuth · only active=true · ordered by code
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
|
||||
/api/v1/home/daily-tips:
|
||||
get:
|
||||
tags: [system]
|
||||
|
||||
Reference in New Issue
Block a user