更新时间:2024-11-04 GMT+08:00
查询租户的所有应用
操作场景
本章节指导用户通过调用API获取租户的所有应用信息。
前提条件
操作步骤
- 获取接口相关信息。
URI格式:GET /v1/{project_id}/apps
详情请参见获取租户下的应用清单。
- 在Request Header中增加“X-Auth-Token”。
- 发送“GET https://{iDME Endpoint}/v1/{project_id}/apps”。
{project_id}请从获取项目ID获取。
- 查看请求响应结果。
请求成功时,响应参数如下:
{ "result": [ { "id": "44145d41ae294e111111eafd4da32ea8", "project_id": "cf49a20d85294c93b1111111ca9454bc", "mark_for_delete": 0, "create_by": "59779076d1dc********c91c2c54bd7a", "create_time": 1690427901000, "update_by": "59779076d1dc********c91c2c54bd7a", "update_time": 1690427901000, "name_cn": "TestApp", "name_en": "TestApp", "desc_cn": "", "desc_en": "", "database_type": "mysql", "environment": "beta", "owners": [ "user_1", "idme_container1" ] }, { "id": "c787dcd484944ad11111dd18693e4eb2", "project_id": "cf49a20d85294c93b1111111ca9454bc", "mark_for_delete": 0, "create_by": "59779076d1dc********c91c2c54bd7a", "create_time": 1689622165000, "update_by": "59779076d1dc********c91c2c54bd7a", "update_time": 1689622165000, "name_cn": "工业产品问卷调查", "name_en": "Questionnaire_Survey", "desc_cn": "", "desc_en": "", "database_type": "mysql", "environment": "dev", "owners": [ "dme-console" ] } ], "page_num": 1, "page_size": 500, "total_size": 2, "total_pages": 1 }
请求异常时,错误码请参见错误码。
父主题: 应用示例