pl-api
    Preparing search index...

    Interface UpdateMediaParams

    interface UpdateMediaParams {
        description?: string;
        focus?: string;
        thumbnail?: File;
    }
    Index

    Properties

    description?: string

    String. A plain-text description of the media, for accessibility purposes.

    focus?: string

    String. Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0. See Focal points for cropping media thumbnails for more information.

    thumbnail?: File

    Object. The custom thumbnail of the media to be attached, encoded using multipart form data.