SpeciesFileGroup / taxonworks

Workbench for biodiversity informatics.
http://taxonworks.org
MIT License
87 stars 27 forks source link

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

Closed adrik29 closed 7 months ago

adrik29 commented 7 months 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 7 months 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 7 months ago

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

jlpereira commented 7 months ago

@adrik29 np :D

Have you been able to get the data?

adrik29 commented 7 months ago

@jlpereira -- Oh yeah. Thanks to you!