声明(静态文件)
开发中GET
/manifest.jsonLast modified: 7 个月前
此接口无需前置/api/v3,可直接调用,比如https://127.0.0.1:5212/manifest.json
请求参数
无
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
background_color
string
背景颜色
display
string
required
icons
string
图标
name
string
名称
short_name
string
短名称
start_url
string
初始地址
theme_color
string
主题颜色
Example
{
"background_color": "#ffffff",
"display": "standalone",
"icons": [
{
"sizes": "64x64 32x32 24x24 16x16",
"src": "/static/img/favicon.ico",
"type": "image/x-icon"
},
{
"sizes": "192x192",
"src": "/static/img/logo192.png",
"type": "image/png"
},
{
"sizes": "512x512",
"src": "/static/img/logo512.png",
"type": "image/png"
}
],
"name": "海枫云存储",
"short_name": "海枫云存储",
"start_url": ".",
"theme_color": "#000000"
}
Last modified: 7 个月前