Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Uploading Migration Task Logs

Updated on 2024-09-04 GMT+08:00

Function

This API is used to upload the logs of a migration task.

Calling Method

For details, see Calling APIs.

URI

POST /v3/tasks/{task_id}/log

Table 1 Path parameter

Parameter

Mandatory

Type

Description

task_id

Yes

String

The migration task ID.

Minimum length: 0 characters

Maximum length: 255 characters

Request

Table 2 Request header parameter

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

The user token.

Minimum length: 1 character

Maximum length: 16,384 characters

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

log_bucket

Yes

String

The bucket name.

Minimum length: 0 characters

Maximum length: 255 characters

log_expire

Yes

Integer

The validity period

Minimum value: 300

Maximum value: 64800

Response

None

Example Request

This example uploads migration task logs to bucket centos and sets the URL validity period to 300 seconds.

POST https://{endpoint}/v3/tasks/{task_id}/log

{
  "log_bucket" : "centtos",
  "log_expire" : 300
}

Example Response

None

Status Codes

Status Code

Description

200

ok

Error Codes

For details, see Error Codes.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback