Shopee SDK API Reference - v1.11.0
    Preparing search index...

    Interface GetMediaVideoUploadResultResponse

    Response for v2.media.get_video_upload_result

    interface GetMediaVideoUploadResultResponse {
        error: string;
        message: string;
        request_id: string;
        response: {
            reason?: string;
            status: string;
            update_time?: number;
            video_info?: MediaVideoUploadResultVideoInfo;
        };
        warning?: string
        | string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    error: string

    Error code if any error occurred

    message: string

    Error message if any error occurred

    request_id: string

    The identifier for an API request for error tracking

    response: {
        reason?: string;
        status: string;
        update_time?: number;
        video_info?: MediaVideoUploadResultVideoInfo;
    }

    Type Declaration

    • Optionalreason?: string

      Detailed fail or cancel reason, will be returned if status is FAILED or CANCELLED

    • status: string

      Current status of the upload task: INITIATED, UPLOADING, UPLOADED, PROCESSING, SUCCEEDED, FAILED, CANCELLED

    • Optionalupdate_time?: number

      The time of video status updates

    • Optionalvideo_info?: MediaVideoUploadResultVideoInfo

      Transcoded video info, will be returned if status is SUCCEEDED

    warning?: string | string[]

    Warning message or list of warning messages