'1.0', 'info' => ['style' => 'RPC', 'product' => 'Iot', 'version' => '2017-07-20'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'QueryDeviceByPkAndVersion' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'IndistinctDevName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FirmwareVersion', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string'], 'maxItems' => 20, ], ], ], ], 'QueryDeviceUpgradeInfo' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'DeviceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FirmwareName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'QueryFirmwareByName' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'FirmwareName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'QueryFirmwareVerifyInfo' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'FirmwareName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'QueryFirmwareByUid' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'DeleteStatus', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'CurrentPage', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'QueryFirmwareVersionById' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'FirmwareId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], 'QueryVersionsByPk' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ [ 'name' => 'ProductKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-beijing', 'endpoint' => 'iot.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'endpoint' => 'iot.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'endpoint' => 'iot.cn-shenzhen.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'endpoint' => 'iot.ap-northeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'endpoint' => 'iot.ap-southeast-1.aliyuncs.com'], ['regionId' => 'us-east-1', 'endpoint' => 'iot.us-east-1.aliyuncs.com'], ['regionId' => 'us-west-1', 'endpoint' => 'iot.us-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'endpoint' => 'iot.eu-central-1.aliyuncs.com'], ], ];