rozod
    Preparing search index...

    Variable getOpencloudAssetidAssetidConst Api Param Description

    getOpencloudAssetidAssetid: EndpointGeneric<
        {
            Accept?: string;
            "Accept-Encoding"?: string;
            accessContext?: string;
            AssetFormat?: string;
            assetId: number;
            AssetType?: string;
            clientInsert?: number;
            contentRepresentationPriorityList?: string;
            doNotFallbackToBaselineRepresentation?: boolean;
            expectedAssetType?: string;
            modulePlaceId?: number;
            "Roblox-AssetFormat"?: string;
            "Roblox-Place-Id"?: number;
            scriptinsert?: number;
            serverplaceid?: number;
            skipSigningScripts?: boolean;
        },
        {
            assetMetadatas: { metadataType: 1; value: string }[];
            assetTypeId: number;
            contentRepresentationSpecifier: {
                fidelity: string;
                format: string;
                majorVersion: string;
            };
            errors: {
                Code: number;
                CustomErrorCode: | 0
                | 1
                | 2
                | 3
                | 4
                | 5
                | 6
                | 7
                | 8
                | 9
                | 10
                | 11
                | 12
                | 13
                | 14
                | 15
                | 16
                | 17
                | 18
                | 19
                | 20
                | 21;
                Message: string;
            }[];
            isArchived: boolean;
            isRecordable: boolean;
            location: string;
            requestId: string;
        },
        undefined,
    > = ...

    GET https://assetdelivery.roblox.com/v1/openCloud/assetId/:assetId Retrieves an asset by its ID with OpenCloud auth. assetId The ID of the asset to retrieve. Accept-Encoding The Accept-Encoding header value specifying compression formats (e.g., "gzip, deflate"). Defaults to "gzip, deflate" if not provided. Roblox-Place-Id The Roblox-Place-Id header value identifying the place making the request. AssetType The AssetType header value specifying the expected asset type. Accept The Accept header value specifying the preferred response content type. AssetFormat The AssetFormat header value specifying the desired asset format. Overridden by robloxAssetFormat if both are provided. Roblox-AssetFormat The Roblox-AssetFormat header value specifying the preferred Roblox-specific asset format. Takes precedence over assetFormat. skipSigningScripts Whether to skip script signing for the returned asset. Used for script assets that don't require signing. clientInsert Set to 1 to indicate this is a client insert request. scriptinsert Set to 1 to indicate this is a script insert request. modulePlaceId The place ID of the module making the request. serverplaceid The server place ID making the request. expectedAssetType The expected asset type as a fallback when assetType header is not provided. doNotFallbackToBaselineRepresentation Whether to prevent fallback to baseline representation when specific content representations are not available. contentRepresentationPriorityList Base64URL-encoded JSON string specifying the priority list of desired content representations (format, version, fidelity). accessContext Returns an object containing a location property which is a temporary CDN URL for the asset content. All asset types are supported. You should request that URL with the Accept-Encoding: gzip header and decompress the result if the response is gzipped. If you are using cURL, the --compressed flag will automate these steps for you. This endpoint is expected to be called with API key authentication through apis.roblox.com/asset-delivery-api/v1/assetId/{assetId}. While you are able to make requests to this endpoint with Cookie authentication via assetdelivery.roblox.com/v1/openCloud/assetId/{assetId}, we highly discourage use this way. Expect unannounced removal of this second route in the future.