查询详情
接口地址:/api/yt/platform/get
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:`/
请求参数:暂无
响应参数:
参数名称 | 参数说明 | 类型 |
background | 背景图片地址 | string |
backgroundColor | 背景颜色 | string |
copyright | 版权信息 | string |
createTime | 创建时间 | string(date-time) |
creator | 创建用户 | string |
domain | 域名 | string |
icon | icon图标地址 | string |
id | ID | string |
logo | logo地址 | string |
name | 平台名称 | string |
presentedOurselves | 备案信息 | string |
updateTime | 更新时间 | string(date-time) |
updater | 更新用户 | string |
响应示例:
{
"background": "",
"backgroundColor": "",
"copyright": "",
"createTime": "",
"creator": "",
"domain": "",
"icon": "",
"id": "",
"logo": "",
"name": "",
"presentedOurselves": "",
"updateTime": "",
"updater": ""
}
恢复出厂设置
接口地址:/api/yt/platform/data_reset
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"background": "",
"backgroundColor": "",
"copyright": "",
"createTime": "",
"creator": "",
"domain": "",
"icon": "",
"id": "",
"logo": "",
"name": "",
"presentedOurselves": "",
"updateTime": "",
"updater": ""
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
平台定制 | 平台定制 | body | true | 平台定制 | 平台定制 |
响应参数:
参数名称 | 参数说明 | 类型 |
code | integer(int32) | |
data | boolean | |
message | string |
响应示例:
{
"code": 0,
"data": true,
"message": ""
}
更新
接口地址:/api/yt/platform/update
请求方式:PUT
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
请求示例:
{
"background": "",
"backgroundColor": "",
"copyright": "",
"createTime": "",
"creator": "",
"domain": "",
"icon": "",
"id": "",
"logo": "",
"name": "",
"presentedOurselves": "",
"updateTime": "",
"updater": ""
}
请求参数:
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 |
平台定制 | 平台定制 | body | true | 平台定制 |
响应参数:
参数名称 | 参数说明 | 类型 |
body | object | |
statusCode | 可用值:ACCEPTED,ALREADY_REPORTED,BAD_GATEWAY,BAD_REQUEST,BANDWIDTH_LIMIT_EXCEEDED,CHECKPOINT,CONFLICT,CONTINUE,CREATED,DESTINATION_LOCKED,EXPECTATION_FAILED,FAILED_DEPENDENCY,FORBIDDEN,FOUND,GATEWAY_TIMEOUT,GONE,HTTP_VERSION_NOT_SUPPORTED,IM_USED,INSUFFICIENT_SPACE_ON_RESOURCE,INSUFFICIENT_STORAGE,INTERNAL_SERVER_ERROR,I_AM_A_TEAPOT,LENGTH_REQUIRED,LOCKED,LOOP_DETECTED,METHOD_FAILURE,METHOD_NOT_ALLOWED,MOVED_PERMANENTLY,MOVED_TEMPORARILY,MULTIPLE_CHOICES,MULTI_STATUS,NETWORK_AUTHENTICATION_REQUIRED,NON_AUTHORITATIVE_INFORMATION,NOT_ACCEPTABLE,NOT_EXTENDED,NOT_FOUND,NOT_IMPLEMENTED,NOT_MODIFIED,NO_CONTENT,OK,PARTIAL_CONTENT,PAYLOAD_TOO_LARGE,PAYMENT_REQUIRED,PERMANENT_REDIRECT,PRECONDITION_FAILED,PRECONDITION_REQUIRED,PROCESSING,PROXY_AUTHENTICATION_REQUIRED,REQUESTED_RANGE_NOT_SATISFIABLE,REQUEST_ENTITY_TOO_LARGE,REQUEST_HEADER_FIELDS_TOO_LARGE,REQUEST_TIMEOUT,REQUEST_URI_TOO_LONG,RESET_CONTENT,SEE_OTHER,SERVICE_UNAVAILABLE,SWITCHING_PROTOCOLS,TEMPORARY_REDIRECT,TOO_EARLY,TOO_MANY_REQUESTS,UNAUTHORIZED,UNAVAILABLE_FOR_LEGAL_REASONS,UNPROCESSABLE_ENTITY,UNSUPPORTED_MEDIA_TYPE,UPGRADE_REQUIRED,URI_TOO_LONG,USE_PROXY,VARIANT_ALSO_NEGOTIATES | string |
statusCodeValue | integer(int32) |
响应示例:
{
"body": {},
"statusCode": "",
"statusCodeValue": 0
}