百度智能云

All Product Document

          API Gateway

          Step 2 Acquire API Authorization

          The authorization refers to the privilege granted to one APP to call one API. The APP may call the API only after obtaining the API authorization. The other kind is the APP from the cloud market, and the APP has the unique appCode information. The API can be directly called by the appCode information when the user has purchased the API. The methods of acquiring the API are different, so are the authorization methods.

          Purchase API Services from the Cloud Market

          After subscribing the API Gateway services, we can purchase the API services released in the cloud market. Each user maintains a cloud market exclusive AP in the cloud market, and has the unique appCode information. The APPs of this kind require no authorization. The user can call the API by the appCode as long as the user purchases the currently released API.

          1.When the released API is purchased through the Cloud Market, the information of the purchased API can be viewed by the Console.

          2.The specific API package purchased can be viewed from the cloud market.

          3.By selecting a specific API interface, we can view the detailed API interface definition or make the trial commissioning of API.

          Note: Under normal conditions, the exclusive APPs in the cloud market are subscribed by default when the API is purchased.

          Direct Provision by the API Provider

          The API can be used without the purchase in the cloud market. At this time, the API provider should actively authorize the operation. You should provide the created APP and notify the API provider of the APPID. The API provider authorizes the APP in the API management page. After authorization, you may view the authorized API:

          1.Enter the APP management page of the gateway console.

          2.Click the corresponding APP to enter the APP details. Here are AppKey and authorized API.

          3.The authorized API is the API authorized by the current APP. If the API owner has authorized the operation, we can see the corresponding authorized API interface information here.

          Previous
          Step 1 Create Application
          Next
          Step 3 Call API