Type Alias JSONGallery

JSONGallery: {
    artists: { artist: string; url: string }[] | null;
    blocked: number;
    characters: { character: string; url: string }[] | null;
    date: string;
    datepublished: string | null;
    files: {
        hasavif: number;
        hash: string;
        hasjxl: number;
        haswebp: number;
        height: number;
        name: string;
        single?: number;
        width: number;
    }[];
    galleryurl: string;
    groups: { group: string; url: string }[]
    | null;
    id: number | string;
    japanese_title: string | null;
    language: string | null;
    language_localname: string | null;
    language_url: string | null;
    languages: {
        galleryid: number;
        language_localname: string;
        name: string;
        url: string;
    }[];
    parodys: { parody: string; url: string }[]
    | null;
    related: number[];
    scene_indexes: number[];
    tags: {
        female?: string | number;
        male?: string | number;
        tag: string;
        url: string;
    }[];
    title: string;
    type: string;
    video: string
    | null;
    videofilename: string | null;
}

Type representing the values of the Response from /galleries endpoint.

Type declaration

  • artists: { artist: string; url: string }[] | null
  • blocked: number
  • characters: { character: string; url: string }[] | null
  • date: string
  • datepublished: string | null
  • files: {
        hasavif: number;
        hash: string;
        hasjxl: number;
        haswebp: number;
        height: number;
        name: string;
        single?: number;
        width: number;
    }[]
  • galleryurl: string
  • groups: { group: string; url: string }[] | null
  • id: number | string
  • japanese_title: string | null
  • language: string | null
  • language_localname: string | null
  • language_url: string | null
  • languages: { galleryid: number; language_localname: string; name: string; url: string }[]
  • parodys: { parody: string; url: string }[] | null
  • related: number[]
  • scene_indexes: number[]
  • tags: { female?: string | number; male?: string | number; tag: string; url: string }[]
  • title: string
  • type: string
  • video: string | null
  • videofilename: string | null