doc-exports/docs/lts/api-ref/CLASS.TXT.json
Hasko, Vladimir 255730fbf9 lts_api (recreate of #279)
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2022-12-02 09:17:17 +00:00

272 lines
10 KiB
JSON

[
{
"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":"lts",
"title":"API Description",
"uri":"lts_02_0001.html",
"doc_type":"api",
"p_code":"",
"code":"1"
},
{
"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 (Old Version)",
"uri":"lts_02_0002.html",
"doc_type":"api",
"p_code":"",
"code":"2"
},
{
"desc":"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",
"product_code":"lts",
"title":"Creating a Log Group",
"uri":"lts_02_0003.html",
"doc_type":"api",
"p_code":"2",
"code":"3"
},
{
"desc":"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/{",
"product_code":"lts",
"title":"Querying a Log Group",
"uri":"lts_02_0004.html",
"doc_type":"api",
"p_code":"2",
"code":"4"
},
{
"desc":"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",
"product_code":"lts",
"title":"Deleting a Log Group",
"uri":"lts_02_0005.html",
"doc_type":"api",
"p_code":"2",
"code":"5"
},
{
"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 (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":"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/",
"product_code":"lts",
"title":"Querying a Log Stream",
"uri":"lts_02_0008.html",
"doc_type":"api",
"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",
"product_code":"lts",
"title":"Deleting a log stream",
"uri":"lts_02_0009.html",
"doc_type":"api",
"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_0019.html",
"doc_type":"api",
"p_code":"",
"code":"26"
},
{
"desc":"Table 1 lists the status code.",
"product_code":"lts",
"title":"Status Code",
"uri":"lts_02_0020.html",
"doc_type":"api",
"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_0021.html",
"doc_type":"api",
"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.",
"product_code":"lts",
"title":"Change History",
"uri":"lts_02_0014.html",
"doc_type":"api",
"p_code":"",
"code":"30"
}
]