edit-icon download-icon

Query the key of an app

Last Updated: May 17, 2017

Description

For querying the key of a specified app. The key is used for authentication when you call an API.

  • This function is intended for API callers.

Request parameters

Name Type Required? Description
Action String Yes Operation interface, which is a required parameter; value: DescribeAppSecurity.
AppId Long Yes ID of the app.

Return parameters

Name Type Description
RequestId String ID of the current request.
AppKey String App key.
AppSecret String App password.
CreatedTime String Key creation time (Greenwich mean time), which is the same as the app creation time.
ModifiedTime String Key modification time (Greenwich mean time).

Examples

Request example

  1. https://apigateway.cn-qingdao.aliyuncs.com/?Action=DescribeAppSecurity
  2. &AppId=20112314518278
  3. &<Public request parameters>

Response example

XML format

  1. <DescribeAppSecurityResponse>
  2. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ015</RequestId>
  3. <AppKey>60030986</AppKey>
  4. <AppSecret>c1ae97aaa7e45f21d10824bc44678fee</AppSecret>
  5. <CreatedTime>2016-07-31T04:10:19Z</CreatedTime>
  6. <ModifiedTime>2016-07-31T04:10:19Z</ModifiedTime>
  7. </DescribeAppSecurityResponse>

JSON format

  1. {
  2. "RequestId":"CEF72CEB-54B6-4AE8-B225-F876FF7BZ015",
  3. "AppKey":"60030986",
  4. "AppSecret":"c1ae97aaa7e45f21d10824bc44678fee",
  5. "CreatedTime":"2016-07-31T04:10:19Z",
  6. "ModifiedTime":"2016-07-31T04:10:19Z"
  7. }
Thank you! We've received your feedback.