<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Martin,
<div class=""><br class="">
</div>
<div class="">I am afraid there is no single request. We also stitch the species page together from lots of different requests. For some of them there is the danger that they get pretty large, hence most of them are pageable too.</div>
<div class="">For the parents it depends whether you need the exact list of all parents. Then you need that extra request. If you can live with just the major Linnean ranks then you can use the family/familyKey property of the NameUsage object directly.</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">Markus</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 20 Dec 2015, at 18:04, Martin Wendt <<a href="mailto:gbif@wwwendt.de" class="">gbif@wwwendt.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hello all,
<div class=""><br class="">
</div>
<div class="">I like to display an overview page for a distinct species like this:</div>
<div class=""><a href="http://www.gbif.org/species/4827561" class="">http://www.gbif.org/species/4827561</a></div>
<div class=""><br class="">
</div>
<div class="">Is there a common request that collects these information with one roundtrip, or do I have to issue the specialized calls separately</div>
<div class=""><a href="http://api.gbif.org/v1/species/4827561/" class="">http://api.gbif.org/v1/species/4827561/</a></div>
<div class=""><a href="http://api.gbif.org/v1/species/4827561/" class="">http://api.gbif.org/v1/species/4827561/</a>speciesProfiles</div>
<div class=""><a href="http://api.gbif.org/v1/species/4827561/synonyms" class="">http://api.gbif.org/v1/species/4827561/synonyms</a></div>
<div class="">…</div>
<div class=""><br class="">
</div>
<div class="">A similar question arises, if i want to construct a breadcrumb for a given key, so I need the parent list *and* the target item.</div>
<div class="">Is there a shortcut or are these two calls required (like i do now):</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><a href="http://api.gbif.org/v1/species/4827561/parents" class="">http://api.gbif.org/v1/species/4827561/parents</a></div>
</div>
<div class="">
<div class=""><a href="http://api.gbif.org/v1/species/4827561/" class="">http://api.gbif.org/v1/species/4827561/</a></div>
</div>
<div class=""><br class="">
</div>
<div class="">I just want to make sure that I don’t generate more requests than necessary.</div>
<div class="">So if there are any policies like max. request rate, or a recommended additional request header to identify the user agent, please let me know.</div>
<div class=""><br class="">
</div>
<div class="">Thanks</div>
<div class="">Martin</div>
<div class=""><br class="">
</div>
</div>
_______________________________________________<br class="">
API-users mailing list<br class="">
<a href="mailto:API-users@lists.gbif.org" class="">API-users@lists.gbif.org</a><br class="">
http://lists.gbif.org/mailman/listinfo/api-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>