Typescript SDK Type Docs
    Preparing search index...

    Class ByProjectKeyByResourceTypeRequestBuilder

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    args: {
        baseUri?: string;
        executeRequest: executeRequest;
        pathArgs: { projectKey: string; resourceType: string };
    }

    Methods

    • The view_audit_log:{projectKey} scope is required, and depending on the resource type queried, their respective scopes must be granted.

      If the request exceeds the rate limit, a [TooManyRequests](ctp:history:type:TooManyRequestsError) error is returned.
      

      Parameters

      • OptionalmethodArgs: {
            headers?: { [key: string]: string | string[] };
            queryArgs?: {
                associateId?: string;
                businessUnit?: string;
                changes?: string | string[];
                clientId?: string;
                customerId?: string;
                "date.from"?: any;
                "date.to"?: any;
                excludePlatformInitiatedChanges?:
                    | PlatformInitiatedChange
                    | PlatformInitiatedChange[];
                expand?: boolean;
                limit?: number;
                offset?: number;
                resourceKey?: string;
                source?: Source;
                stores?: string
                | string[];
                type?: string;
                userId?: string;
                [key: string]: QueryParam;
            };
        }

      Returns ApiRequest<RecordPagedQueryResponse>