<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Ramiro</p>
<p>Unfortunately, this is not yet fully documented.</p>
<p>To answer your questions, yes, 1 means current.</p>
<p>There appears to be a bug in some of the values for "peptide"
where null is returned even for proteins. Thank you for bringing
this to our attention and we will look into it.</p>
<p>possible_replacement returns a list of "successors" for the ID,
in other words a list of stable IDs up to the current stable ID
that have replaced a retired stable ID. For example, <a
href="http://rest.ensembl.org/archive/id/ENSG00000263255?content-type=text/plain">http://rest.ensembl.org/archive/id/ENSG00000263255?content-type=text/plain</a>
- ENSG00000263255 having been retired and superceeded by
ENSG00000256229</p>
<p>Best<br>
-Brandon<br>
</p>
<div class="moz-cite-prefix">On 30/07/2019 16:10, Ramiro Magno
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFHVhtAE1BNEHN05arC7PTbt=Wog8=uW+qfDMuLB5+hCwrqa0g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Devs,
<div><br>
</div>
<div>Is there documentation on the variables returned in JSON
responses?</div>
<div><br>
</div>
<div>For example:</div>
<div><br>
</div>
<div><a
href="http://rest.ensembl.org/documentation/info/archive_id_get"
moz-do-not-send="true">http://rest.ensembl.org/documentation/info/archive_id_get</a><br>
</div>
<div><br>
</div>
<div>Returns a JSON object of 9 variables:</div>
<div><br>
</div>
<div>- id</div>
<div>- latest</div>
<div>- type</div>
<div>- version</div>
<div>- release</div>
<div>- is_current</div>
<div>- assembly</div>
<div>- peptide</div>
<div>- possible_replacement</div>
<div><br>
</div>
<div>While some of them self-explanatory, others it is not
obvious to me what the exact meaning and what kind of values I
might encounter. For instance, "is_current", seems to be coded
as "1" or "0"? Where "1" means current? Not sure what
"peptide" means either, most examples I tried gives NULL; not
sure what "possible_replacement" means too.</div>
<div><br>
</div>
<div>Many thanks, RM</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Dev mailing list <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
</blockquote>
</body>
</html>