Closed hohonuuli closed 1 year ago
Easy to implement badges:
Early Adopter
- What is the date we want to use for this?Image Contributer
- User who has submitted an image set to FathomNetAnnotation
- User who has created/edited an annotation in the databaseVerifier
- Users who has verified imagesPosted on FathomNet's slack:
FathomNet API 1.4.2 has been released. Changes in this release are to support badges by user UUID. Docs are here. An example URL is https://fathomnet.org/api/users/badges/9dba65e1-5974-46df-9276-98c461beba9f and it returns something like:
[
{
"name": "Early Adopter",
"data": {
"since": "2021-03-02T00:27:54.425Z"
}
},
{
"name": "Annotator",
"data": {
"observationCount": 4
}
},
{
"name": "Verifier",
"data": {
"verificationCount": 4
}
},
{
"name": "Image Contributor",
"data": {
"imageCount": 75953
}
}
]
Erin, I’m returning the absolute minimum data here. If you want other values included (like User name, uuid, etc), just let me know what you need. I’m also happy to standardize the output a bit, so instead of imageCount, verificationCount, etc, I can just return count.
From @ermbutler: All badges need a timestamp so that they can be presented in the activity feed.
I think @ermbutler changed this to done. Closing issue.
Earn points toward a badge: earn expertise level in specific animal groups (e.g., level 6 in cephalopods but level 2 in geology)