• Fetches and formats the gallery object with the given ID

    Parameters

    • id: number

      The gallery ID to fetch

    • OptionaluserHeaders: Headers

      Optional User provided headers for the request to make request more realistic

    Returns Promise<Gallery>

    • A promise that resolves to the gallery object