Description
For querying the signature keys bound to all the APIs in the specified stage of an API group.
- This function is intended for API activators.
- This interface is used to query the signature keys bound to all the APIs in the specified stage of an API group.
- If you do not input optional parameters, the system returns the signature keys bound to all the APIs in the specified stage of an API group.
Request parameters
Name | Type | Required? | Description |
---|---|---|---|
Action | String | Yes | Operation interface name, which is a required parameter; value: DescribeApiSignatures. |
StageName | String | Yes | Name of the stage you want to query.
|
GroupId | String | Yes | ID of the API group you want to query. |
ApiIds | String | No | IDs of the APIs you want to query. If multiple API IDs are input, they must be separated by a comma (,). Up to 100 API IDs can be input. |
PageNumber | Integer | No | The page number specified for query; default value: 1; the starting number: 1. |
PageSize | Integer | No | Number of lines per page set at paging query; maximum value: 100; default value: 10. |
Return parameters
Name | Type | Description |
---|---|---|
RequestId | String | ID of the current request. |
TotalCount | Integer | Total number of returned results. |
PageSize | Integer | Specified total number of results returned per page. |
PageNumber | Integer | Page number specified to be returned. |
ApiSignatures | ApiSignatureItem | Returned information items of signature keys, in an array consisting of ApiSignatureItem. |
Examples
Request example
https://apigateway.cn-qingdao.aliyuncs.com/?Action=DescribeApiSignatures
&StageName=test
&GroupId=0009db9c828549768a200320714b8930
&<Public request parameters>
Response example
XML
format
<DescribeApiSignaturesResponse>
<RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ004</RequestId>
<TotalCount>20</TotalCount>
<PageSize>10</PageSize>
<PageNumber>1</PageNumber>
<ApiSignatures>
<ApiSignatureItem>
<ApiId>46fbb52840d146f186e38e8e70fc8c90</ApiId>
<ApiName>testapi</ApiName>
<SignatureId>dd05f1c54d6749eda95f9fa6d491449a</SignatureId>
<SignatureName>backendsignature</SignatureName>
<BoundTime>2016-07-23T08:28:48Z</BoundTime>
</ApiSignatureItem>
</ApiSignatures>
</DescribeApiSignaturesResponse>
JSON
format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ004",
"TotalCount": "20",
"PageSize": "10",
"PageNumber": "1",
"ApiSignatures": {
"ApiSignatureItem": [
{
"ApiId": "46fbb52840d146f186e38e8e70fc8c90",
"ApiName": "testapi",
"SignatureId": "dd05f1c54d6749eda95f9fa6d491449a",
"SignatureName": "backendsignature",
"BoundTime": "2016-07-23T08:28:48Z"
}
]
}
}