docs
api
Data Transmission Service(UDTS)
ListUDTSTask

Get Task List Information - ListUDTSTask

Overview

Obtain the Task information created by the user

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListUDTSTask.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
OffsetstringOffset, default is 0No
LimitstringNumber of requests, default is 20No
TypestringTask TypeNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
Dataarray[ListDataItem]ListDataItem ArrayYes

Data Model

ListDataItem

Field NameTypeDescription InformationRequired
ServiceTypestringService Type, small, medium, largeYes
ChargeTypestringResource payment type, enumeration: Dynamic/ Month/ Year/ Trial/ DayYes
AutoRenewstringWhether to renew automatically, enumeration: Yes/ NoYes
IsExpirestringWhether the resource has expired, enumeration: Yes/ NoYes
ExpireTimeintResource Expiration TimestampYes
TaskIdstringTask IDYes
NamestringTask NameYes
TypestringTask Type, full for full backup, incremental for incremental backup, full+incremental for full plus incremental backup.Yes
MaxRetryCountintMaximum Number of Retry AttemptsNo
CurRetryCountintCurrent Failure Retry CountNo
StatusstringTask StatusNo
CreateTimeintCreation TimeNo
ProgressProgressFull migration progress information, empty during incremental migrationNo

Progress

Field NameTypeDescription InformationRequired
TotalCountintTotal number of entriesNo
CurCountintNumber of Items MigratedNo
TotalDurationintEstimated Total Consumption Time (in seconds)No
CurDurationintElapsed Time (in seconds)No
PercentagefloatProgress CompletionNo
RedisOffsetSizeintRedis OffsetNo
RedisDelayTimeintRedis Delay Time Unit is SecondsNo
MongoDelayTimeintMongo delay time, in secondsNo

Example

Request Example

https://api.surfercloud.com/?Action=ListUDTSTask
&Limit=3
&Offset=0
&ProjectId=org-hiny12
&Type=EqMkhIbB

Response Example

{
  "Action": "ListUDTSTaskResponse",
  "Data": [
    {
      "CreateTime": 1559630077,
      "CurRetryCount": 0,
      "MaxRetryCount": 0,
      "Name": "test-1",
      "Progress": {
        "CurCount": 0,
        "CurDuration": 0,
        "Percentage": 0,
        "TotalCount": 0,
        "TotalDuration": 0
      },
      "Status": "Created",
      "TaskId": "udts-zzcsnrkx",
      "Type": "full"
    },
    {
      "CreateTime": 1559285642,
      "CurRetryCount": 0,
      "MaxRetryCount": 0,
      "Name": "test-1",
      "Progress": {
        "CurCount": 0,
        "CurDuration": 0,
        "Percentage": 0,
        "TotalCount": 0,
        "TotalDuration": 0
      },
      "Status": "Created",
      "TaskId": "udts-kjl55fxr",
      "Type": "full"
    }
  ],
  "Message": "",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved