Skip to content

Commit 8506dcc

Browse files
committed
fix(apigw): optimize get api detail
1 parent 804aa38 commit 8506dcc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/apigw/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,9 @@ export default class Apigw {
661661
const { ApiIdStatusSet } = (await this.request({
662662
Action: 'DescribeApisStatus',
663663
ServiceId: serviceId,
664-
Filters: [{ Name: 'ApiType', Values: ['normal'] }],
664+
Offset: 0,
665+
Limit: 100,
666+
Filters: [{ Name: 'ApiPath', Values: [path] }],
665667
})) as {
666668
ApiIdStatusSet: { Method: string; Path: string; ApiId: string; InternalDomain: string }[];
667669
};

0 commit comments

Comments
 (0)