As you can see, you actually get back a page of results. The above example shows a search that would find only 2
matching genetic resources. In reality, most searches will find much more matching resources than that, and you might thus want to navigate to a different page.
Suppose the previous search gets back a page where `totalPages` is 254.
You can request any page between 0 and 253 included by passing the page number as an additional request parameter.
If you omit the page parameter, the requested page is 0.
"Syrah is a Vitis vinifera subsp vinifera cv. Syrah accession (number: 150Mtp0, doi:10.15454/1.4921785297227607E12) maintained by the GRAPEVINE (managed by INRA) and held by INRA. It is a maintained/maintenu accession of biological status traditional cultivar/cultivar traditionnel. This accession has phenotyping data: Doligez_et_al_2013 - Study of the genetic determinism of berry weight and seed traits in a grapevine progeny.")
"Grecanico dorato is a Vitis vinifera subsp vinifera cv. Garganega accession (number: 1310Mtp1, doi:10.15454/1.492178535151698E12) maintained by the GRAPEVINE (managed by INRA) and held by INRA. It is a maintained/maintenu accession of biological status traditional cultivar/cultivar traditionnel")
fieldWithPath("number").description("The number of the page, starting at 0"),
fieldWithPath("size").description("The size of the page"),
fieldWithPath("totalElements").description("The total number of genetic resources found"),
fieldWithPath("maxResults").description("The limit in terms of number of genetic resources that you can navigate to. For example, if the page size is 20, and the total number of elements is 11000, you won't be able to navigate to the last 1000 elements"),
fieldWithPath("totalPages").description("The total number of pages of genetic resources that you can navigate to"),
fieldWithPath("content").description("The array of genetic resources contained in the requested page"),
subsectionWithPath("content[]").ignored(),
fieldWithPath("aggregations").description("see the following section about aggregations"))));
fieldWithPath("aggregations").description("The array of computed aggregations"),
fieldWithPath("aggregations[].name").description("The name of the aggregation, used as a request parameter to apply a filter for this aggregation (see later)"),
.description("The type of the aggregation, used to decide if it should be displayed using checkboxes or using a typeahead input field"),
fieldWithPath("aggregations[].buckets").description("The buckets for this aggregation. A bucket exists for each distinct value of the property"),
fieldWithPath("aggregations[].buckets[].key").description("One of the distinct values of the property"),
fieldWithPath("aggregations[].buckets[].documentCount").description("The number of documents matched by the full-text search which fall into the bucket, i.e. have this distinct value for the property"))));
parameterWithName(RareAggregation.DOMAIN.getName()).description("The accepted values for the "+RareAggregation.DOMAIN.getName()+" aggregation's corresponding property (`domain`)"),
parameterWithName(RareAggregation.COUNTRY_OF_ORIGIN.getName()).description("The accepted values for the "+RareAggregation.COUNTRY_OF_ORIGIN.getName()+" aggregation's corresponding property (`countryOfOrigin`)"))));