数据复制服务 DRS-查询企业项目列表:响应示例

时间:2024-10-18 19:41:53

响应示例

状态码: 200

OK
{
  "count": 113,
  "enterprise_project_list": [
    {
      "id": "0",
      "name": "default",
      "status": "1"
    },
    {
      "id": "2d8315f3-f25f-4481-a867-b7ef05a4b9c2",
      "name": "eps_test_new_改名",
      "status": "1",
      "created_at": "2023-01-20T07:18:26Z",
      "updated_at": "2023-01-20T15:32:29Z"
    },
    {
      "id": "81b344c4-5644-485b-8ea7-398f3b8013cf",
      "name": "(!@$%^-_=+[{}]:,./?~#*;|)",
      "status": "1",
      "created_at": "2022-09-27T02:41:22Z",
      "updated_at": "2023-03-01T09:42:02Z"
    },
    {
      "id": "59add094-0be7-49d0-a3ee-22de62f7eb4c",
      "name": "DDS-test01_01",
      "status": "1",
      "created_at": "2022-02-25T08:04:44Z",
      "updated_at": "2022-07-13T03:45:24Z"
    },
    {
      "id": "6e2795dd-6fd1-4413-9038-cf1c1acc0940",
      "name": "gaussdb_test02",
      "description": "gaussdb_test02",
      "status": "1",
      "created_at": "2022-02-25T07:39:05Z",
      "updated_at": "2022-02-25T07:39:05Z"
    }
  ]
}

状态码: 422

Bad Request

{
  "error_code": "DRS.M00277",
  "error_msg": "该任务名称已存在"
}
support.huaweicloud.com/api-drs/drs_03_0198.html