Manage data models

更新时间:
复制 MD 格式

On the data models page, you can view and manage data models that you have created.

View data models

On the data model list page, you can view all data models, the number of APIs attached to each model, and their creation times.

Note

If a data model is used for both the request and response of an API, the Number of attached APIs is counted as one.

View data model details

In the data model list, click a data model name to open its details page. This page shows the following detailed information:

  • Basic information: The name, creator, creation time, and description of the data model.

  • Attached APIs:

    • A list of all APIs attached to the data model and their basic information, including the API name, API group, number of authorized applications, frontend protocol type, and URI of the request.

    • From this list, you can click an API name to open its details page and view specific information, such as monitoring data.

  • Parameter settings: The list of parameters configured for the data model.

  • Historical version parameter settings: The parameter settings for previous versions of the data model.

Edit a data model

You can edit a data model in one of the following ways:

  • In the data model list, find the data model that you want to edit and click Edit in the Operation column.

  • On the details page of the data model, click Edit in the upper-right corner.

Note

You cannot edit a data model if a circular dependency exists in its child class models.

Delete a data model

Note

You cannot delete a data model if it is referenced or has APIs attached to it.

You can delete a data model in one of the following ways:

  • On the data model list page, find the data model that you want to delete, click Delete in the Operation column, and then click OK in the confirmation dialog box.

  • On the details page of the data model, click Delete in the upper-right corner, and then click OK in the confirmation dialog box.