百度智能云

All Product Document

          Reference

          Java-SDK

          Internet of Things IoT Hub

          Interface Method API
          Endpoint iotHubClient.createEndpoint(); POST /v1/endpoint
          Endpoint iotHubClient.listEndpoints(); GET /v1/endpoint
          Endpoint iotHubClient.queryEndpoint(); GET /v1/endpoint/{endpointName}
          Endpoint iotHubClient.deleteEndpoint(); DELETE /v1/endpoint/{endpointName}
          Thing iotHubClient.createThing(); POST /v1/endpoint/{endpointName}/thing
          Thing iotHubClient.listThings(); GET /v1/endpoint/{endpointName}/thing
          Thing iotHubClient.listPrincipals(); GET /v1/endpoint/{endpointName}/thing/{thingName}
          Thing iotHubClient.deleteThing(); DELETE /v1/endpoint/{endpointName}/thing/{thingName}
          Principal iotHubClient.createPrincipal(); POST /v1/endpoint/{endpointName}/principal
          Principal iotHubClient.listPrincipals(); GET /v1/endpoint/{endpointName}/principal?thingName={thingName}
          Principal iotHubClient.listPrincipals(); GET /v1/endpoint/{endpointName}/principal/{principalName}
          Principal iotHubClient.attachThingToPrincipal(); POST /v1/action/attach-thing-principal
          Principal iotHubClient.removeThingToPrincipal(); POST /v1/action/remove-thing-principal
          Principal iotHubClient.regeneratePassword(); POST /v1/endpoint/{endpointName}/principal/{principalName}
          Principal iotHubClient.deletePrincipal(); DELETE /v1/endpoint/{endpointName}/principal/{principalName}
          Policy iotHubClient.createPolicy(); POST /v1/endpoint/{endpointName}/policy
          Policy iotHubClient.listPolicy(); GET /v1/endpoint/{endpointName}/policy?principalName={principalName}
          Policy iotHubClient.queryPolicy(); GET /v1/endpoint/{endpointName}/policy/{policyName}
          Policy iotHubClient.attachPrincipalToPolicy(); POST /v1/action/attach-principal-policy
          Policy iotHubClient.removePrincipalToPolicy(); POST /v1/action/remove-thing-principal-policy
          Policy iotHubClient.deletePolicy(); DELETE /v1/endpoint/{endpointName}/policy/{policyName}
          privilege iotHubClient.updateprivilege(); PUT /v1/endpoint/{endpointName}/privilege/{privilegeUuid}
          privilege iotHubClient.listprivilege(); GET /v1/endpoint/{endpointName}/privilege?policyName={policyName}
          privilege iotHubClient.queryprivilege() GET /v1/endpoint/{endpointName}/privilege/{privilegeUuid}
          Certificate iotHubClient.createPrincipalWithCert(); POST /v1/endpoint/:endpointName/principal?withCert=true
          Certificate iotHubClient.renewCert(); POST /v1/endpoint/:endpointName/principal/:principalName/cert/renew-certificate

          Content Delivery Network (CDN)

          Class Method API
          CdnClient createDomain(CreateDomainRequest request) PUT /v2/domain/{domain}
          CdnClient deleteDomain(DeleteDomainRequest request) DELETE /v2/domain/{domain}
          CdnClient deleteDomain(String domain) DELETE /v2/domain/{domain}
          CdnClient describeIp(DescribeIpRequest request) GET /v2/utils
          CdnClient describeIp(String ip) GET /v2/utils
          CdnClient disableDomain(DisableDomainRequest request) POST /v2/domain/{domain}?disable
          CdnClient disableDomain(String domain) POST /v2/domain/{domain}?disable
          CdnClient enableDomain(EnableDomainRequest request) POST /v2/domain/{domain}?enable
          CdnClient enableDomain(String domain) POST /v2/domain/{domain}?enable
          CdnClient getCacheQuota() GET /v2/cache/quota
          CdnClient getCacheQuota(GetCacheQuotaRequest request) GET /v2/cache/quota
          CdnClient getDomainCacheTTL(GetDomainCacheTTLRequest request) GET /v2/domain/{domain}/config?cacheTTL
          CdnClient getDomainCacheTTL(String domain) GET /v2/domain/{domain}/config?cacheTTL
          CdnClient getDomainConfig(GetDomainConfigRequest request) GET /v2/domain/{domain}/config
          CdnClient getDomainConfig(String domain) GET /v2/domain/{domain}/config
          CdnClient getDomainLog(GetDomainLogRequest request) GET /v2/log/{domain}/log
          CdnClient getPrefetchStatus(GetPrefetchStatusRequest request) GET /v2/cache/prefetch
          CdnClient getPurgeStatus(GetPurgeStatusRequest request) GET /v2/cache/purge
          CdnClient getStatAvgSpeed(GetStatAvgSpeedRequest request) GET /v2/stat/avgspeed
          CdnClient getStatFlow(GetStatFlowRequest request) GET /v2/stat/flow
          CdnClient getStatHitRate(GetStatHitRateRequest request) GET /v2/stat/flow
          CdnClient getStatHttpCode(GetStatHttpCodeRequest request) GET /v2/stat/httpcode
          CdnClient getStatPv(GetStatPvRequest request) GET /v2/stat/pv
          CdnClient getStatSrcFlow(GetStatSrcFlowRequest request) GET /v2/stat/srcflow
          CdnClient getStatTopReferer(GetStatTopRefererRequest request) GET /v2/stat/topn/referer
          CdnClient getStatTopUrl(GetStatTopUrlRequest request) GET /v2/stat/topn/url
          CdnClient getStatUv(GetStatUvRequest request) GET /v2/stat/uv
          CdnClient listDomains() GET /v2/domain
          CdnClient listDomains(ListDomainsRequest request) GET /v2/domain
          CdnClient prefetch(PrefetchRequest request) POST /v2/cache/prefetch
          CdnClient prefetch(String url) POST /v2/cache/prefetch
          CdnClient purge(PurgeRequest request) POST /v2/cache/purge
          CdnClient purge(String url) POST /v2/cache/purge
          CdnClient purgeDirectory(String directory) POST /v2/cache/purge
          CdnClient setDomainCacheFullUrl(SetDomainCacheFullUrlRequest request) /v2/domain/{domain}/config?cacheFullUrl
          CdnClient setDomainCacheFullUrl(String domain, boolean setting) /v2/domain/{domain}/config?cacheFullUrl
          CdnClient setDomainCacheTTL(SetDomainCacheTTLRequest request) PUT /v2/domain/{domain}/config?cacheTTL
          CdnClient setDomainIpACL(SetDomainIpACLRequest request) PUT /v2/domain/{domain}/config?ipACL
          CdnClient setDomainLimitRate(SetDomainLimitRateRequest request) PUT /v2/domain/{domain}/config?limitRate
          CdnClient setDomainLimitRate(String domain, int limitRate) PUT /v2/domain/{domain}/config?limitRate
          CdnClient setDomainOrigin(SetDomainOriginRequest request) PUT /v2/domain/{domain}/config?origin
          CdnClient setDomainOrigin(String domain, String peer) PUT /v2/domain/{domain}/config?origin
          CdnClient setDomainRefererACL(SetDomainRefererACLRequest request) PUT /v2/domain/{domain}/config?refererACL
          CdnClient setHttpsConfig(SetHttpsConfigRequest request) PUT /v2/domain/{domain}/config?https
          CdnClient setHttpsConfig(String domain, HttpsConfig https) PUT /v2/domain/{domain}/config?https
          CdnClient setRequestAuth(SetRequestAuthRequest request) PUT /v2/domain/{domain}/config?requestAuth
          CdnClient setRequestAuth(String domain, RequestAuth requestAuth) PUT /v2/domain/{domain}/config?requestAuth
          Previous
          SDK Getting Started Guide