@akamai/openapi-ts
    Preparing search index...

    Type Alias PostObjectStorageObjectUrlData

    type PostObjectStorageObjectUrlData = {
        body?: {
            content_type?: string | null;
            expires_in?: number | null;
            method: string;
            name: string;
        };
        path: { bucket: string; regionId: string };
        query?: never;
        url: "object-storage/buckets/{regionId}/{bucket}/object-url";
    }
    Index

    Properties

    Properties

    body?: {
        content_type?: string | null;
        expires_in?: number | null;
        method: string;
        name: string;
    }

    Information about the request to sign.

    Type Declaration

    • Optionalcontent_type?: string | null

      The expected Content-type header of the request this signed URL will be valid for. If provided, the Content-type header must be sent with the request when this URL is used, and must be the same as it was when the signed URL was created. Required for all methods except GET or DELETE.

    • Optionalexpires_in?: number | null

      How long this signed URL will be valid for, in seconds. If omitted, the URL will be valid for 3600 seconds (1 hour).

    • method: string

      The HTTP method allowed to be used with the pre-signed URL.

    • name: string

      The name of the object that will be accessed with the pre-signed URL. This object need not exist, and no error will be returned if it doesn't. This behavior is useful for generating pre-signed URLs to upload new objects to by setting the method to PUT.

    path: { bucket: string; regionId: string }

    Type Declaration

    • bucket: string

      The bucket name.

    • regionId: string

      Identifies a region where this bucket lives.

      📘

      You can use a clusterId in place of regionId in requests for buckets that you created using the legacy version of the API. Run List clusters to see each cluster id.

    query?: never
    url: "object-storage/buckets/{regionId}/{bucket}/object-url"