Functions to call Aliyun OpenAPI.
- You can just put addition args.
- You can find the api params in Official Link.
Summary
Types
VerifyIntelligentCaptcha request params.
CaptchaVerifyParam is required, SceneId is optional.
VerifyIntelligentCaptcha response body.
Check Result.VerifyResult for verification outcome
Captcha scene ID
Captcha verify param string from frontend callback
Verify result in response body
Functions
Aliyun Captcha Service(验证码). You can read the doc in Official Link.
Aliyun Project Task Service of CodeUp (云效任务管理). You can read the doc in Official Link.
Aliyun Cloud Push Service(移动推送). You can read the doc in Official Link.
Aliyun Describe Ipv4/6 Location Service(查询IPv4地理位置信息) Please note that when using API to query IP Location Information, you need to open the relevant service in the Product package page first. You can read the doc in Official Link.
Global Aliyun Short Message Service(国际短信服务). You can read the doc in Official Link.
Aliyun Short Message Service(短信服务). You can read the doc in Official Link.
Aliyun Security Token Service(短期访问权限). You can read the doc in Official Link.
Types
VerifyIntelligentCaptcha request params.
CaptchaVerifyParam is required, SceneId is optional.
@type captcha_response_body() :: %{ optional(:RequestId) => String.t(), optional(:Success) => boolean(), optional(:Code) => String.t(), optional(:Message) => String.t(), optional(:Result) => captcha_verify_result() }
VerifyIntelligentCaptcha response body.
Check Result.VerifyResult for verification outcome:
true— verification passedfalse— verification failed (checkResult.VerifyCodefor reason)
@type captcha_scene_id() :: String.t()
Captcha scene ID
@type captcha_verify_param() :: String.t()
Captcha verify param string from frontend callback
@type captcha_verify_result() :: %{ optional(:VerifyResult) => boolean(), optional(:VerifyCode) => String.t(), optional(:CertifyId) => String.t() }
Verify result in response body
Functions
@spec call_captcha(captcha_request(), keyword() | nil) :: {:ok, Tesla.Env.t()} | {:error, term()}
Aliyun Captcha Service(验证码). You can read the doc in Official Link.
Aliyun Project Task Service of CodeUp (云效任务管理). You can read the doc in Official Link.
Aliyun Cloud Push Service(移动推送). You can read the doc in Official Link.
Aliyun Describe Ipv4/6 Location Service(查询IPv4地理位置信息) Please note that when using API to query IP Location Information, you need to open the relevant service in the Product package page first. You can read the doc in Official Link.
Global Aliyun Short Message Service(国际短信服务). You can read the doc in Official Link.
Aliyun Short Message Service(短信服务). You can read the doc in Official Link.
Aliyun Security Token Service(短期访问权限). You can read the doc in Official Link.