rozod
    Preparing search index...

    Variable patchAssetsAssetIdConst Param

    patchAssetsAssetId: EndpointGeneric<
        { assetId: string; updateMask?: string },
        {
            done: boolean;
            error: { code: number; message: string };
            path: string;
            response: {
                assetId: number;
                assetType: string;
                creationContext: {
                    assetPrivacy: "default" | "restricted" | "openUse";
                    creator: { groupId: number; userId: number };
                    expectedPrice: number;
                };
                description: string;
                displayName: string;
                icon: string;
                moderationResult: { moderationState: string };
                path: string;
                previews: { altText: string; asset: string }[];
                revisionCreateTime: string;
                revisionId: string;
                socialLink: { title: string; uri: string };
                state: "Unspecified" | "Active" | "Archived";
            };
        },
        {
            fileContent: File;
            request: {
                assetId: number;
                assetType: string;
                creationContext: {
                    assetPrivacy: "default"
                    | "restricted"
                    | "openUse";
                    creator: { groupId: number; userId: number };
                    expectedPrice: number;
                };
                description: string;
                displayName: string;
                icon: string;
                moderationResult: { moderationState: string };
                path: string;
                previews: { altText: string; asset: string }[];
                revisionCreateTime: string;
                revisionId: string;
                socialLink: { title: string; uri: string };
                state: "Unspecified" | "Active" | "Archived";
            };
        },
    > = ...

    Update Asset · BETA

    Updates an asset with provided content and metadata, including the description, display name, icon, social links, and previews. Currently can only update the content body for Models. Icons and Previews must be Image assets. Icons must have square dimensions.

    Provide the Asset, binary asset file path, and content type in the form data.

    Scopes: asset:read, asset:write

    body assetId The unique identifier of the asset. updateMask Asset metadata fields to update, including the description, display name, icon, and previews. Examples: description%2CdisplayName, previews%2CtwitchSocialLink.