'1.0', 'info' => ['style' => 'ROA', 'product' => 'PaiPlugin', 'version' => '2022-01-12'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateCampaign' => [ 'path' => '/api/v2/campaigns', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Name' => ['type' => 'string', 'required' => false], 'Remark' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateGroup' => [ 'path' => '/api/v2/groups', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Algorithm' => ['type' => 'string', 'required' => false], 'Column' => ['type' => 'string', 'required' => false], 'Filter' => ['type' => 'string', 'required' => false], 'InferenceJobId' => ['type' => 'string', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'PhoneNumber' => ['type' => 'boolean', 'required' => false], 'Project' => ['type' => 'string', 'required' => false], 'Remark' => ['type' => 'string', 'required' => false], 'Source' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'Table' => ['type' => 'string', 'required' => false], 'Text' => ['type' => 'string', 'required' => false], 'Uri' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateInferenceJob' => [ 'path' => '/api/v2/inference/jobs', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Algorithm' => ['type' => 'string', 'required' => false], 'CampaignId' => ['type' => 'string', 'required' => false], 'DataPath' => ['type' => 'string', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'Remark' => ['type' => 'string', 'required' => false], 'TargetPath' => ['type' => 'string', 'required' => false], 'TrainingJobId' => ['type' => 'string', 'required' => false], 'UserConfig' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateSchedule' => [ 'path' => '/api/v2/schedules', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'EndTime' => ['type' => 'string', 'format' => 'int32', 'required' => false], 'ExecuteTime' => ['type' => 'string', 'required' => false], 'GroupId' => ['type' => 'string', 'required' => true], 'Name' => ['type' => 'string', 'required' => true], 'RepeatCycle' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'RepeatCycleUnit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'RepeatTimes' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'SignName' => ['type' => 'string', 'required' => false], 'SignatureId' => ['type' => 'string', 'required' => false], 'TemplateCode' => ['type' => 'string', 'required' => false], 'TemplateId' => ['type' => 'string', 'required' => false], 'AISendStartDate' => ['type' => 'string', 'required' => false], 'AISendEndDate' => ['type' => 'string', 'required' => false], 'PaymentType' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateSignature' => [ 'path' => '/api/v2/signatures', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Description' => ['type' => 'string', 'required' => false], 'Name' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'CreateTemplate' => [ 'path' => '/api/v2/templates', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Content' => ['type' => 'string', 'required' => false], 'Description' => ['type' => 'string', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'Signature' => ['type' => 'string', 'required' => false], 'SignatureId' => ['type' => 'string', 'required' => false], 'Type' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], 'CreateTrainingJob' => [ 'path' => '/api/v2/training/jobs', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Algorithm' => ['type' => 'string', 'required' => false], 'CampaignId' => ['type' => 'string', 'required' => false], 'DataPath' => ['type' => 'string', 'required' => false], 'Name' => ['type' => 'string', 'required' => false], 'Remark' => ['type' => 'string', 'required' => false], 'UserConfig' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'DeleteCampaign' => [ 'path' => '/api/v2/campaigns/{Id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteGroup' => [ 'path' => '/api/v2/groups/{Id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteInferenceJob' => [ 'path' => '/api/v2/inference/jobs/{Id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteSchedule' => [ 'path' => '/api/v2/schedules/{Id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteSignature' => [ 'path' => '/api/v2/signatures/{Id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteTemplate' => [ 'path' => '/api/v2/templates/{Id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteTrainingJob' => [ 'path' => '/api/v2/training/jobs/{Id}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetAlgorithm' => [ 'path' => '/api/v2/algorithms/{Id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetCampaign' => [ 'path' => '/api/v2/campaigns/{Id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetGroup' => [ 'path' => '/api/v2/groups/{Id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetInferenceJob' => [ 'path' => '/api/v2/inference/jobs/{Id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetMessageConfig' => [ 'path' => '/api/v2/users/messageConfig', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'GetSchedule' => [ 'path' => '/api/v2/schedules/{Id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetSignature' => [ 'path' => '/api/v2/signatures/{Id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetTemplate' => [ 'path' => '/api/v2/templates/{Id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetTrainingJob' => [ 'path' => '/api/v2/training/jobs/{Id}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetUser' => [ 'path' => '/api/v2/users', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'ListAlgorithms' => [ 'path' => '/api/v2/algorithms', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListCampaigns' => [ 'path' => '/api/v2/campaigns', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListGroups' => [ 'path' => '/api/v2/groups', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PhoneNumber', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Source', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListInferenceJobs' => [ 'path' => '/api/v2/inference/jobs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CampaignId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'CampaignName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TrainingJobName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListMessageMetrics' => [ 'path' => '/api/v2/messages/metrics', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'EndDate', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'GroupId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'ScheduleId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Signature', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SignatureId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartDate', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TemplateCode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateType', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListMessages' => [ 'path' => '/api/v2/messages', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Datetime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ErrorCode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GroupId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MessageId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PhoneNumber', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RequestId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ScheduleId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Signature', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SignatureId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'TemplateCode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateType', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListSchedules' => [ 'path' => '/api/v2/schedules', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListSignatures' => [ 'path' => '/api/v2/signatures', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListTemplates' => [ 'path' => '/api/v2/templates', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Content', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListTrainingJobs' => [ 'path' => '/api/v2/training/jobs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'CampaignId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Remark', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'TrainingScheduleId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CampaignName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'SendMessage' => [ 'path' => '/api/v2/messages', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'GroupId' => ['type' => 'string', 'required' => false], 'OutIds' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'PhoneNumbers' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'ScheduleId' => ['type' => 'string', 'required' => false], 'SignName' => ['type' => 'string', 'required' => false], 'SignatureId' => ['type' => 'string', 'required' => false], 'SmsUpExtendCodes' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'TemplateCode' => ['type' => 'string', 'required' => false], 'TemplateId' => ['type' => 'string', 'required' => false], 'TemplateParams' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'PaymentType' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'UpdateCampaign' => [ 'path' => '/api/v2/campaigns/{Id}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Name' => ['type' => 'string', 'required' => false], 'Remark' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paiplugin.cn-hangzhou.aliyuncs.com', 'endpoint' => 'paiplugin.cn-hangzhou.aliyuncs.com', 'vpc' => 'paiplugin-vpc.cn-hangzhou.aliyuncs.com'], ], ];