luogu-api-docs

主题 API

列出主题

请求 GET /theme/list
参数 ThemeListParams
响应主体 application/json (DataResponse<{ themes: List<ThemeDetails> }>)

获取主题

请求 GET /theme/design/:id
响应主体 application/json (DataResponse<{ theme: ThemeDetails }>)

应用主题

请求 POST /theme/setTheme/:id
响应主体 application/json ([])

创建主题

请求 POST /theme/edit/
请求主体 application/json (EditThemeRequest)
响应主体 application/json ({ id: string })

编辑主题

请求 POST /theme/edit/:id
请求主体 application/json (EditThemeRequest)
响应主体 application/json ({ id: string })

删除主题

请求 POST /theme/delete/:id
响应主体 application/json ([])