- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists reference images.
Possible errors:
- Returns NOT_FOUND if the parent product does not exist.
- Returns INVALID_ARGUMENT if the pageSize is greater than 100, or less than 1.
HTTP request
GET https://vision.googleapis.com/v1/{parent=projects/*/locations/*/products/*}/referenceImages
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Resource name of the product containing the reference images. Format is |
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of items to return. Default 10, maximum 100. |
pageToken |
A token identifying a page of results to be returned. This is the value of Defaults to the first page if not specified. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for the referenceImages.list method.
| JSON representation |
|---|
{
"referenceImages": [
{
object ( |
| Fields | |
|---|---|
referenceImages[] |
The list of reference images. |
pageSize |
The maximum number of items to return. Default 10, maximum 100. |
nextPageToken |
The nextPageToken returned from a previous List request, if any. |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-vision
For more information, see the Authentication Overview.