SpeciesFileGroup / taxonworks

Workbench for biodiversity informatics.
http://taxonworks.org
Other
83 stars 25 forks source link

How to extract IMAGE Notes and Attribution from the API? #3920

Closed adrik29 closed 1 month ago

adrik29 commented 1 month ago

I couldn't find in the API documentation how I get Notes and Attribution for use with the images. A little help would be lovely.

jlpereira commented 1 month ago

Hello @adrik29

For notes the route is: /api/v1/notes You can use note_object_id and note_object_type parameters to filter by id and type

For attributions I think we don't have a public route, but you could get them from images using /api/v1/images?extend[]=attribution

adrik29 commented 1 month ago

José Luis, that's lovely. Will try it right away. Thanks for the attention!

jlpereira commented 1 month ago

@adrik29 np :D

Have you been able to get the data?

adrik29 commented 1 month ago

@jlpereira -- Oh yeah. Thanks to you!