ThingsKit物联网平台API文档-系统管理(平台定制)

查询详情

接口地址:/api/yt/platform/get

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:`/

请求参数:暂无

响应参数:

参数名称参数说明类型
background背景图片地址string
backgroundColor背景颜色string
copyright版权信息string
createTime创建时间string(date-time)
creator创建用户string
domain域名string
iconicon图标地址string
idIDstring
logologo地址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
平台定制平台定制bodytrue平台定制平台定制

响应参数:

参数名称参数说明类型
codeinteger(int32)
databoolean
messagestring

响应示例:

{
	"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": ""
}

请求参数:

参数名称参数说明请求类型是否必须数据类型
平台定制平台定制bodytrue平台定制

响应参数:

参数名称参数说明类型
bodyobject
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_NEGOTIATESstring
statusCodeValueinteger(int32)

响应示例:

{
	"body": {},
	"statusCode": "",
	"statusCodeValue": 0
}