fetch_reviews_for_id


Description:

public GenericArray<unowned Review> fetch_reviews_for_id (string component_id, string? version, uint start, uint limit) throws Error

Fetch user reviews for the given software component ID from the reviews server.

The reviews are sorted by their score (most helpful first), so subsequent pages can be requested by increasing start in steps of limit. This call does blocking network I/O.

Parameters:

this

an ReviewsClient instance.

component_id

the ID of the software component to fetch reviews for.

version

the version of the component, or null if unknown.

start

index of the first review to fetch, for pagination.

limit

maximum amount of reviews to fetch, or 0 for the default limit.

Returns:

the fetched reviews, or null on error.