diff --git a/docs/tms/api-ref/.placeholder b/docs/tms/api-ref/.placeholder deleted file mode 100644 index e69de29bb..000000000 diff --git a/docs/tms/api-ref/ALL_META.TXT.json b/docs/tms/api-ref/ALL_META.TXT.json index 7dc171bc3..3f33ba05e 100644 --- a/docs/tms/api-ref/ALL_META.TXT.json +++ b/docs/tms/api-ref/ALL_META.TXT.json @@ -5,8 +5,8 @@ "code":"1", "des":"Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform ", "doc_type":"api", - "kw":"Calling APIs,API Reference", - "title":"Calling APIs", + "kw":"APIs,API Reference", + "title":"APIs", "githuburl":"" }, { @@ -33,10 +33,10 @@ "uri":"en-us_topic_0133313256.html", "product_code":"tms", "code":"4", - "des":"This API is used to query the versions of all TMS APIs.GET /Example requestDomain-level tokens are required for invoking TMS APIs. For details, see Obtaining the Domain-L", + "des":"This API is used to query the versions of all TMS APIs.GET /Example requestParameter descriptionParameters in the responseNameTypeDescriptionversionsArraySpecifies all AP", "doc_type":"api", - "kw":"Querying All API Versions,Querying the API Version,API Reference", - "title":"Querying All API Versions", + "kw":"Querying the API Versions,Querying the API Version,API Reference", + "title":"Querying the API Versions", "githuburl":"" }, { @@ -73,7 +73,7 @@ "uri":"en-us_topic_0056765936.html", "product_code":"tms", "code":"8", - "des":"This API is used to query the predefined tag list.GET /v1.0/predefine_tagsParameter descriptionParameters in the requestNameMandatoryTypeDescriptionkeyNoStringKeySupports", + "des":"This API is used to query the predefined tag list.GET /v1.0/predefine_tagsParameter descriptionParameters in the requestNameMandatoryTypeDescriptionkeyNoStringSpecifies t", "doc_type":"api", "kw":"Querying the Predefined Tag List,Predefined Tag Operations,API Reference", "title":"Querying the Predefined Tag List", @@ -83,18 +83,48 @@ "uri":"en-us_topic_0060929630.html", "product_code":"tms", "code":"9", - "des":"This API is used for modifying predefined tags.PUT /v1.0/predefine_tagsParameter descriptionParameters in the requestNameMandatoryTypeDescriptionold_tagYespredefine_tag_r", + "des":"This API is used for modifying predefined tags.PUT /v1.0/predefine_tagsParameter descriptionParameters in the requestNameMandatoryTypeDescriptionold_tagYesObjectSpecifies", "doc_type":"api", "kw":"Modifying Predefined Tags,Predefined Tag Operations,API Reference", "title":"Modifying Predefined Tags", "githuburl":"" }, { - "uri":"en-us_topic_0126416865.html", + "uri":"en-us_topic_0170638684.html", "product_code":"tms", "code":"10", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", + "kw":"Permissions Policies and Supported Actions", + "title":"Permissions Policies and Supported Actions", + "githuburl":"" + }, + { + "uri":"en-us_topic_0180205868.html", + "product_code":"tms", + "code":"11", + "des":"This section describes fine-grained permissions management for your TMS. If your account does not need individual IAM users, then you may skip over this section.By defaul", + "doc_type":"api", + "kw":"Permissions Policies and Supported Actions,Permissions Policies and Supported Actions,API Reference", + "title":"Permissions Policies and Supported Actions", + "githuburl":"" + }, + { + "uri":"en-us_topic_0180205869.html", + "product_code":"tms", + "code":"12", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"TMS API Actions,Permissions Policies and Supported Actions,API Reference", + "title":"TMS API Actions", + "githuburl":"" + }, + { + "uri":"en-us_topic_0126416865.html", + "product_code":"tms", + "code":"13", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", "kw":"Appendix", "title":"Appendix", "githuburl":"" @@ -102,47 +132,37 @@ { "uri":"en-us_topic_0130578970.html", "product_code":"tms", - "code":"11", + "code":"14", "des":"NormalReturned ValueDescription200 OKThe results of GET and PUT operations are returned as expected.201 CreatedThe results of the POST operation are returned as expected.", "doc_type":"api", - "kw":"Status Code,Appendix,API Reference", - "title":"Status Code", + "kw":"Status Codes,Appendix,API Reference", + "title":"Status Codes", "githuburl":"" }, { "uri":"en-us_topic_0057939857.html", "product_code":"tms", - "code":"12", + "code":"15", "des":"If the returned status code of a TMS API is 400, the customized error information will also be returned. This section describes the meaning of each TMS error code.", "doc_type":"api", - "kw":"Error Code Description,Appendix,API Reference", - "title":"Error Code Description", + "kw":"Error Codes,Appendix,API Reference", + "title":"Error Codes", "githuburl":"" }, { "uri":"en-us_topic_0126416752.html", "product_code":"tms", - "code":"13", - "des":"A project ID needs to be specified in the URIs of some APIs. Therefore, you need to obtain the project ID before calling APIs. The following procedure describes how to ob", + "code":"16", + "des":"A project ID is required for some URLs when an API is called. Therefore, you need to obtain a project ID in advance. Two methods are available:Obtain the Project ID by Ca", "doc_type":"api", "kw":"Obtaining a Project ID,Appendix,API Reference", "title":"Obtaining a Project ID", "githuburl":"" }, - { - "uri":"en-us_topic_0186103096.html", - "product_code":"tms", - "code":"14", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"api", - "kw":"Obtaining the Domain-Level Token,Appendix,API Reference", - "title":"Obtaining the Domain-Level Token", - "githuburl":"" - }, { "uri":"en-us_topic_0057939858.html", "product_code":"tms", - "code":"15", + "code":"17", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Change History,API Reference", diff --git a/docs/tms/api-ref/CLASS.TXT.json b/docs/tms/api-ref/CLASS.TXT.json index 566271e18..896d3b837 100644 --- a/docs/tms/api-ref/CLASS.TXT.json +++ b/docs/tms/api-ref/CLASS.TXT.json @@ -2,7 +2,7 @@ { "desc":"Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform ", "product_code":"tms", - "title":"Calling APIs", + "title":"APIs", "uri":"en-us_topic_0056283725.html", "doc_type":"api", "p_code":"", @@ -27,9 +27,9 @@ "code":"3" }, { - "desc":"This API is used to query the versions of all TMS APIs.GET /Example requestDomain-level tokens are required for invoking TMS APIs. For details, see Obtaining the Domain-L", + "desc":"This API is used to query the versions of all TMS APIs.GET /Example requestParameter descriptionParameters in the responseNameTypeDescriptionversionsArraySpecifies all AP", "product_code":"tms", - "title":"Querying All API Versions", + "title":"Querying the API Versions", "uri":"en-us_topic_0133313256.html", "doc_type":"api", "p_code":"3", @@ -63,7 +63,7 @@ "code":"7" }, { - "desc":"This API is used to query the predefined tag list.GET /v1.0/predefine_tagsParameter descriptionParameters in the requestNameMandatoryTypeDescriptionkeyNoStringKeySupports", + "desc":"This API is used to query the predefined tag list.GET /v1.0/predefine_tagsParameter descriptionParameters in the requestNameMandatoryTypeDescriptionkeyNoStringSpecifies t", "product_code":"tms", "title":"Querying the Predefined Tag List", "uri":"en-us_topic_0056765936.html", @@ -72,7 +72,7 @@ "code":"8" }, { - "desc":"This API is used for modifying predefined tags.PUT /v1.0/predefine_tagsParameter descriptionParameters in the requestNameMandatoryTypeDescriptionold_tagYespredefine_tag_r", + "desc":"This API is used for modifying predefined tags.PUT /v1.0/predefine_tagsParameter descriptionParameters in the requestNameMandatoryTypeDescriptionold_tagYesObjectSpecifies", "product_code":"tms", "title":"Modifying Predefined Tags", "uri":"en-us_topic_0060929630.html", @@ -83,47 +83,65 @@ { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"tms", - "title":"Appendix", - "uri":"en-us_topic_0126416865.html", + "title":"Permissions Policies and Supported Actions", + "uri":"en-us_topic_0170638684.html", "doc_type":"api", "p_code":"", "code":"10" }, { - "desc":"NormalReturned ValueDescription200 OKThe results of GET and PUT operations are returned as expected.201 CreatedThe results of the POST operation are returned as expected.", + "desc":"This section describes fine-grained permissions management for your TMS. If your account does not need individual IAM users, then you may skip over this section.By defaul", "product_code":"tms", - "title":"Status Code", - "uri":"en-us_topic_0130578970.html", + "title":"Permissions Policies and Supported Actions", + "uri":"en-us_topic_0180205868.html", "doc_type":"api", "p_code":"10", "code":"11" }, { - "desc":"If the returned status code of a TMS API is 400, the customized error information will also be returned. This section describes the meaning of each TMS error code.", + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"tms", - "title":"Error Code Description", - "uri":"en-us_topic_0057939857.html", + "title":"TMS API Actions", + "uri":"en-us_topic_0180205869.html", "doc_type":"api", "p_code":"10", "code":"12" }, { - "desc":"A project ID needs to be specified in the URIs of some APIs. Therefore, you need to obtain the project ID before calling APIs. The following procedure describes how to ob", + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"tms", + "title":"Appendix", + "uri":"en-us_topic_0126416865.html", + "doc_type":"api", + "p_code":"", + "code":"13" + }, + { + "desc":"NormalReturned ValueDescription200 OKThe results of GET and PUT operations are returned as expected.201 CreatedThe results of the POST operation are returned as expected.", + "product_code":"tms", + "title":"Status Codes", + "uri":"en-us_topic_0130578970.html", + "doc_type":"api", + "p_code":"13", + "code":"14" + }, + { + "desc":"If the returned status code of a TMS API is 400, the customized error information will also be returned. This section describes the meaning of each TMS error code.", + "product_code":"tms", + "title":"Error Codes", + "uri":"en-us_topic_0057939857.html", + "doc_type":"api", + "p_code":"13", + "code":"15" + }, + { + "desc":"A project ID is required for some URLs when an API is called. Therefore, you need to obtain a project ID in advance. Two methods are available:Obtain the Project ID by Ca", "product_code":"tms", "title":"Obtaining a Project ID", "uri":"en-us_topic_0126416752.html", "doc_type":"api", - "p_code":"10", - "code":"13" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"tms", - "title":"Obtaining the Domain-Level Token", - "uri":"en-us_topic_0186103096.html", - "doc_type":"api", - "p_code":"10", - "code":"14" + "p_code":"13", + "code":"16" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -132,6 +150,6 @@ "uri":"en-us_topic_0057939858.html", "doc_type":"api", "p_code":"", - "code":"15" + "code":"17" } ] \ No newline at end of file diff --git a/docs/tms/api-ref/en-us_image_0000001369705766.png b/docs/tms/api-ref/en-us_image_0000001508295281.png similarity index 100% rename from docs/tms/api-ref/en-us_image_0000001369705766.png rename to docs/tms/api-ref/en-us_image_0000001508295281.png diff --git a/docs/tms/api-ref/en-us_topic_0056283725.html b/docs/tms/api-ref/en-us_topic_0056283725.html index 7ff511bea..ecfb04e31 100644 --- a/docs/tms/api-ref/en-us_topic_0056283725.html +++ b/docs/tms/api-ref/en-us_topic_0056283725.html @@ -1,6 +1,6 @@ -

Calling APIs

+

APIs

Public cloud APIs comply with the RESTful API design principles. REST-based Web services are organized into resources. Each resource is identified by one or more Uniform Resource Identifiers (URIs). An application accesses a resource based on the resource's Unified Resource Locator (URL). A URL is usually in the following format: https://Endpoint/uri. In the URL, uri indicates the resource path, that is, the API access path.

Public cloud APIs use HTTPS as the transmission protocol. Requests/Responses are transmitted by using JSON messages, with media type represented by Application/json.

For details about how to use APIs, see API Usage Guidelines.

diff --git a/docs/tms/api-ref/en-us_topic_0056765935.html b/docs/tms/api-ref/en-us_topic_0056765935.html index 9c9993879..e26180d26 100644 --- a/docs/tms/api-ref/en-us_topic_0056765935.html +++ b/docs/tms/api-ref/en-us_topic_0056765935.html @@ -33,7 +33,7 @@

Yes

-

List<predefine_tag_request>

+

Array of objects

Specifies the tag list.

For details, see Table 2.

@@ -42,35 +42,35 @@
-
  • predefine_tag_request field description -
    Table 2 Parameter description

    Name

    +
  • tags field description +
    - - - - - - - - - - - @@ -98,9 +98,9 @@
    • Example response

      None

    -

    Status Codes

    See Status Code.

    +

    Status Codes

    See Status Codes.

    -

    Error Codes

    See Error Code Description.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/tms/api-ref/en-us_topic_0056765936.html b/docs/tms/api-ref/en-us_topic_0056765936.html index 31f3e822d..a0f8f4559 100644 --- a/docs/tms/api-ref/en-us_topic_0056765936.html +++ b/docs/tms/api-ref/en-us_topic_0056765936.html @@ -22,7 +22,7 @@
    - @@ -32,7 +32,7 @@ - @@ -79,10 +79,10 @@ @@ -103,7 +103,7 @@ -
    Table 2 Parameter description

    Name

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    key

    +

    key

    Yes

    +

    Yes

    String

    +

    String

    Specifies the key.

    -

    It cannot be left blank and can contain a maximum of 36 Unicode characters. Can contain only digits, letters, hyphens (-), and underscores (_).

    +

    Specifies the key.

    +

    It cannot be left blank and can contain a maximum of 36 Unicode characters. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    value

    +

    value

    Yes

    +

    Yes

    String

    +

    String

    Specifies the value.

    -

    Each value contains a maximum of 43 Unicode characters and can be an empty string. Can contain only digits, letters, hyphens (-), and underscores (_).

    +

    Specifies the value.

    +

    Each value contains a maximum of 43 Unicode characters and can be an empty string. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    String

    Key

    +

    Specifies the key.

    Supports fuzzy search and is case insensitive. If this parameter value contains non-URL-safe characters, it must be URL encoded.

    String

    Value

    +

    Specifies the value.

    Supports fuzzy search and is case insensitive. If this parameter value contains non-URL-safe characters, it must be URL encoded.

    String

    Specifies the sorting method of the order_field field.

    -

    The value can be (case sensitive):

    +

    The method can be (case sensitive):

    • asc: ascending order
    • desc: descending order
    -

    Only one of the preceding values can be selected.

    -

    If this parameter is not transferred, the default value is desc.

    +

    Only one of the preceding sorting methods can be selected.

    +

    If this parameter is not specified, the default value is desc.

    tags

    List<predefine_tag>

    +

    Array of objects

    Specifies the tag list.

    For details, see Table 3.

    @@ -127,7 +127,7 @@
    -
  • predefine_tag field description +
  • tags field description
    Table 3 Parameter description

    Name

    Type

    @@ -141,7 +141,7 @@

    String

    Specifies the key.

    -

    It cannot be left blank and can contain a maximum of 36 Unicode characters. Can contain only digits, letters, hyphens (-), and underscores (_).

    +

    It cannot be left blank and can contain a maximum of 36 Unicode characters. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    value

    @@ -149,7 +149,7 @@

    String

    Specifies the value.

    -

    Each value contains a maximum of 43 Unicode characters and can be an empty string. Can contain only digits, letters, hyphens (-), and underscores (_).

    +

    Each value contains a maximum of 43 Unicode characters and can be an empty string. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    update_time

    @@ -181,9 +181,9 @@ } -

    Status Codes

    See Status Code.

    +

    Status Codes

    See Status Codes.

    -

    Error Codes

    See Error Code Description.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/tms/api-ref/en-us_topic_0057939857.html b/docs/tms/api-ref/en-us_topic_0057939857.html index cae10f3ca..d7e5a85ac 100644 --- a/docs/tms/api-ref/en-us_topic_0057939857.html +++ b/docs/tms/api-ref/en-us_topic_0057939857.html @@ -1,6 +1,6 @@ -

    Error Code Description

    +

    Error Codes

    Function Description

    If the returned status code of a TMS API is 400, the customized error information will also be returned. This section describes the meaning of each TMS error code.

    Response Format

    STATUS CODE 400
    @@ -10,297 +10,324 @@
          }

    Error Code Description

    -

    Module

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/docs/tms/api-ref/en-us_topic_0057939858.html b/docs/tms/api-ref/en-us_topic_0057939858.html index 18b263dce..1d2c51bca 100644 --- a/docs/tms/api-ref/en-us_topic_0057939858.html +++ b/docs/tms/api-ref/en-us_topic_0057939858.html @@ -8,52 +8,58 @@ - - + + + - - - - - - -

    Status Code

    HTTP Status Code

    +

    Error Code

    Error Code

    +

    Error Message

    Description

    +

    Description

    Error Message

    -

    Measure

    +

    Solution

    Public

    +

    500

    500

    +

    TMS.0001

    TMS.0001

    +

    System error.

    System error

    +

    System error.

    System error.

    -

    Contact technical support.

    +

    Contact technical support.

    400

    +

    400

    TMS.0002

    +

    TMS.0002

    Invalid request from the client

    +

    Bad request.

    Bad request.

    +

    Invalid request from the client.

    Enter correct parameters.

    +

    Enter valid parameters.

    401

    +

    401

    TMS.0003

    +

    TMS.0003

    Authentication fails or the valid authentication information is not provided.

    +

    The user is unauthorized.

    The user is unauthorized.

    +

    Authentication fails or the valid authentication information is not provided.

    Check whether the username or password for obtaining the token is correct.

    +

    Check whether the username or password for obtaining the token is correct.

    403

    +

    403

    TMS.0004

    +

    TMS.0004

    The authentication information is incorrect or the service invoker does not have sufficient permissions.

    +

    You do not have permissions to perform the operation.

    You do not have permissions to perform the operation.

    +

    The authentication information is incorrect or the service invoker does not have sufficient permissions.

    Check whether the username, password, or the user permissions for obtaining the token are correct.

    +

    Check whether the username, password, or the user permissions for obtaining the token are correct.

    404

    +

    404

    TMS.0005

    +

    TMS.0005

    The requested resource cannot be found.

    +

    The resources requested cannot be found.

    The resources requested cannot be found.

    +

    The requested resource cannot be found.

    Provide a correct resource ID.

    +

    Enter a valid resource ID.

    403

    +

    403

    TMS.0006

    +

    TMS.0006

    The numbers of requests are too many.

    +

    The request is Too much, try again later.

    The request is Too much, try again later.

    +

    The numbers of requests are too many.

    Reduce the number of concurrent requests or wait for a retry.

    +

    Reduce the number of concurrent requests or try again later.

    400

    +

    400

    TMS.0007

    +

    TMS.0007

    Limit is invalid.

    +

    Limit is invalid.

    Limit is invalid.

    +

    Limit is invalid.

    Enter a correct Limit value.

    +

    Enter a valid Limit value.

    400

    +

    400

    TMS.0008

    +

    TMS.0008

    Marker is invalid.

    +

    Marker is invalid.

    Marker is invalid.

    +

    Marker is invalid.

    Enter a correct Marker value.

    +

    Enter a valid Marker value.

    400

    +

    400

    TMS.0009

    +

    TMS.0009

    Key is invalid.

    +

    Key is invalid.

    Key is invalid.

    +

    Key is invalid.

    Enter a correct Key value.

    +

    Enter a valid Key value.

    400

    +

    400

    TMS.0010

    +

    TMS.0010

    Value is invalid.

    +

    Value is invalid.

    Value is invalid.

    +

    Value is invalid.

    Enter a correct Value value.

    +

    Enter a valid Value value.

    400

    +

    400

    TMS.0011

    +

    TMS.0011

    Action is invalid.

    +

    Action is invalid.

    Action is invalid.

    +

    Action is invalid.

    Enter a correct Action value.

    +

    Enter a valid Action value.

    400

    +

    400

    TMS.0012

    +

    TMS.0012

    Tags is an empty array.

    +

    Tags is empty.

    Tags is empty.

    +

    Tags is left blank.

    Enter a correct Tags value.

    +

    Specify Tags.

    400

    +

    400

    TMS.0013

    +

    TMS.0013

    Elements in Tags are empty.

    +

    Empty element in Tags.

    Empty element in Tags.

    +

    Tags is invalid.

    Enter a correct Tags value.

    +

    Enter a valid Tags value.

    400

    +

    400

    TMS.0014

    +

    TMS.0014

    Values is invalid.

    +

    Values is empty.

    Values is empty.

    +

    Values is invalid.

    Enter a correct Values value.

    +

    Enter a valid Values value.

    Predefine dtag

    +

    400

    400

    +

    TMS.0016

    TMS.1001

    +

    Values is too much.

    The number of predefined tags exceeds the quota.

    +

    The maximum number of values for Values has been exceeded.

    The number of predefine tag exceeds the upper limit.

    -

    Reduce the number of predefined tags.

    +

    Enter no more than 10 values.

    400

    +

    400

    TMS.1002

    +

    TMS.0017

    Old_tag cannot be found.

    +

    Offset is invalid.

    Old_tag cannot be found.

    +

    Offset is invalid.

    Check parameter Old_tag.

    +

    Enter a valid Offset value.

    400

    +

    504

    TMS.1003

    +

    TMS.0018

    New_tag already exists.

    +

    Query Time Out.

    New_tag already exists.

    +

    Query timed out.

    Check parameter New-tag.

    +

    Try again later.

    400

    +

    400

    TMS.1004

    +

    TMS.1001

    Old_tag is empty.

    +

    The number of predefine tag exceeds the upper limit.

    Old_tag is empty.

    +

    The number of predefined tags exceeds the quota.

    Ensure that parameter Old_tag is not empty.

    +

    Enter no more than 500 predefined tags.

    400

    +

    400

    TMS.1005

    +

    TMS.1002

    The key in Old_tag is invalid.

    +

    Old_tag cannot be found.

    Invalid key in Old_tag.

    +

    Old_tag cannot be found.

    Check whether the key in Old_tag is valid.

    +

    Specify Old_tag.

    400

    +

    400

    TMS.1006

    +

    TMS.1003

    The value in Old_tag is invalid.

    +

    New_tag already exists.

    Invalid value in Old_tag.

    +

    New_tag already exists.

    Check whether the value in Old_tag is valid.

    +

    Enter another value for New-tag.

    400

    +

    400

    TMS.1007

    +

    TMS.1004

    New_tag is empty.

    +

    Old_tag is empty.

    New_tag is empty.

    +

    Old_tag is left blank.

    Ensure that parameter New_tag is not empty.

    +

    Specify Old_tag.

    400

    +

    400

    TMS.1008

    +

    TMS.1005

    The key in New_tag is invalid.

    +

    Invalid key in Old_tag.

    Invalid key in New_tag.

    +

    The key in Old_tag is invalid.

    Check whether the key in New_tag is valid.

    +

    Enter a valid key in Old_tag.

    400

    +

    400

    TMS.1009

    +

    TMS.1006

    The value in New_tag is invalid.

    +

    Invalid value in Old_tag.

    Invalid value in New_tag.

    +

    The value in Old_tag is invalid.

    Check whether the value in New_tag is valid.

    +

    Enter a valid value in Old_tag.

    400

    +

    400

    TMS.1010

    +

    TMS.1007

    Order_field is invalid.

    +

    New_tag is empty.

    Order_field is invalid.

    +

    New_tag is left blank.

    Check whether parameter Order_field is valid.

    +

    Specify New_tag.

    400

    +

    400

    TMS.1011

    +

    TMS.1008

    Order_method is invalid.

    +

    Invalid key in New_tag.

    Order_method is invalid.

    +

    The key in New_tag is invalid.

    Check whether parameter Order_method is valid.

    +

    Enter a valid key in New_tag.

    +

    400

    +

    TMS.1009

    +

    Invalid value in New_tag.

    +

    The value in New_tag is invalid.

    +

    Enter a valid value in New_tag.

    +

    400

    +

    TMS.1010

    +

    Order_field is invalid.

    +

    Order_field is invalid.

    +

    Enter a valid Order_field value.

    +

    400

    +

    TMS.1011

    +

    Order_method is invalid.

    +

    Order_method is invalid.

    +

    Enter a valid Order_method value.

    2018-11-06

    +

    2023-04-07

    This release incorporates the following changes:

    +

    This release incorporates the following change:

    +

    Added Permissions Policies and Supported Actions.

    +

    2018-11-06

    +

    This release incorporates the following change:

    Accepted in OTC 3.2.

    2018-09-30

    This release incorporates the following changes:

    +

    This release incorporates the following change:

    Added APIs for querying version information.

    2018-06-15

    This release incorporates the following changes:

    -

    Modified the value requirements for Key and Value.

    +

    Modified the requirements for Key and Value.

    2018-03-30

    This release incorporates the following changes:

    -

    Modified the value requirements for Key and Value.

    +

    This release incorporates the following change:

    +

    Modified the requirements for Key and Value.

    2018-03-16

    This release incorporates the following changes:

    +

    This release incorporates the following change:

    Optimized the descriptions of error codes.

    2017-08-29

    This release incorporates the following changes:

    -

    Optimized the URI parameter description in section Creating or Deleting Predefined Tags.

    +

    This release incorporates the following change:

    +

    Optimized the URI parameter description in Creating or Deleting Predefined Tags.

    2017-07-28

    This release incorporates the following changes:

    +

    This release incorporates the following change:

    Modified the sample code.

    2017-05-26

    This release incorporates the following changes:

    - +

    2017-05-05

    diff --git a/docs/tms/api-ref/en-us_topic_0060929630.html b/docs/tms/api-ref/en-us_topic_0060929630.html index 26dc36444..f5756af86 100644 --- a/docs/tms/api-ref/en-us_topic_0060929630.html +++ b/docs/tms/api-ref/en-us_topic_0060929630.html @@ -20,7 +20,7 @@

    Yes

    predefine_tag_request

    +

    Object

    Specifies the tag to be modified.

    For details, see Table 2.

    @@ -30,44 +30,78 @@

    Yes

    predefine_tag_request

    +

    Object

    Specifies the tag that has been modified.

    -

    For details, see Table 2.

    +

    For details, see Table 3.

    -
  • predefine_tag_request field description -
    Table 2 Parameter description

    Name

    +
  • old_tag field description +
    - - - - - - - - - - - + + +
    Table 2 Parameter description

    Name

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    key

    +

    key

    Yes

    +

    Yes

    String

    +

    String

    Specifies the key.

    -

    It cannot be left blank and can contain a maximum of 36 Unicode characters. Can contain only digits, letters, hyphens (-), and underscores (_).

    +

    Specifies the key.

    +

    It cannot be left blank and can contain a maximum of 36 Unicode characters. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    value

    +

    value

    Yes

    +

    Yes

    String

    +

    String

    Specifies the value.

    -

    Each value contains a maximum of 43 Unicode characters and can be an empty string. Can contain only digits, letters, hyphens (-), and underscores (_).

    +

    Specifies the value.

    +

    Each value contains a maximum of 43 Unicode characters and can be an empty string. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    +
    +
    +
  • new_tag field description +
    + + + + + + + + + + + + + + @@ -92,9 +126,9 @@
    • Example response

      None

    -

    Status Codes

    See Status Code.

    +

    Status Codes

    See Status Codes.

    -

    Error Codes

    See Error Code Description.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/tms/api-ref/en-us_topic_0126416752.html b/docs/tms/api-ref/en-us_topic_0126416752.html index 6cb622c4a..e23c6d53f 100644 --- a/docs/tms/api-ref/en-us_topic_0126416752.html +++ b/docs/tms/api-ref/en-us_topic_0126416752.html @@ -1,12 +1,43 @@

    Obtaining a Project ID

    -
    A project ID needs to be specified in the URIs of some APIs. Therefore, you need to obtain the project ID before calling APIs. The following procedure describes how to obtain a project ID:
    1. Log in to the management console.
    2. Click the username and select My Credential from the drop-down list.

      On the My Credential page, view project IDs in the project list.

      -
      Figure 1 Viewing project IDs
      +

      Scenarios

      A project ID is required for some URLs when an API is called. Therefore, you need to obtain a project ID in advance. Two methods are available:

      + +
      +

      Obtain the Project ID by Calling an API

      You can obtain the project ID by calling the IAM API used to query project information based on the specified criteria.

      +

      The API used to obtain a project ID is GET https://{Endpoint}/v3/projects. {Endpoint} is the IAM endpoint and can be obtained from Regions and Endpoints.

      +

      The following is an example response. The value of id is the project ID.

      +
      {
      +    "projects": [
      +        {
      +            "domain_id": "65382450e8f64ac0870cd180d14e684b",
      +            "is_domain": false,
      +            "parent_id": "65382450e8f64ac0870cd180d14e684b",
      +            "name": "project_name",
      +            "description": "",
      +            "links": {
      +                "next": null,
      +                "previous": null,
      +                "self": "https://www.example.com/v3/projects/a4a5d4098fb4474fa22cd05f897d6b99"
      +            },
      +            "id": "a4a5d4098fb4474fa22cd05f897d6b99",
      +            "enabled": true
      +        }
      +    ],
      +    "links": {
      +        "next": null,
      +        "previous": null,
      +        "self": "https://www.example.com/v3/projects"
      +    }
      +}
      +
      +

      Obtain a Project ID from the Console

      A project ID needs to be specified in the URIs of some APIs. Therefore, you need to obtain the project ID before calling APIs. The following procedure describes how to obtain a project ID:
      1. Log in to the management console.
      2. Click the username and select My Credentials from the drop-down list.

        On the My Credentials page, view project IDs in the project list.

        +
        Figure 1 Viewing project IDs

        In multi-project scenarios, expand the region, and obtain your sub-project ID from the Project ID column.

      +
    Table 3 Parameter description

    Name

    +

    Mandatory

    +

    Type

    +

    Description

    +

    key

    +

    Yes

    +

    String

    +

    Specifies the key.

    +

    It cannot be left blank and can contain a maximum of 36 Unicode characters. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    +

    value

    +

    Yes

    +

    String

    +

    Specifies the value.

    +

    Each value contains a maximum of 43 Unicode characters and can be an empty string. Only digits, letters, hyphens (-), and underscores (_) are allowed.

    @@ -50,7 +50,7 @@ -

    Returned Value

    403 Forbidden

    You are forbidden to access the requested page.

    +

    Access to the requested page is denied.

    404 Not Found

    diff --git a/docs/tms/api-ref/en-us_topic_0133313255.html b/docs/tms/api-ref/en-us_topic_0133313255.html index 581ad1577..cd4434a5e 100644 --- a/docs/tms/api-ref/en-us_topic_0133313255.html +++ b/docs/tms/api-ref/en-us_topic_0133313255.html @@ -4,7 +4,7 @@