'1.0', 'info' => [ 'style' => 'AliGenie', 'product' => 'AliGenie', 'version' => 'oauth2_1.0', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetSmartHomeSceneList' => [ 'path' => '/v1.0/oauth2/iot/smart_home/scene/list', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [], ], 'ExecuteSmartHomeScene' => [ 'path' => '/v1.0/oauth2/iot/smart_home/scene/execute', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'consumes' => [ 'application/x-www-form-urlencoded', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FamilyId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'SceneId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetUserBasicInfo' => [ 'path' => '/v1.0/oauth2/users/basic', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [], ], 'GetUserPhone' => [ 'path' => '/v1.0/oauth2/user/profile/phone', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [], ], 'GetSceneList' => [ 'path' => '/v1.0/oauth2/iot/scene/list', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [], ], 'ExecuteScene' => [ 'path' => '/v1.0/oauth2/iot/scene/execute', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'consumes' => [ 'application/x-www-form-urlencoded', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'SceneId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'QueryDeviceList' => [ 'path' => '/v1.0/oauth2/device/list', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [], ], 'PushDeviceNotification' => [ 'path' => '/v1.0/oauth2/device/notification/push', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'consumes' => [ 'application/x-www-form-urlencoded', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'SendTarget' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'TargetType' => [ 'type' => 'string', 'required' => false, 'enum' => [ 'DEVICE_UNION_ID', 'DEVICE_OPEN_ID', ], ], 'TargetIdentity' => [ 'type' => 'string', 'required' => false, ], ], ], 'MessageTemplateId' => [ 'type' => 'string', 'required' => true, ], 'PlaceHolder' => [ 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', ], ], 'EncodeType' => [ 'type' => 'string', 'required' => true, ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, ], 'OrganizationId' => [ 'type' => 'string', 'required' => false, ], 'IsDebug' => [ 'type' => 'boolean', 'required' => false, ], ], ], ], [ 'name' => 'TenantInfo', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'SubjectId' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], 'CreatePlayingList' => [ 'path' => '/v1.0/oauth2/content/playing/create', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'OAuth 2.0 Bearer Token' => [], ], ], 'consumes' => [ 'application/x-www-form-urlencoded', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'OpenCreatePlayingListRequest', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'PlayFrom' => [ 'type' => 'string', 'required' => false, ], 'ContentType' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'content', 'album', 'collect', ], ], 'ContentList' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'RawId' => [ 'type' => 'string', 'required' => true, ], 'Source' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'Index' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], 'NeedAlbumContinued' => [ 'type' => 'boolean', 'required' => false, ], 'PlayMode' => [ 'type' => 'string', 'required' => false, 'enum' => [ 'Repeat', 'Shuffle', 'RepeatOne', 'Normal', ], ], 'ExtendInfo' => [ 'type' => 'object', 'required' => false, ], 'RequestId' => [ 'type' => 'string', ], ], ], ], [ 'name' => 'DeviceInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'EncodeType' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'UC_CLIENT_ID', ], ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, ], 'IdType' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'OPEN_ID', 'UNION_ID', ], ], 'Id' => [ 'type' => 'string', 'required' => true, ], 'OrganizationId' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], 'OAuth2TokenEndpoint' => [ 'path' => '/v1.0/oauth2/token', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/x-www-form-urlencoded', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'GrantType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Code', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'RedirectUri', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'RefreshToken', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'OAuth2RevocationEndpoint' => [ 'path' => '/v1.0/oauth2/revoke', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/x-www-form-urlencoded', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Token', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'TokenTypeHint', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], 'endpoints' => [ [ 'regionId' => 'cn-zhangjiakou', 'endpoint' => 'openapi.aligenie.com', ], ], ];