Trifolium.Species.report
You're seeing just the function
report
, go back to Trifolium.Species module for more information.
Link to this function
report(id, notes \\ "")
Specs
report(integer(), String.t()) :: Trifolium.API.response()
Report a problem with a specific Specie
. The second parameter is optional, as per Trefle docs,
but be aware that it doesn't make much sense to report a problem without informing it.
The notes
parameter is a String.t()
explaining the problem.
iex()> Trifolium.Species.report(id, "Should have synonim Trifolium")
If you want to test this endpoint, without bothering Trefle community, you can use the special notes parameter "TEST"
:
iex()> Trifolium.Species.report(id, "TEST")