diff --git a/docs/lts/api-ref/ALL_META.TXT.json b/docs/lts/api-ref/ALL_META.TXT.json index ff9806368..05a66dc43 100644 --- a/docs/lts/api-ref/ALL_META.TXT.json +++ b/docs/lts/api-ref/ALL_META.TXT.json @@ -15,8 +15,8 @@ "code":"2", "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":"Log Group Management", - "title":"Log Group Management", + "kw":"Log Group Management (Old Version)", + "title":"Log Group Management (Old Version)", "githuburl":"" }, { @@ -25,7 +25,7 @@ "code":"3", "des":"This API is used to create a log group. All API URLs described in this section must be case-sensitive.This function describes how to create a log group for log storage an", "doc_type":"api", - "kw":"Creating a Log Group,Log Group Management,API Reference", + "kw":"Creating a Log Group,Log Group Management (Old Version),API Reference", "title":"Creating a Log Group", "githuburl":"" }, @@ -35,7 +35,7 @@ "code":"4", "des":"This function describes how to query a log group you have created to obtain its name, ID, expiration time, and creation time.URI formatGET /v2.0/{project_id}/log-groups/{", "doc_type":"api", - "kw":"Querying a Log Group,Log Group Management,API Reference", + "kw":"Querying a Log Group,Log Group Management (Old Version),API Reference", "title":"Querying a Log Group", "githuburl":"" }, @@ -45,54 +45,214 @@ "code":"5", "des":"This function describes how to delete a log group that will not be used.Before deleting a log group, ensure that the log group has no log transfer tasks. Deleted log grou", "doc_type":"api", - "kw":"Deleting a Log Group,Log Group Management,API Reference", + "kw":"Deleting a Log Group,Log Group Management (Old Version),API Reference", + "title":"Deleting a Log Group", + "githuburl":"" + }, + { + "uri":"lts_api_0011.html", + "product_code":"lts", + "code":"6", + "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":"Log Group Management (New Version)", + "title":"Log Group Management (New Version)", + "githuburl":"" + }, + { + "uri":"lts_api_0012.html", + "product_code":"lts", + "code":"7", + "des":"This API is used to create a log group for log retention and query. You can create a maximum of 100 log groups.POST /v2/{project_id}/groupsURI parameterParameterMandatory", + "doc_type":"api", + "kw":"Creating a Log Group,Log Group Management (New Version),API Reference", + "title":"Creating a Log Group", + "githuburl":"" + }, + { + "uri":"lts_api_0013.html", + "product_code":"lts", + "code":"8", + "des":"This API is used to query all log groups of an account.GET /v2/{project_id}/groupsStatus code: 200Status code: 401Status code: 403Status code: 500Status code: 200Status c", + "doc_type":"api", + "kw":"Querying All Log Groups of an Account,Log Group Management (New Version),API Reference", + "title":"Querying All Log Groups of an Account", + "githuburl":"" + }, + { + "uri":"lts_api_0024.html", + "product_code":"lts", + "code":"9", + "des":"This API is used to modify the log retention duration of a specified log group.POST /v2/{project_id}/groups/{log_group_id}Status code: 200Status code: 400Status code: 401", + "doc_type":"api", + "kw":"Modifying a Log Group,Log Group Management (New Version),API Reference", + "title":"Modifying a Log Group", + "githuburl":"" + }, + { + "uri":"lts_api_0014.html", + "product_code":"lts", + "code":"10", + "des":"This API is used to delete a specified log group. If the log streams in a log group have been associated with log transfer tasks, you need to delete the tasks first.DELET", + "doc_type":"api", + "kw":"Deleting a Log Group,Log Group Management (New Version),API Reference", "title":"Deleting a Log Group", "githuburl":"" }, { "uri":"lts_02_0006.html", "product_code":"lts", - "code":"6", + "code":"11", "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":"Log Stream Management", - "title":"Log Stream Management", + "kw":"Log Stream Management (Old Version)", + "title":"Log Stream Management (Old Version)", "githuburl":"" }, { "uri":"lts_02_0007.html", "product_code":"lts", - "code":"7", + "code":"12", "des":"This function describes how to create a log stream under a created log group. You can view and query raw logs under a log stream.URI formatPOST /v2.0/{project_id}/log-gro", "doc_type":"api", - "kw":"Creating a Log Stream,Log Stream Management,API Reference", + "kw":"Creating a Log Stream,Log Stream Management (Old Version),API Reference", "title":"Creating a Log Stream", "githuburl":"" }, { "uri":"lts_02_0008.html", "product_code":"lts", - "code":"8", + "code":"13", "des":"This function describes how to query a log stream you have created to obtain its name, ID, expiration time, and creation time.URI formatGET /v2.0/{project_id}/log-groups/", "doc_type":"api", - "kw":"Querying a Log Stream,Log Stream Management,API Reference", + "kw":"Querying a Log Stream,Log Stream Management (Old Version),API Reference", "title":"Querying a Log Stream", "githuburl":"" }, { "uri":"lts_02_0009.html", "product_code":"lts", - "code":"9", + "code":"14", "des":"This function describes how to delete a log stream that will not be used.Before deleting a log stream, ensure that the log stream has no log transfer tasks. Deleted log s", "doc_type":"api", - "kw":"Deleting a log stream,Log Stream Management,API Reference", + "kw":"Deleting a log stream,Log Stream Management (Old Version),API Reference", "title":"Deleting a log stream", "githuburl":"" }, { - "uri":"lts_02_0010.html", + "uri":"lts_api_0015.html", "product_code":"lts", - "code":"10", + "code":"15", + "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":"Log Stream Management (New Version)", + "title":"Log Stream Management (New Version)", + "githuburl":"" + }, + { + "uri":"lts_api_0016.html", + "product_code":"lts", + "code":"16", + "des":"This API is used to create a log stream in a specified log group.POST /v2/{project_id}/groups/{log_group_id}/streamsStatus code: 201Status code: 400Status code: 401Status", + "doc_type":"api", + "kw":"Creating a Log Stream,Log Stream Management (New Version),API Reference", + "title":"Creating a Log Stream", + "githuburl":"" + }, + { + "uri":"lts_api_0017.html", + "product_code":"lts", + "code":"17", + "des":"This API is used to query information about all log streams in a specified log group.GET /v2/{project_id}/groups/{log_group_id}/streamsStatus code: 200Status code: 401Sta", + "doc_type":"api", + "kw":"Querying All Log Streams in a Specified Log Group,Log Stream Management (New Version),API Reference", + "title":"Querying All Log Streams in a Specified Log Group", + "githuburl":"" + }, + { + "uri":"lts_api_0018.html", + "product_code":"lts", + "code":"18", + "des":"This API is used to delete a specified log stream from a specified log group. If a log transfer task has been associated with the log stream, delete the task first.DELETE", + "doc_type":"api", + "kw":"Deleting a Log Stream,Log Stream Management (New Version),API Reference", + "title":"Deleting a Log Stream", + "githuburl":"" + }, + { + "uri":"lts_api_0029.html", + "product_code":"lts", + "code":"19", + "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":"Log Management", + "title":"Log Management", + "githuburl":"" + }, + { + "uri":"lts_api_0028.html", + "product_code":"lts", + "code":"20", + "des":"This API is used to query logs in a specified log stream.POST /v2/{project_id}/groups/{log_group_id}/streams/{log_stream_id}/content/queryStatus code: 200Status code: 400", + "doc_type":"api", + "kw":"Querying Logs,Log Management,API Reference", + "title":"Querying Logs", + "githuburl":"" + }, + { + "uri":"lts_api_0026.html", + "product_code":"lts", + "code":"21", + "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":"Log Transfer", + "title":"Log Transfer", + "githuburl":"" + }, + { + "uri":"lts_api_0027.html", + "product_code":"lts", + "code":"22", + "des":"This API is used to transfer logs of one or more specified log streams to Object Storage Service (OBS).POST /v2/{project_id}/log-dump/obsStatus code: 201Status code: 400S", + "doc_type":"api", + "kw":"Creating a Log Transfer Task,Log Transfer,API Reference", + "title":"Creating a Log Transfer Task", + "githuburl":"" + }, + { + "uri":"lts_api_0030.html", + "product_code":"", + "code":"23", + "des":"This API is used to delete an OBS transfer task.DELETE /v2/{project_id}/transfersStatus code: 200Status code: 400Status code: 500Deleting a log transfer task based on the", + "doc_type":"", + "kw":"Deleting a Log Transfer Task,Log Transfer,API Reference", + "title":"Deleting a Log Transfer Task", + "githuburl":"" + }, + { + "uri":"lts_api_0031.html", + "product_code":"", + "code":"24", + "des":"This API is used to update an OBS transfer task.PUT /v2/{project_id}/transfersStatus code: 200Status code: 400Status code: 500Updating an OBS transfer taskPUT https://{en", + "doc_type":"", + "kw":"Updating a Log Transfer Task,Log Transfer,API Reference", + "title":"Updating a Log Transfer Task", + "githuburl":"" + }, + { + "uri":"lts_api_0032.html", + "product_code":"", + "code":"25", + "des":"This API is used to query an OBS transfer task.GET /v2/{project_id}/transfersStatus code: 200Status code: 400Status code: 500If no parameter is specified, all log transfe", + "doc_type":"", + "kw":"Querying a Log Transfer Task,Log Transfer,API Reference", + "title":"Querying a Log Transfer Task", + "githuburl":"" + }, + { + "uri":"lts_02_0019.html", + "product_code":"lts", + "code":"26", "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":"Public Parameters", @@ -100,9 +260,9 @@ "githuburl":"" }, { - "uri":"lts_02_0011.html", + "uri":"lts_02_0020.html", "product_code":"lts", - "code":"11", + "code":"27", "des":"Table 1 lists the status code.", "doc_type":"api", "kw":"Status Code,Public Parameters,API Reference", @@ -110,19 +270,29 @@ "githuburl":"" }, { - "uri":"lts_02_0012.html", + "uri":"lts_02_0021.html", "product_code":"lts", - "code":"12", + "code":"28", "des":"This section explains the meanings of error code responses returned by LTS APIs.{\"error_msg\":\"Current user is not authenticated correctly, check your token.\",\"error_code\"", "doc_type":"api", "kw":"Error Code,Public Parameters,API Reference", "title":"Error Code", "githuburl":"" }, + { + "uri":"lts_api_0006.html", + "product_code":"lts", + "code":"29", + "des":"Account and project IDs are required in URLs when you call some APIs.Obtain the IDs from the console.Log in to the LTS console.On the Log Management page, obtain the log ", + "doc_type":"api", + "kw":"Obtaining the AccountID, Project ID, Log Group ID, and Log Stream ID,Public Parameters,API Reference", + "title":"Obtaining the AccountID, Project ID, Log Group ID, and Log Stream ID", + "githuburl":"" + }, { "uri":"lts_02_0014.html", "product_code":"lts", - "code":"13", + "code":"30", "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/lts/api-ref/CLASS.TXT.json b/docs/lts/api-ref/CLASS.TXT.json index 3b8a1bc81..8e491cbcc 100644 --- a/docs/lts/api-ref/CLASS.TXT.json +++ b/docs/lts/api-ref/CLASS.TXT.json @@ -11,7 +11,7 @@ { "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":"lts", - "title":"Log Group Management", + "title":"Log Group Management (Old Version)", "uri":"lts_02_0002.html", "doc_type":"api", "p_code":"", @@ -47,20 +47,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":"lts", - "title":"Log Stream Management", - "uri":"lts_02_0006.html", + "title":"Log Group Management (New Version)", + "uri":"lts_api_0011.html", "doc_type":"api", "p_code":"", "code":"6" }, + { + "desc":"This API is used to create a log group for log retention and query. You can create a maximum of 100 log groups.POST /v2/{project_id}/groupsURI parameterParameterMandatory", + "product_code":"lts", + "title":"Creating a Log Group", + "uri":"lts_api_0012.html", + "doc_type":"api", + "p_code":"6", + "code":"7" + }, + { + "desc":"This API is used to query all log groups of an account.GET /v2/{project_id}/groupsStatus code: 200Status code: 401Status code: 403Status code: 500Status code: 200Status c", + "product_code":"lts", + "title":"Querying All Log Groups of an Account", + "uri":"lts_api_0013.html", + "doc_type":"api", + "p_code":"6", + "code":"8" + }, + { + "desc":"This API is used to modify the log retention duration of a specified log group.POST /v2/{project_id}/groups/{log_group_id}Status code: 200Status code: 400Status code: 401", + "product_code":"lts", + "title":"Modifying a Log Group", + "uri":"lts_api_0024.html", + "doc_type":"api", + "p_code":"6", + "code":"9" + }, + { + "desc":"This API is used to delete a specified log group. If the log streams in a log group have been associated with log transfer tasks, you need to delete the tasks first.DELET", + "product_code":"lts", + "title":"Deleting a Log Group", + "uri":"lts_api_0014.html", + "doc_type":"api", + "p_code":"6", + "code":"10" + }, + { + "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":"lts", + "title":"Log Stream Management (Old Version)", + "uri":"lts_02_0006.html", + "doc_type":"api", + "p_code":"", + "code":"11" + }, { "desc":"This function describes how to create a log stream under a created log group. You can view and query raw logs under a log stream.URI formatPOST /v2.0/{project_id}/log-gro", "product_code":"lts", "title":"Creating a Log Stream", "uri":"lts_02_0007.html", "doc_type":"api", - "p_code":"6", - "code":"7" + "p_code":"11", + "code":"12" }, { "desc":"This function describes how to query a log stream you have created to obtain its name, ID, expiration time, and creation time.URI formatGET /v2.0/{project_id}/log-groups/", @@ -68,8 +113,8 @@ "title":"Querying a Log Stream", "uri":"lts_02_0008.html", "doc_type":"api", - "p_code":"6", - "code":"8" + "p_code":"11", + "code":"13" }, { "desc":"This function describes how to delete a log stream that will not be used.Before deleting a log stream, ensure that the log stream has no log transfer tasks. Deleted log s", @@ -77,35 +122,143 @@ "title":"Deleting a log stream", "uri":"lts_02_0009.html", "doc_type":"api", - "p_code":"6", - "code":"9" + "p_code":"11", + "code":"14" + }, + { + "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":"lts", + "title":"Log Stream Management (New Version)", + "uri":"lts_api_0015.html", + "doc_type":"api", + "p_code":"", + "code":"15" + }, + { + "desc":"This API is used to create a log stream in a specified log group.POST /v2/{project_id}/groups/{log_group_id}/streamsStatus code: 201Status code: 400Status code: 401Status", + "product_code":"lts", + "title":"Creating a Log Stream", + "uri":"lts_api_0016.html", + "doc_type":"api", + "p_code":"15", + "code":"16" + }, + { + "desc":"This API is used to query information about all log streams in a specified log group.GET /v2/{project_id}/groups/{log_group_id}/streamsStatus code: 200Status code: 401Sta", + "product_code":"lts", + "title":"Querying All Log Streams in a Specified Log Group", + "uri":"lts_api_0017.html", + "doc_type":"api", + "p_code":"15", + "code":"17" + }, + { + "desc":"This API is used to delete a specified log stream from a specified log group. If a log transfer task has been associated with the log stream, delete the task first.DELETE", + "product_code":"lts", + "title":"Deleting a Log Stream", + "uri":"lts_api_0018.html", + "doc_type":"api", + "p_code":"15", + "code":"18" + }, + { + "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":"lts", + "title":"Log Management", + "uri":"lts_api_0029.html", + "doc_type":"api", + "p_code":"", + "code":"19" + }, + { + "desc":"This API is used to query logs in a specified log stream.POST /v2/{project_id}/groups/{log_group_id}/streams/{log_stream_id}/content/queryStatus code: 200Status code: 400", + "product_code":"lts", + "title":"Querying Logs", + "uri":"lts_api_0028.html", + "doc_type":"api", + "p_code":"19", + "code":"20" + }, + { + "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":"lts", + "title":"Log Transfer", + "uri":"lts_api_0026.html", + "doc_type":"api", + "p_code":"", + "code":"21" + }, + { + "desc":"This API is used to transfer logs of one or more specified log streams to Object Storage Service (OBS).POST /v2/{project_id}/log-dump/obsStatus code: 201Status code: 400S", + "product_code":"lts", + "title":"Creating a Log Transfer Task", + "uri":"lts_api_0027.html", + "doc_type":"api", + "p_code":"21", + "code":"22" + }, + { + "desc":"This API is used to delete an OBS transfer task.DELETE /v2/{project_id}/transfersStatus code: 200Status code: 400Status code: 500Deleting a log transfer task based on the", + "product_code":"lts", + "title":"Deleting a Log Transfer Task", + "uri":"lts_api_0030.html", + "doc_type":"api", + "p_code":"21", + "code":"23" + }, + { + "desc":"This API is used to update an OBS transfer task.PUT /v2/{project_id}/transfersStatus code: 200Status code: 400Status code: 500Updating an OBS transfer taskPUT https://{en", + "product_code":"lts", + "title":"Updating a Log Transfer Task", + "uri":"lts_api_0031.html", + "doc_type":"api", + "p_code":"21", + "code":"24" + }, + { + "desc":"This API is used to query an OBS transfer task.GET /v2/{project_id}/transfersStatus code: 200Status code: 400Status code: 500If no parameter is specified, all log transfe", + "product_code":"lts", + "title":"Querying a Log Transfer Task", + "uri":"lts_api_0032.html", + "doc_type":"api", + "p_code":"21", + "code":"25" }, { "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":"lts", "title":"Public Parameters", - "uri":"lts_02_0010.html", + "uri":"lts_02_0019.html", "doc_type":"api", "p_code":"", - "code":"10" + "code":"26" }, { "desc":"Table 1 lists the status code.", "product_code":"lts", "title":"Status Code", - "uri":"lts_02_0011.html", + "uri":"lts_02_0020.html", "doc_type":"api", - "p_code":"10", - "code":"11" + "p_code":"26", + "code":"27" }, { "desc":"This section explains the meanings of error code responses returned by LTS APIs.{\"error_msg\":\"Current user is not authenticated correctly, check your token.\",\"error_code\"", "product_code":"lts", "title":"Error Code", - "uri":"lts_02_0012.html", + "uri":"lts_02_0021.html", "doc_type":"api", - "p_code":"10", - "code":"12" + "p_code":"26", + "code":"28" + }, + { + "desc":"Account and project IDs are required in URLs when you call some APIs.Obtain the IDs from the console.Log in to the LTS console.On the Log Management page, obtain the log ", + "product_code":"lts", + "title":"Obtaining the AccountID, Project ID, Log Group ID, and Log Stream ID", + "uri":"lts_api_0006.html", + "doc_type":"api", + "p_code":"26", + "code":"29" }, { "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.", @@ -114,6 +267,6 @@ "uri":"lts_02_0014.html", "doc_type":"api", "p_code":"", - "code":"13" + "code":"30" } ] \ No newline at end of file diff --git a/docs/lts/api-ref/lts_02_0002.html b/docs/lts/api-ref/lts_02_0002.html index 78f75742a..c7a40b460 100644 --- a/docs/lts/api-ref/lts_02_0002.html +++ b/docs/lts/api-ref/lts_02_0002.html @@ -1,6 +1,6 @@ -

Log Group Management

+

Log Group Management (Old Version)