paleobiodb / data_service

The PBDB Data Service, API and table/system maintenance scripts
Artistic License 2.0
12 stars 0 forks source link

API call to return a list of time scales only returns one of the time scales #5

Open JustinGOSSES opened 8 years ago

JustinGOSSES commented 8 years ago

An API call described on this page (https://paleobiodb.org/data1.2/intervals_doc.html) is supposed to return a list of time scales, but it only returns a single time scale. Part of the page in question is also found inside this Github repo at https://github.com/paleobiodb/pbdb-new/blob/master/doc/1.2/intervals_doc.tt

This is the API call = https://paleobiodb.org/data1.2/scales/list.json

http://fossilworks.org/bridge.pl?a=searchScale is a website shows that there is more than one time scale used in pbdb. Therefore, I expect multiple time scales to return in the API call.

mmcclenn commented 8 years ago

That's because only a single time scale is entered in the database at this time. At some point, we may add more.

Michael McClennen

On Jul 10, 2016, at 12:36 AM, Justin Gosses notifications@github.com wrote:

An API call described on this page (https://paleobiodb.org/data1.2/intervals_doc.html) is supposed to return a list of time scales, but it only returns a single time scale. Part of the page in question is also found inside this Github repo at https://github.com/paleobiodb/pbdb-new/blob/master/doc/1.2/intervals_doc.tt

This is the API call = https://paleobiodb.org/data1.2/scales/list.json

http://fossilworks.org/bridge.pl?a=searchScale is a website shows that there is more than one time scale used in pbdb. Therefore, I expect multiple time scales to return in the API call.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.