调用ListSchemaSubscribes查询订阅列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String ListSchemaSubscribes

系统规定参数。取值:ListSchemaSubscribes

ProjectId String PIC3UA0V

项目ID

DeviceModel String model_2nd

机型信息

PageIndex Integer 1

查询的页码

PageSize Integer 10

查询的每页数量

RegionId String cn-shanghai

地域ID

返回数据

名称 类型 示例值 描述
PageList

返回的数据列表信息

List

订阅列表

DeviceModel String model_2nd

机型名称

DeviceModelId Long 120

机型ID

GmtCreate Long 1537255540160

创建时间

GmtModified Long 1537255540160

修改时间

Id Long 12

数据记录ID

Namespace String b09e93ce436aaf0dcfc2fb2004c1fde8

命名空间

ProjectId String PIC3UA0V

项目ID

ValiditySchema String {"ecu":{"node_desc":"动力系统","brake_controll":{"handbrake":"手刹状态"}},"device_info":{"vin":"车架号","uuid":"uuid","brand":"设备品牌","plugin_version":{"ra":"远程诊断","control":"远程控制","node_desc":"插件版本号","yundevice":"yundevice版本号"},"system_version":"系统版本号"},"car_body_hvac":{"node_desc":"车身与HVAC","cigar_lighter":{"node_desc":"点烟器"},"cleaning_fluid":"清洗液"}}

验证的schema信息

Version String 1.0

版本

Pagination

返回的分页信息

HasNextPage Boolean true

是否有下一页

PageIndex Integer 1

当前页数

PageSize Integer 10

每页数量

SimpleSign Boolean false

是否返回简单数据标志

TotalCount Integer 10

总数量

TotalPageCount Integer 1

总页数

RequestId String 6F25F67C-F411-499F-BCE2-67CA563CB064

请求ID

示例

请求示例


http(s)://[Endpoint]/?Action=ListSchemaSubscribes
&ProjectId=PIC3UA0V
&<公共请求参数>

正常返回示例

XML 格式

<ListSchemaSubscribesResponse>
	  <PageList>
		    <List>
			      <DeviceModel>model_2nd</DeviceModel>
			      <DeviceModelId>208</DeviceModelId>
			      <GmtCreate>1537255540160</GmtCreate>
			      <GmtModified>1537255540160</GmtModified>
			      <Id>49</Id>
			      <Namespace>b09e93ce436aaf0dcfc2fb2004c1fde8</Namespace>
			      <ProjectId>PIC3UA0V</ProjectId>
			      <ValiditySchema>{"type": "object", "title": "model_2nd", "$schema": "http://json-schema.org/draft-04/schema#", "properties": {"car_body_hvac": {"properties": {"cooling": {"properties": {"water_temperature": {"type": "number", "maximum": 30.0, "minimum": 20.0, "description": "水温"}}}, "lubricating": {"properties": {"oil_level": {"type": "number", "maximum": 6.0, "minimum": 3.0, "description": "机油油位"}}}}}}}</ValiditySchema>
			      <Version>1.0</Version>
		    </List>
		    <Pagination>
			      <HasNextPage>true</HasNextPage>
			      <PageIndex>1</PageIndex>
			      <PageSize>10</PageSize>
			      <TotalCount>1</TotalCount>
			      <TotalPageCount>1</TotalPageCount>
		    </Pagination>
	  </PageList>
	  <RequestId>EDCF581A-6A1A-4595-9542-96D084F5F231</RequestId>
</ListSchemaSubscribesResponse>

JSON 格式

{
	"RequestId":"EDCF581A-6A1A-4595-9542-96D084F5F231",
	"PageList":{
		"Pagination":{
			"TotalCount":1,
			"PageSize":10,
			"PageIndex":1,
			"TotalPageCount":1,
			"HasNextPage":true
		},
		"List":[
			{
				"ValiditySchema":"{\"type\": \"object\", \"title\": \"model_2nd\", \"$schema\": \"http://json-schema.org/draft-04/schema#\", \"properties\": {\"car_body_hvac\": {\"properties\": {\"cooling\": {\"properties\": {\"water_temperature\": {\"type\": \"number\", \"maximum\": 30.0, \"minimum\": 20.0, \"description\": \"水温\"}}}, \"lubricating\": {\"properties\": {\"oil_level\": {\"type\": \"number\", \"maximum\": 6.0, \"minimum\": 3.0, \"description\": \"机油油位\"}}}}}}}",
				"Namespace":"b09e93ce436aaf0dcfc2fb2004c1fde8",
				"Id":49,
				"Version":"1.0",
				"GmtCreate":1537255540160,
				"DeviceModelId":208,
				"ProjectId":"PIC3UA0V",
				"GmtModified":1537255540160,
				"DeviceModel":"model_2nd"
			}
		]
	}
}

错误码

访问错误中心查看更多错误码。