tencent cloud

Feedback

Querying File Decompression Result

Last updated: 2024-03-01 14:57:12

    Overview

    This document provides an overview of APIs and SDK code samples for querying the file decompression result.
    API
    Description
    Queries the file decompression result asynchronously.

    Async Request API

    Feature description

    This API is used to query the file decompression result asynchronously.

    Method prototype

    def ci_get_file_process_jobs(self, Bucket, JobIDs, **kwargs)

    Sample request

    def ci_get_file_process_jobs():
    response = client.ci_get_file_process_jobs(
    Bucket=bucket_name,
    JobIDs='fcb9a9f90e57611ed9************',
    )
    print(response)
    return response

    Parameter description

    Parameter
    Description
    Type
    Bucket
    Bucket of the object
    String
    JobIDs
    Job ID. To specify multiple job IDs, separate them with commas (,).
    String

    Response description

    {
    "Response": {
    "JobsDetail": {
    "Code": "Success",
    "Message": "",
    "JobId": "f93984788066911ed89ed352d4d9d2084",
    "State": "Submitted",
    "CreationTime": "2022-07-18T15:4:43 PM+0800",
    "EndTime": "-",
    "StartTime": "-",
    "QueueId": "p2911917386e148639319e13c285cc774",
    "Tag": "FileUncompress",
    "Input": {
    "BucketId": "test-1234567890",
    "Object": "input/test.zip",
    "Region": "ap-chongqing"
    },
    "Operation": {
    "FileUncompressConfig": {
    "Prefix": "output/",
    "PrefixReplaced": 1
    },
    "Output": {
    "Region": "ap-chongqing",
    "Bucket": "test-1234567890"
    },
    "UserData": "This is my data."
    }
    }
    }
    }
    
    Parameter
    Description
    Type
    Response
    Response details. For more information, see "Response" in Querying File Decompression Result.
    dict
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support