@cpod/sdk - v0.2.7
    Preparing search index...

    Interface SearchFilesRequest

    Search files request Note: page, limit, folder_id go as query params; body contains either:

    • filter_objects (array of filters) for advanced filtering, OR
    • query is converted to a name filter for backwards compatibility
    interface SearchFilesRequest {
        query?: string;
        folder_id?: string;
        file_type?: string;
        page?: number;
        limit?: number;
        filter_objects?: { field?: string; operator?: string; value?: any }[];
    }
    Index

    Properties

    query?: string

    Simple text search (converted to filter: field=name, operator=contains)

    folder_id?: string

    Folder ID to filter within

    file_type?: string

    File type filter

    page?: number

    Page number

    limit?: number

    Items per page

    filter_objects?: { field?: string; operator?: string; value?: any }[]

    Advanced: custom filter objects for body (overrides query if both provided)