halo-theme-hao/http/theme.http

35 lines
1.1 KiB
HTTP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### cookie http-client.env.json
### theme Cookit Console F12
DELETE http://localhost:8090/apis/theme.halo.run/v1alpha1/themes/theme-hao-setting
Content-Type: application/json
Cookie: {{cookie}}
### , body theme.yaml jsontheme-hao
POST http://localhost:8090/apis/theme.halo.run/v1alpha1/themes
Content-Type: application/json
Cookie: {{cookie}}
{
"apiVersion": "theme.halo.run/v1alpha1",
"kind": "Theme",
"metadata": {
"name": "theme-hao"
},
"spec": {
"displayName": "Hao",
"author": {
"name": "",
"website": "https://liuzhihang.com"
},
"description": "Halo 2.0 Theme base on Thymeleaf, Referring to Butterfly and Heo",
"logo": "https://liuzhihang.com/logo",
"website": "https://liuzhihang.com",
"repo": "https://github.com/liuzhihang/halo-theme-hao",
"settingName": "theme-hao-setting",
"configMapName": "theme-hao-configMap",
"version": "1.0.0",
"require": "2.0.0"
}
}