notes

Read a note

The full note. tail and since return a slice of a log instead of the whole body; byte_size is always the full size, so it is the next since.

get/notes/{id}

Request

  • Base URL: https://freshjots.com/api/v1
  • URL: https://freshjots.com/api/v1/notes/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Note id (integer) or hashid.

Query parameters

tailinteger

Only the N most recent lines (1 to 10000).

sinceinteger

The byte_size from your last read; returns only what was appended after it. A value above the current size returns the whole body (resync).

Response

The note, whole or sliced.

idinteger required
hashidstring required
filenamestring required
titlestring nullable
format'plain' | 'rich' required
folder_idinteger nullable
pinnedboolean
append_onlyboolean required
client_encryptedboolean required
append_deadline_hoursinteger nullable
alert_emailstring nullable
match_patternstring nullable
match_alerted_atstring date-time nullable
last_appended_atstring date-time nullable
alerted_atstring date-time nullable
webhook_urlstring nullable
webhook_format'generic' | 'slack' | 'discord' | 'google_chat' | 'mattermost' | 'rocket_chat'
webhook_failure_countinteger
webhook_disabled_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required
plain_bodystring required

The body, or the requested slice of it; for rich notes the plain-text projection.

byte_sizeinteger required

Full body size in bytes, even when sliced.

Changes

No recorded changes to this operation across all 1 revision of this API.