This topic describes the differences between the two versions of Resource Directory API.

Resource Directory API has two versions: 2022-04-19 (new version) and 2020-03-31 (old version). The following descriptions provide information about the two versions:

  • The API has the same features in the two versions. However, we recommend that you select only one version for use.
    Note API operations that are no longer maintained in the 2020-03-31 version are not provided in the 2022-04-19 version.
  • The API has different endpoints in the two versions.
    • 2022-04-19: Different endpoints are used for the API at the China site (aliyun.com) and the international site (alibabacloud.com). For more information, see Endpoints.
    • 2020-03-31: The endpoint resourcemanager.aliyuncs.com is used for the API at both the China site (aliyun.com) and the international site (alibabacloud.com).
  • We recommend that you use the API of the 2022-04-19 version.

    The API of the 2020-03-31 version can still be used but will no longer be maintained in the future. New features will be integrated into the API of the 2022-04-19 version.