Trifolium.Corrections (Trifolium v1.0.0)

Module to be used to interact with Trefle Corrections related endpoints.

Link to this section Summary

Functions

List every possible Corrections. This endpoint is NOT paginated, accordingly to Trefle API docs.

Find a specific Correction, identified by the id parameter.

Link to this section Functions

Specs

List every possible Corrections. This endpoint is NOT paginated, accordingly to Trefle API docs.

Specs

Find a specific Correction, identified by the id parameter.

Link to this function

report(id, body)

Specs

report(integer() | String.t(), %{
  notes: String.t() | nil,
  source_type: String.t() | nil,
  source_reference: String.t() | nil,
  correction: %{:scientific_name => String.t(), optional(any()) => any()}
}) :: Trifolium.API.response()