ePandda / ePandda-API

ePandda API
6 stars 2 forks source link

Possible new parameters for annotations endpoint #19

Open hollyel opened 7 years ago

hollyel commented 7 years ago

Possibly include parameters for quality_score and annotatedBy in the annotations endpoint.

Including quality_score so that a user can search for annotations giving high value quality_score, which would show matches between specimen records and publications with high probability of being valid.

With variation in types of annotations and in people adding annotations, having a parameter for annotatedBy would enable someone to find particular annotations added by a known, verified, user. EG someone adding suggestions on edits or updates to specimen records.

hollyel commented 7 years ago

Other possible use cases: With a combination of searches, or possibly composited endpoints, and improved search on institution and collections codes... search for all USNM (Smithsonian Natural History Museum) specimens that have an annotation for a matching publication with a high value quality_score. This search could help a collections unit identify publications for their specimens or with a second tool utilize the matches to compare data between the specimen record and the publication record to make suggestions for backfilling missing data points in the specimen record.

jlauters commented 7 years ago

I've added param for quality score ( filters greater than value entered ) I'll push when I'm able to access the API server again. Drexel is blocking outbound traffic to that port.

jlauters commented 7 years ago

quality_score parameter is live as of https://github.com/ePandda/ePandda-API/commit/cd87ffdc8ed0056077e5dea30a8e61c822fb1ff0