Querying a Service Catalog
Description
This API is used to query a service catalog.
URL
- URI format
- 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.
catalog_id
Yes
String
Catalog ID
Response
- Example response
{ "catalog_id": "2847131b4d5a26c5bd4bfd9d8f63f577", "name": "demo", "path": "/demo1/demo2/demo", "catalog_total": 1, "api_total": 1, "description": "this is a demo", "create_time": 1578284788000, "create_user": "Tim", "update_time": 1578284788000, "update_user": "Tim" }
- Response parameter description
Parameter
Type
Description
catalog_id
String
Catalog ID
name
String
Catalog name
path
String
Catalog path
catalog_total
String
Total number of catalogs
api_total
String
Total number of APIs in the catalog
description
String
Description
create_time
Long
Time when the catalog was created, which is a 13-digit timestamp
create_user
String
Name of the creator
update_time
Long
Time when the catalog was updated, which is a 13-digit timestamp
update_user
String
User who updated the catalog
Status Code
Status Code |
Description |
---|---|
200 |
The catalog is obtained. |
For details about status codes, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.