查看API

<p>成功创建API后,可查看API的详细信息,如<strong>API</strong><strong>详情</strong>、<strong>授权信息</strong>、<strong>监控信息</strong>等。</p> <p><span style="font-size:18px"><strong>前提条件</strong></span></p> <p>您已成功创建API,可参考<a href="https://pinganyun.com/ssr/help/middleware/APIGateway/Instance_Management.Publishing_API.API_Management.Create_API" target="_blank">创建API</a>。</p> <p><span style="font-size:18px"><strong>操作步骤</strong></span></p> <p>1.&nbsp; 登录<a href="https://pinganyun.com/console/apiGateway" target="_blank">API网关管理控制台</a>。</p> <p>2.&nbsp; 单击左侧导航栏<strong>开放</strong><strong>API</strong> &gt;<strong> API</strong><strong>管理</strong>,进入<strong>API</strong><strong>管理</strong>页面。</p> <p>3.&nbsp; 选择目标地域。</p> <p>4.&nbsp; 单击目标API的名称,进入<strong>API</strong><strong>详情</strong>页面。</p> <p>5.&nbsp; 选择<strong>API</strong><strong>详情</strong>页签,查看API的详细信息。</p> <p>&bull;&nbsp;&nbsp; 基本信息</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105148-1c72487b9729.png" style="height:142px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 请求定义</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105154-1a7bf7889720.png" style="height:92px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 请求入参信息</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105201-12b6f3b8973c.png" style="height:88px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 后端服务信息</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105208-1c0fc0e59a8b.png" style="height:95px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 后端服务参数</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105215-184f67ef9d8e.png" style="height:85px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 常量参数</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105220-165ed2eb9ba2.png" style="height:87px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 系统参数</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105226-16db32df97c2.png" style="height:87px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 返回结果信息</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105232-13795f7a9adc.png" style="height:114px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 错误码定义</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105239-119a98309be7.png" style="height:91px; width:830px" /></p> <p>6.&nbsp; 选择<strong>授权信息</strong>页签,查看已授权的APP。</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105247-1838a4519671.png" style="height:116px; width:830px" /></p> <p>7.&nbsp; 选择<strong>监控信息</strong>页签,查看API的监控信息。</p> <p>&bull;&nbsp;&nbsp; 可根据不同的时间范围查看API的监控信息,目前支持:<strong>近一小时</strong>、<strong>今天</strong>、<strong>近一周</strong>、<strong>近一月</strong>以及<strong>自定义时间范围</strong>。</p> <p>&bull;&nbsp;&nbsp; 也可以单击<strong>查看更多监控</strong>,跳转至<a href="https://pinganyun.com/console/argus" target="_blank">云监控Argus管理控制台</a>查看更多监控信息。</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105409-1b71f4e89230.png" style="height:54px; width:721px" /></p> <p>&nbsp; &nbsp; &bull;&nbsp; 在<strong>调用量统计</strong>区域,查看API的调用统计信息,也可以单击右上角的 ,下载统计图表至本地。</p> <p>&nbsp; &nbsp; &bull;&nbsp; 在<strong>后端服务响应状态码统计</strong>区域,查看后端服务响应状态码的相关统计信息,也可以单击右上角的 ,下载统计图表至本地。</p> <p>&nbsp; &nbsp; &bull;&nbsp; 在<strong>流量统计</strong>区域,查看API调用的流量统计信息,也可以单击右上角的 ,下载统计图表至本地。</p> <p>8.&nbsp; 选择<strong>安全信息</strong>页签,查看API安全相关的信息。</p> <p>&bull;&nbsp;&nbsp; 查看<strong>已绑定的流量控制策略</strong></p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105624-1c17346e9639.png" style="height:87px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 查看<strong>已绑定的签名密钥</strong></p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105631-17966d5d9756.png" style="height:87px; width:830px" /></p> <p>&bull;&nbsp;&nbsp; 查看<strong>已绑定的访问控制策略</strong></p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105735-1a8413f09e83.png" style="height:87px; width:830px" /></p> <p>9.&nbsp; 选择<strong>发布历史</strong>页签,查看API的发布历史记录。</p> <p><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1633939214"> </o:OLEObject> </xml><![endif]-->&nbsp; &nbsp;&nbsp;<img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105529-197eb33a9250.png" style="height:26px; margin:0px; width:65px" />:</p> <p>&nbsp; &nbsp; a)&nbsp; 单击目标发布历史记录<strong>操作</strong>列的<strong>查看</strong>,可查看目标发布版本的API详情。</p> <p>&nbsp; &nbsp; b)&nbsp; 单击目标发布历史记录<strong>操作</strong>列的<strong>复制</strong>,进入<strong>确认覆盖</strong>页面,可用目前查看的版本覆盖当前API的配置。</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105706-1240b2f6929f.png" style="height:121px; width:830px" /></p> <p>10.&nbsp; 选择<strong>计量策略</strong>页签,查看<strong>已绑定的计量策略</strong>。&nbsp;</p> <p><img src="https://pcp-portal-sca.obs-cn-shenzhen.pinganyun.com/pcp-portal-sca/20193010105724-16b7b84d9a5d.png" style="height:86px; width:830px" /></p>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

工单支持

解决云产品相关技术问题