Help Center> DataArts Studio> API Reference> Data Lake Mall APIs> Service Catalog Management> Obtaining the ID of a Catalog Through Its Path
Updated on 2022-09-15 GMT+08:00

Obtaining the ID of a Catalog Through Its Path

Description

This API is used to obtain the ID of a catalog through its path.

URL

  • URI format

    GET /v1/{project_id}/service/servicecatalogs/ids[?path]

  • Parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID. For details about how to obtain the project ID, see Project ID and Account ID.

    path

    Yes

    String

    Catalog path

Request Message

  • Example request

    None

Response

  • Example response
    {
      "catalog_id": "2847131b4d5a26c5bd4bfd9d8f63f577"
    }
  • Response parameter description

    Parameter

    Type

    Description

    catalog_id

    String

    Catalog ID

Status Code

Status Code

Description

200

The catalog ID is obtained.

For details about status codes, see Status Codes.