Updated on 2023-12-13 GMT+08:00

Obtaining the Log Download Link

Function

This API is used to obtain the link for downloading logs.

Request Parameters

None

Response Parameters

Status code: 200

Status code: 400

Status code: 401

Status code: 403

Status code: 404

Status code: 500

Example Requests

POST https://{dcs_endpoint}/v2/0524e839a54847039e9b2b46e8aa788a/instances/5c597ce5-9823-48aa-bf4d-2defb9385b4a/redislog/3ea6ce21-048e-447a-83c3-3fb004b88439/links

Example Responses

Status code: 200

Log download link obtained successfully.

{
  "id" : "3ea6ce21-048e-447a-83c3-3fb004b88439",
  "backup_id" : "3ea6ce21-048e-447a-83c3-3fb004b88439",
  "link" : "https://bucketxxxxx.{obs_endpoint}:443/xxxxx/redis_192.168.x.x_2021-04-16.log?AWSAccessKeyId=xxxxx"
}

Status Codes

Error Codes

See Error Codes.