Modrinth API Types - v1.1.0
    Preparing search index...

    Type Alias APIProjectSearchResponse

    type APIProjectSearchResponse = {
        hits: Omit<APIProject, "id"> & { project_id: string };
        limit: NumberRange<1, 101>;
        offset: number;
        total_hits: number;
    }
    Index

    Properties

    hits: Omit<APIProject, "id"> & { project_id: string }

    The list of results.

    Type declaration

    • project_id: string

      The ID of the project, encoded as a base62 string.

    limit: NumberRange<1, 101>

    The number of results that were returned by the query.

    offset: number

    The number of results that were skipped by the query.

    total_hits: number

    The total number of results that match the query.