View Source ExPipedrive.Notes (ex_pipedrive v0.1.0)
API v1 shim for Pipedrive notes.
All functions in this module explicitly route to /api/v1/notes. Prefer the
get/2, create/2, and list/2 aliases for new code; add_note/2 and
list_notes/2 remain supported for compatibility. A v2 Notes resource can
replace this shim without changing callers that use those aliases.
Summary
Functions
Creates a note through POST /api/v1/notes.
Creates a note through POST /api/v1/notes.
Fetches a note by id through GET /api/v1/notes/:id.
Fetches a note by id through GET /api/v1/notes/:id.
Lists notes through GET /api/v1/notes.
Lists notes through GET /api/v1/notes.
Functions
Creates a note through POST /api/v1/notes.
Creates a note through POST /api/v1/notes.
Accepts a map (preferred) or %Note{} and returns {:ok, %Note{}}.
Fetches a note by id through GET /api/v1/notes/:id.
Fetches a note by id through GET /api/v1/notes/:id.
Lists notes through GET /api/v1/notes.
Supports the legacy v1 pagination and filtering options accepted by
list_notes/2.
Lists notes through GET /api/v1/notes.